Interface WrappingRenderer<A extends Action>

  • All Superinterfaces:
    Renderer<A>
    All Known Implementing Classes:
    PrefixSuffixRenderer

    public interface WrappingRenderer<A extends Action>
    extends Renderer<A>
    An extension to the regular renderer interface intended for renderers that wants to wrap an existing renderer to give the result their own touch.
    Version:
    2.12
    Author:
    nicklas
    Last modified
    $Date: 2009-04-01 13:38:59 +0200 (on, 01 apr 2009) $
    • Method Detail

      • setParent

        void setParent​(Renderer<? super A> parent)
        Set a parent renderer. Some implementations may have restrictions on this method. For example, they may not allow a parent renderer to be set after the object has been constructed, or they may not allow the parent to be set to null, etc.
        Parameters:
        parent - The parent renderer that should be wrapped by this renderer
        Throws:
        UnsupportedOperationException - If the implementation doesn't support this method
      • getParent

        Renderer<? super A> getParent()
        Get the current parent renderer.
        Returns:
        A renderer or null if there is no parent