Class CrossHairTracker

    • Field Detail

      • m_Color

        protected Color m_Color
        the color of the cross-hair.
      • m_TextCoordinates

        protected boolean m_TextCoordinates
        whether to draw the coordinates as well.
    • Constructor Detail

      • CrossHairTracker

        public CrossHairTracker()
    • Method Detail

      • setColor

        public void setColor​(Color value)
        Sets the color to use for the cross-hair.
        Parameters:
        value - the color
      • getColor

        public Color getColor()
        Returns the color in use for the cross-hair.
        Returns:
        the color
      • colorTipText

        public String colorTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setTextCoordinates

        public void setTextCoordinates​(boolean value)
        Sets whether to display the coordinates as text as well.
        Parameters:
        value - true if to display
      • getTextCoordinates

        public boolean getTextCoordinates()
        Returns whether to display the coordinates as text as well.
        Returns:
        true if to display
      • textCoordinatesTipText

        public String textCoordinatesTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • shallowCopyTracker

        public MouseMovementTracker shallowCopyTracker​(boolean expand)
        Returns a shallow copy of the tracker.
        Specified by:
        shallowCopyTracker in interface MouseMovementTracker
        Parameters:
        expand - whether to expand variables to their actual value
        Returns:
        a shallow copy of the tracker