Class AbstractSelectionRectangleBasedLeftClickProcessor

    • Field Detail

      • m_Prefix

        protected String m_Prefix
        the prefix for the objects.
      • m_NumDigits

        protected int m_NumDigits
        the number of digits to use for left-padding the index.
    • Constructor Detail

      • AbstractSelectionRectangleBasedLeftClickProcessor

        public AbstractSelectionRectangleBasedLeftClickProcessor()
    • Method Detail

      • getDefaultPrefix

        protected String getDefaultPrefix()
        Returns the default prefix to use for the objects.
        Returns:
        the default
      • setPrefix

        public void setPrefix​(String value)
        Sets the prefix to use for the objects.
        Specified by:
        setPrefix in interface ObjectPrefixHandler
        Parameters:
        value - the prefix
      • prefixTipText

        public String prefixTipText()
        Returns the tip text for this property.
        Specified by:
        prefixTipText in interface ObjectPrefixHandler
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • getDefaultNumDigits

        protected int getDefaultNumDigits()
        Returns the default number of digits to use.
        Returns:
        the default
      • setNumDigits

        public void setNumDigits​(int value)
        Sets the number of digits to use for the left-padded index.
        Parameters:
        value - the number of digits
      • getNumDigits

        public int getNumDigits()
        Returns the number of digits to use for the left-padded index.
        Returns:
        the number of digits
      • numDigitsTipText

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

        protected int findLastIndex​(Report report)
        Determines the last index used with the given prefix.
      • getLocations

        protected List<SelectionRectangle> getLocations​(Report report)
        Returns all currently stored locations.
        Parameters:
        report - the report to get the locations from
        Returns:
        the locations