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 by tool
    <E extends T>
    boolean
    setCurrentTool​(E tool)  
    <E extends T>
    boolean
    setDefaultTool​(E tool)  
  • Method Details

    • setCurrentTool

      <E extends T> boolean setCurrentTool​(E tool)
    • setDefaultTool

      <E extends T> boolean setDefaultTool​(E tool)
    • getCurrentTool

      T getCurrentTool()
    • isToolable

      boolean isToolable​(Tool tool)
      Tests whether this object is toolable by tool
      Parameters:
      tool -
      Returns: