Class RandomBoundingBox

    • Field Detail

      • m_Seed

        protected long m_Seed
        the seed value.
      • m_RangeWidth

        protected BaseInterval m_RangeWidth
        the range for the width.
      • m_RangeHeight

        protected BaseInterval m_RangeHeight
        the range for the height.
      • m_Random

        protected Random m_Random
        the random number generator to use.
    • Constructor Detail

      • RandomBoundingBox

        public RandomBoundingBox()
    • Method Detail

      • setSeed

        public void setSeed​(long value)
        Sets the seed value.
        Specified by:
        setSeed in interface Randomizable
        Parameters:
        value - the seed
      • getSeed

        public long getSeed()
        Returns the seed value.
        Specified by:
        getSeed in interface Randomizable
        Returns:
        the seed
      • seedTipText

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

        public void setRangeWidth​(BaseInterval value)
        Sets the pixel range for the bounding box width.
        Parameters:
        value - the range
      • getRangeWidth

        public BaseInterval getRangeWidth()
        Returns the pixel range for the bounding box width.
        Returns:
        the range
      • rangeWidthTipText

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

        public void setRangeHeight​(BaseInterval value)
        Sets the pixel range for the bounding box height.
        Parameters:
        value - the range
      • getRangeHeight

        public BaseInterval getRangeHeight()
        Returns the pixel range for the bounding box height.
        Returns:
        the range
      • rangeHeightTipText

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

        protected void doProcessClick​(ImagePanel panel,
                                      Point position,
                                      int modifiersEx)
        Process the click that occurred in the image panel.
        Specified by:
        doProcessClick in class AbstractLeftClickProcessor
        Parameters:
        panel - the origin
        position - the position of the click
        modifiersEx - the associated modifiers