Class BoxBandTool

    • Constructor Detail

      • BoxBandTool

        public BoxBandTool()
      • BoxBandTool

        public BoxBandTool​(Cursor cursor)
    • Method Detail

      • getShape

        protected Shape getShape()
        Description copied from class: IndicatorTool
        Gets the shape for displaying the current state of the action. Subclasses should override.
        Overrides:
        getShape in class IndicatorTool
        Returns:
        null if nothing should be drawn
      • isRightButton

        protected boolean isRightButton()
      • isControlKeyDown

        protected boolean isControlKeyDown()
      • getEnvelope

        protected Envelope getEnvelope()
        Gets the envelope of the indicated rectangle, in model coordinates.
        Returns:
      • getCoordinatesOfEnvelope

        protected List getCoordinatesOfEnvelope()
        Getes the coordinates for the rectangle starting with the lower left point. The coordinates are oriented CW.
        Returns:
        the coordinates for the rectangle
      • getCoordinates

        protected List getCoordinates()
        Gets the coordinates for the rectangle starting at the first point clicked. The coordinates are oriented CW.
        Returns:
        the coordinates for the rectangle
      • gestureFinished

        protected void gestureFinished()