Package org.gephi.tools.spi
Interface ToolUI
-
public interface ToolUITool's user interface attributes: name, description, icon and a properties bar.- Author:
- Mathieu Bastian
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescription()Returns the tool's description.IcongetIcon()Returns the tool icon, for the toobar.StringgetName()Returns the tool's name.intgetPosition()Returns the tool's relative position.JPanelgetPropertiesBar(Tool tool)Returns the tools properties bar.
-
-
-
Method Detail
-
getPropertiesBar
JPanel getPropertiesBar(Tool tool)
Returns the tools properties bar.The properties bar is used for tools settings.
- Parameters:
tool- the tool instance- Returns:
- a
JPanelfor the the tool's properties bar
-
getIcon
Icon getIcon()
Returns the tool icon, for the toobar.- Returns:
- tool's icon
-
getName
String getName()
Returns the tool's name.- Returns:
- tool's name
-
getDescription
String getDescription()
Returns the tool's description.- Returns:
- tool's description
-
getPosition
int getPosition()
Returns the tool's relative position.Smaller is the position, higher is the position in the toolbar.
- Returns:
- A number between 0 and 200
-
-