Interface UIComponent<C>

    • Method Detail

      • getComponent

        C getComponent()
        Gets the user interface component housing this object.
      • getComponentType

        Class<C> getComponentType()
        Gets the type of the UI component housing the object.

        This method is useful in case getComponent() returns null in some circumstances. In this way, it is still possible to query the type of the UI component without forcing the conditions that instantiate it.