Package hec.gfx2d.dss
Class LocalDSSTimeSeriesCollectionGlyph
java.lang.Object
hec.gfx2d.G2dGlyph
hec.gfx2d.dss.LocalDSSTimeSeriesCollectionGlyph
- All Implemented Interfaces:
StatisticsGlyph
,Serializable
,Observer
- See Also:
-
Field Summary
Fields inherited from class hec.gfx2d.G2dGlyph
_bounds, _drawProp, _g2dObject, _line, _lineArray, _polygon, _scale, _viewport, maxPtArraySz, xarray, yarray
-
Constructor Summary
ConstructorsConstructorDescriptionLocalDSSTimeSeriesCollectionGlyph
(Viewport view, LocalDSSTimeSeriesCollection map, Scale scl) Instantiates a new simple dss time series collection glyph. -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
int
protected List<ActionListener>
Returns a tool tip text for this glyph.boolean
isCurveDrawn
(int curveNumber) is a curve drawn or not.void
setLineVisible
(boolean visible) void
setStatsDisplayed
(boolean displayed) Methods inherited from class hec.gfx2d.G2dGlyph
buildLineArray, clearSelection, createG2dLine, createPopupMenu, dataAtPoint, drawLegendPict, editLineProperties, editLineProperties, finalize, getBounds, getCurveName, getDeviceResolution, getG2dObject, getLegendPictSize, getLegendPictSize, getLine, getLine, getName, getProperties, getScale, getViewport, getVisibleRect, isLegendItemsVisible, isLineVisible, isVisible, mouseDragged, objectDoubleClick, objectPopupMenu, objectSelect, pointerOver, setColor, setCurveDrawn, setFillColor, setLegendItemsVisible, setLineColor, setProperties, setShowAllCurvesOnLegend, setVisible, showAllCurvesOnLegend, showPopup, toString, update
-
Constructor Details
-
LocalDSSTimeSeriesCollectionGlyph
public LocalDSSTimeSeriesCollectionGlyph(Viewport view, LocalDSSTimeSeriesCollection map, Scale scl) Instantiates a new simple dss time series collection glyph.- Parameters:
view
- the viewmap
- the mapscl
- the scl
-
-
Method Details
-
draw
-
getToolTipText
Returns a tool tip text for this glyph. Returns null if there is none- Overrides:
getToolTipText
in classG2dGlyph
- Parameters:
e
- the e- Returns:
- the tool tip text
-
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
- Returns:
- true if the curve should be drawn.
-
setLineVisible
public void setLineVisible(boolean visible) - Overrides:
setLineVisible
in classG2dGlyph
-
getOKListeners
- Overrides:
getOKListeners
in classG2dGlyph
-
areStatsDisplayed
public boolean areStatsDisplayed()- Specified by:
areStatsDisplayed
in interfaceStatisticsGlyph
-
setStatsDisplayed
public void setStatsDisplayed(boolean displayed) - Specified by:
setStatsDisplayed
in interfaceStatisticsGlyph
-
getCurveCount
public int getCurveCount()- Overrides:
getCurveCount
in classG2dGlyph
-