Package hec.gfx2d
Class DefaultG2dGlyph
java.lang.Object
hec.gfx2d.G2dGlyph
hec.gfx2d.DefaultG2dGlyph
- All Implemented Interfaces:
Serializable
,Observer
- Direct Known Subclasses:
MarkerlineGlyph
Title: CWMS Development
Description:
Copyright: Copyright (c) 2001
Company: Resource Management Assoc.
- 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 TypeMethodDescriptionvoid
Returns a tool tip text for this glyph.boolean
isCurveDrawn
(int curveNumber) is a curve drawn or not.void
update
(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, setColor, setCurveDrawn, setFillColor, setLegendItemsVisible, setLineColor, setLineVisible, setProperties, setShowAllCurvesOnLegend, setVisible, showAllCurvesOnLegend, showPopup, toString
-
Constructor Details
-
DefaultG2dGlyph
-
-
Method Details
-
draw
-
getToolTipText
Returns a tool tip text for this glyph. Returns null if there is none- Overrides:
getToolTipText
in classG2dGlyph
-
update
-
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 classG2dGlyph
- Parameters:
curveNumber
-- Returns:
- true if the curve should be drawn.
-