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.
        owner - the paintlet that uses this detector
    • Method Detail

      • setWidth

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

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