T
- transformer classpublic interface TransformerUI<T extends Transformer>
It is a one-to-one relationship as only a single transformer UI can be associated with a transformer.
Implementations of this class should be singleton services by adding the
@ServiceProvider
annotation:
@ServiceProvider(service = TransformerUI.class, position = 2000)The position parameter is optional but can be used to control the order in which the transformers appear in the user interface. The higher the last.
Modifier and Type | Method and Description |
---|---|
TransformerCategory |
getCategory()
Returns the transformer category.
|
AbstractButton[] |
getControlButton()
Returns the control buttons associated with this transformer.
|
String |
getDescription()
Returns the transformer's description.
|
String |
getDisplayName()
Returns the transformer's display name.
|
Icon |
getIcon()
Returns the transformer's icon.
|
JPanel |
getPanel(Function function)
Returns the transformer panel for the given function.
|
Class<? extends T> |
getTransformerClass()
Returns the transformer class this transformer UI is associated with.
|
TransformerCategory getCategory()
JPanel getPanel(Function function)
function
- functionString getDisplayName()
String getDescription()
Icon getIcon()
AbstractButton[] getControlButton()
Copyright © 2007–2017 Gephi Consortium. All rights reserved.