Package hec.gfx2d
Class PairedDataGlyph
java.lang.Object
hec.gfx2d.G2dGlyph
hec.gfx2d.PairedDataGlyph
- All Implemented Interfaces:
Serializable,Observer
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class hec.gfx2d.G2dGlyph
G2dGlyph.PropertiesOKListener -
Field Summary
Fields inherited from class hec.gfx2d.G2dGlyph
_bounds, _drawProp, _g2dObject, _line, _lineArray, _polygon, _scale, _viewport, maxPtArraySz, xarray, yarray -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidReturns a tool tip text for this glyph.Returns null if there is nonebooleanisCurveDrawn(int curveNumber) is a curve drawn or not.voidvoidsetCurveDrawn(int curveNumber, boolean drawn) set a curve drawn or not.voidupdate(Observable o, Object arg) Methods inherited from class hec.gfx2d.G2dGlyph
buildLineArray, clearSelection, createG2dLine, createPopupMenu, dataAtPoint, drawLegendPict, editLineProperties, editLineProperties, finalize, getBounds, getCurveCount, getCurveName, getDeviceResolution, getG2dObject, getLegendPictSize, getLegendPictSize, getLine, getLine, getName, getOKListeners, getProperties, getScale, getViewport, getVisibleRect, isLegendItemsVisible, isLineVisible, isVisible, mouseDragged, objectDoubleClick, objectPopupMenu, objectSelect, pointerOver, setFillColor, setLegendItemsVisible, setLineColor, setLineVisible, setProperties, setShowAllCurvesOnLegend, setVisible, showAllCurvesOnLegend, showPopup, toString
-
Constructor Details
-
PairedDataGlyph
-
-
Method Details
-
setColor
-
draw
-
getToolTipText
Returns a tool tip text for this glyph.Returns null if there is none- Overrides:
getToolTipTextin classG2dGlyph- Parameters:
e-- Returns:
-
update
-
isCurveDrawn
public boolean isCurveDrawn(int curveNumber) Description copied from class:G2dGlyphis a curve drawn or not. Sub-classes need to implement this functionality- Overrides:
isCurveDrawnin classG2dGlyph- 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:
setCurveDrawnin classG2dGlyph- Parameters:
curveNumber-drawn-
-