public interface ToolController
This controller is a service and can therefore be found in Lookup:
ToolController tc = Lookup.getDefault().lookup(ToolController.class);
Modifier and Type | Method and 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)
Selects
tool as the active tool and therefore unselect the
current tool, if exists. |
void select(Tool tool)
tool
as the active tool and therefore unselect the
current tool, if exists.tool
- the tool that is to be selected or null to only unselect the
current toolJComponent getToolbar()
JComponent getPropertiesBar()
Copyright © 2007–2017 Gephi Consortium. All rights reserved.