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 TypeMethodDescriptionbooleanvoidintprotected List<ActionListener>Returns a tool tip text for this glyph.booleanisCurveDrawn(int curveNumber) is a curve drawn or not.voidsetLineVisible(boolean visible) voidsetStatsDisplayed(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:
getToolTipTextin classG2dGlyph- Parameters:
e- the e- Returns:
- the tool tip text
-
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- Returns:
- true if the curve should be drawn.
-
setLineVisible
public void setLineVisible(boolean visible) - Overrides:
setLineVisiblein classG2dGlyph
-
getOKListeners
- Overrides:
getOKListenersin classG2dGlyph
-
areStatsDisplayed
public boolean areStatsDisplayed()- Specified by:
areStatsDisplayedin interfaceStatisticsGlyph
-
setStatsDisplayed
public void setStatsDisplayed(boolean displayed) - Specified by:
setStatsDisplayedin interfaceStatisticsGlyph
-
getCurveCount
public int getCurveCount()- Overrides:
getCurveCountin classG2dGlyph
-