Class Annotator

    • Constructor Detail

      • Annotator

        public Annotator()
    • Method Detail

      • globalInfo

        public String globalInfo()
        Returns a string describing the object.
        Returns:
        a description suitable for displaying in the gui
      • getName

        public String getName()
        The name of the tool.
        Returns:
        the name
      • getIcon

        public Icon getIcon()
        The icon of the tool.
        Returns:
        the icon
      • createCursor

        protected Cursor createCursor()
        Creates the mouse cursor to use.
        Specified by:
        createCursor in class AbstractTool
        Returns:
        the cursor
      • doApply

        protected void doApply()
        Applies the settings.
        Specified by:
        doApply in class AbstractTool
      • setAnnotator

        public void setAnnotator​(AbstractAnnotator value)
        Sets the annotator to use.
        Parameters:
        value - the annotator
      • getAnnotator

        public AbstractAnnotator getAnnotator()
        Returns the annotator in use.
        Returns:
        the annotator