Package hec.gfx2d
Class TimeSeriesGlyph
java.lang.Object
hec.gfx2d.G2dGlyph
hec.gfx2d.TimeSeriesGlyph
- 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
ConstructorsConstructorDescriptionTimeSeriesGlyph
(Viewport view, TimeSeriesDataSetBase map, Scale scl) TimeSeriesGlyph
(Viewport view, TimeSeriesDataSet map, Scale scl) -
Method Summary
Modifier and TypeMethodDescriptionprotected G2dLine
createG2dLinevoid
void
drawLegendPict
(Graphics g, Dimension dim) This will override so we can use our line objectfind the point in the line at the MouseEvent location.Returns a tool tip text for this glyph.boolean
objectPopupMenu
(LocalPt pt, int modifiers) void
update
(Observable o, Object arg) Methods inherited from class hec.gfx2d.G2dGlyph
buildLineArray, clearSelection, createPopupMenu, dataAtPoint, drawLegendPict, editLineProperties, editLineProperties, finalize, getBounds, getCurveCount, getCurveName, getDeviceResolution, getG2dObject, getLegendPictSize, getLegendPictSize, getLine, getLine, getName, getOKListeners, getProperties, getScale, getViewport, getVisibleRect, isCurveDrawn, isLegendItemsVisible, isLineVisible, isVisible, mouseDragged, objectDoubleClick, objectSelect, pointerOver, setColor, setCurveDrawn, setFillColor, setLegendItemsVisible, setLineColor, setLineVisible, setProperties, setShowAllCurvesOnLegend, setVisible, showAllCurvesOnLegend, showPopup, toString
-
Constructor Details
-
TimeSeriesGlyph
-
TimeSeriesGlyph
-
-
Method Details
-
createG2dLine
createG2dLine- Overrides:
createG2dLine
in classG2dGlyph
- Returns:
- G2dLine
-
objectPopupMenu
- Overrides:
objectPopupMenu
in classG2dGlyph
-
draw
-
drawLegendPict
This will override so we can use our line object -
getToolTipText
Returns a tool tip text for this glyph. Returns null if there is none- Overrides:
getToolTipText
in classG2dGlyph
-
findPoint
find the point in the line at the MouseEvent location.- Parameters:
e
-- Returns:
- the WorldPoint at the location or null if there is no point at/near that location
-
update
-