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 Detail

      • select

        void select​(Tool tool)
        Selects tool 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