C
- The type of UI component housing the object.public interface UIComponent<C>
Modifier and Type | Method and Description |
---|---|
C |
getComponent()
Gets the user interface component housing this object.
|
Class<C> |
getComponentType()
Gets the type of the UI component housing the object.
|
C getComponent()
Class<C> getComponentType()
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.
Copyright © 2015–2022 SciJava. All rights reserved.