Class BarValueGroup.BarValue

  • All Implemented Interfaces:
    java.io.Serializable, HTMLTestable
    Enclosing class:
    BarValueGroup

    protected class BarValueGroup.BarValue
    extends TextTag
    Helper class to handle a barValue - wraps TextTag Meant to be called only by BarValueGroup class.
    See Also:
    Serialized Form
    • Field Detail

      • barRect

        private java.awt.geom.Rectangle2D.Float barRect
      • startPosition

        private int startPosition
      • isNegative

        private boolean isNegative
      • text

        private java.lang.String text
    • Constructor Detail

      • BarValue

        public BarValue​(java.lang.String text,
                        java.awt.Font font,
                        java.awt.font.FontRenderContext fontRenderContext,
                        java.awt.geom.Rectangle2D.Float barRect,
                        int startPosition,
                        boolean isNegative)
    • Method Detail

      • getBarRect

        public java.awt.geom.Rectangle2D.Float getBarRect()
      • getStartPosition

        public int getStartPosition()
      • getIsNegative

        public boolean getIsNegative()
      • getText

        public java.lang.String getText()
        Overrides:
        getText in class TextTag