Package org.gephi.tools.api
Interface ToolController
-
public interface ToolController
Controller for visualization toolbar.This controller is a service and can therefore be found in Lookup:
ToolController tc = Lookup.getDefault().lookup(ToolController.class);
- Author:
- Mathieu Bastian
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JComponent
getPropertiesBar()
Returns the properties bar component, that display tools settings.JComponent
getToolbar()
Returns the toolbar component, build from tools implementations.void
select(Tool tool)
Selectstool
as the active tool and therefore unselect the current tool, if exists.
-
-
-
Method Detail
-
select
void select(Tool tool)
Selectstool
as the active tool and therefore unselect the current tool, if exists.- Parameters:
tool
- the tool that is to be selected or null to only unselect the current tool
-
getToolbar
JComponent getToolbar()
Returns the toolbar component, build from tools implementations.- Returns:
- the toolbar component
-
getPropertiesBar
JComponent getPropertiesBar()
Returns the properties bar component, that display tools settings.- Returns:
- the properties bar component
-
-