Class BarHitDetector

    • Field Detail

      • m_Width

        protected int m_Width
        the width of the bar in pixel.
    • Constructor Detail

      • BarHitDetector

        public BarHitDetector()
        Initializes the hit detector (constructor only for GOE) with no owner.
      • BarHitDetector

        public BarHitDetector​(XYSequencePaintlet owner)
        Initializes the hit detector.
        Parameters:
        owner - the paintlet that uses this detector
    • Method Detail

      • setWidth

        public void setWidth​(int value)
        Sets the width of the bar.
        Parameters:
        value - width in pixel
      • getWidth

        public int getWidth()
        Returns the width of the bar.
        Returns:
        width in pixel