Interface Composite

    • Method Detail

      • getComponent

        Component getComponent()
        Returns the component that this Composite is wrapping
        Returns:
        Component the composite is wrapping
      • setComponent

        void setComponent​(Component component)
        Sets the component which is inside this Composite. If you call this method with null, it removes the component wrapped by this Composite.
        Parameters:
        component - Component to wrap