Package hec.gfx2d

Class PairedDataGlyph

java.lang.Object
hec.gfx2d.G2dGlyph
hec.gfx2d.PairedDataGlyph
All Implemented Interfaces:
Serializable, Observer

public class PairedDataGlyph extends G2dGlyph
See Also:
  • Constructor Details

  • Method Details

    • setColor

      public void setColor(Color c)
      Overrides:
      setColor in class G2dGlyph
    • draw

      public void draw(Graphics g)
      Specified by:
      draw in class G2dGlyph
    • getToolTipText

      public String getToolTipText(MouseEvent e)
      Returns a tool tip text for this glyph.Returns null if there is none
      Overrides:
      getToolTipText in class G2dGlyph
      Parameters:
      e -
      Returns:
    • update

      public void update(Observable o, Object arg)
      Specified by:
      update in interface Observer
      Overrides:
      update in class G2dGlyph
    • isCurveDrawn

      public boolean isCurveDrawn(int curveNumber)
      Description copied from class: G2dGlyph
      is a curve drawn or not. Sub-classes need to implement this functionality
      Overrides:
      isCurveDrawn in class G2dGlyph
      Parameters:
      curveNumber -
      Returns:
      true if the curve should be drawn.
    • setCurveDrawn

      public void setCurveDrawn(int curveNumber, boolean drawn)
      set a curve drawn or not.
      Overrides:
      setCurveDrawn in class G2dGlyph
      Parameters:
      curveNumber -
      drawn -