Package mgui.interfaces.tools
Interface Toolable<T extends Tool>
- Type Parameters:
T
-
- All Known Implementing Classes:
InterfaceConsoleDisplay
,InterfaceDataTable
,InterfaceDisplayPanel
,InterfaceGraphDisplay
,InterfaceGraphic
,InterfaceGraphic2D
,InterfaceGraphic3D
,InterfaceLayoutWindow
,InterfacePlotDisplay
,InterfaceTabbedDisplayPanel
public interface Toolable<T extends Tool>
Interface for objects which can be operated on by a specific class of tools.
- Author:
- AndrewR
-
Method Summary
Modifier and Type Method Description T
getCurrentTool()
boolean
isToolable(Tool tool)
Tests whether this object is toolable bytool
<E extends T>
booleansetCurrentTool(E tool)
<E extends T>
booleansetDefaultTool(E tool)
-
Method Details
-
setCurrentTool
-
setDefaultTool
-
getCurrentTool
T getCurrentTool() -
isToolable
Tests whether this object is toolable bytool
- Parameters:
tool
-- Returns:
-