Class IndicatorTool

    • Constructor Detail

      • IndicatorTool

        public IndicatorTool()
      • IndicatorTool

        public IndicatorTool​(Cursor cursor)
    • Method Detail

      • getShape

        protected Shape getShape()
        Gets the shape for displaying the current state of the action. Subclasses should override.
        Returns:
        null if nothing should be drawn
      • isIndicatorVisible

        public boolean isIndicatorVisible()
        Important for XOR drawing. Even if #getShape returns null, this method will return true between calls of #redrawShape and #clearShape.
      • clearIndicator

        protected void clearIndicator()
      • redrawIndicator

        protected void redrawIndicator()