Package org.gephi.tools.api
Interface ToolController
-
public interface ToolControllerController 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 JComponentgetPropertiesBar()Returns the properties bar component, that display tools settings.JComponentgetToolbar()Returns the toolbar component, build from tools implementations.voidselect(Tool tool)Selectstoolas the active tool and therefore unselect the current tool, if exists.
-
-
-
Method Detail
-
select
void select(Tool tool)
Selectstoolas 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
-
-