Package hec.gfx2d
Class G2dLogarithmicLine
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.gfx2d.G2dLine
hec.gfx2d.G2dLogarithmicLine
- All Implemented Interfaces:
AsciiSerializable,FieldAccessor,ActionListener,Serializable,Cloneable,Comparable,EventListener,Observer,Modifiable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classclassThis class has the same behavior thanG2dPolygon, except that the figure is not closed. -
Field Summary
Fields inherited from class hec.gfx2d.G2dLine
_clipToBounds, _nameMenuItem, _popupMenu, _propertiesFields inherited from class hec.lang.NamedType
_description, _ignoreModifiedEvents, _index, _isValid, _modified, _name, defaultDescription, defaultName, DESCRIPTION_CHANGED, NAME_CHANGED, RENAME_EVENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLineData(double[] xarray, double[] yarray, int numPts) Adds a adds line data to the last line segment in the listvoidThis method draws a line to the specified graphics context.voidsetLineData(double[] xarray, double[] yarray, int numPts) This sets the data that the line uses to draw to the screen.Methods inherited from class hec.gfx2d.G2dLine
actionPerformed, addCallout, addLineSegment, areSymbolsAutoInterval, areSymbolsDrawn, areSymbolsVisible, buildPropertiesPanel, clearCallouts, clearLineData, clone, contains, copyCurveProperties, createPopupMenu, drawCallouts, editLineProperties, editLineProperties, finalize, getAutoSkipSymbols, getFieldObject, getFillColor, getFillColorString, getFillPattern, getFillPatternString, getFillType, getFillTypeString, getFirstSymbolOffset, getLabel, getLabelAlignment, getLabelAlignmentString, getLabelColor, getLabelColorString, getLabelFont, getLabelFontString, getLabelPosition, getLabelPositionString, getLineColor, getLineColorString, getLineLabel, getLineSegmentAt, getLineStepStyle, getLineStepStyleString, getLineStyle, getLineStyleString, getLineWidth, getNearestDataPt, getNearestDataPt, getNearestDataPt, getNearestDataPt, getNearestLocation, getNumLineSegments, getNumPoints, getOKListeners, getProperties, getScale, getStepInterval, getSymbolFillColor, getSymbolFillColorString, getSymbolInterval, getSymbolLineColor, getSymbolLineColorString, getSymbolOffset, getSymbolSize, getSymbolSkipCount, getSymbolSkipInterval, getSymbolType, getSymbolTypeString, isCalloutsVisible, isLabelVisible, isLineDrawn, isLineLabelVisible, isLineVisible, isVisible, scale, scale, setAutoSkipSymbolsOff, setAutoSkipSymbolsOn, setCalloutsVisible, setClipLineToBounds, setDrawLineOff, setDrawLineOn, setDrawSymbolsOff, setDrawSymbolsOn, setFieldObject, setFillColor, setFillColor, setFillPattern, setFillType, setFirstSymbolOffset, setGlyph, setLabel, setLabelAlignment, setLabelAlignment, setLabelColor, setLabelColor, setLabelFont, setLabelFont, setLabelPosition, setLabelPosition, setLabelVisible, setLineColor, setLineColor, setLineLabel, setLineLabelVisible, setLineStepStyle, setLineStyle, setLineVisible, setLineWidth, setPeriodStepStyle, setProperties, setScale, setSelectedPoints, setStepInterval, setSymbolFillColor, setSymbolInterval, setSymbolLineColor, setSymbolOffset, setSymbolsAutoInterval, setSymbolSize, setSymbolSkipCount, setSymbolsSkipInterval, setSymbolsVisible, setSymbolType, setSymbolType, setVisible, showPopup, toLocalGeometry, toString, toWorldGeometryMethods inherited from class hec.lang.NamedType
addModifiableListener, compareTo, fireModifiedStateChanged, getDescription, getDisplayName, getIgnoreModifiedEvents, getIndex, getName, isModified, isValid, readResolve, removeModifiableListener, rename, set, setDescription, setIgnoreModifiedEvents, setIndex, setModified, setName, setValid, update, useRecursiveModifiedTestMethods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
Constructor Details
-
G2dLogarithmicLine
public G2dLogarithmicLine()
-
-
Method Details
-
drawLine
Description copied from class:G2dLineThis method draws a line to the specified graphics context. The line is clipped so it fits within the clipping rectangle -
addLineData
public void addLineData(double[] xarray, double[] yarray, int numPts) Description copied from class:G2dLineAdds a adds line data to the last line segment in the list- Overrides:
addLineDatain classG2dLine- Parameters:
xarray- The feature to be added to the LineData attributeyarray- The feature to be added to the LineData attributenumPts- The feature to be added to the LineData attribute
-
setLineData
public void setLineData(double[] xarray, double[] yarray, int numPts) Description copied from class:G2dLineThis sets the data that the line uses to draw to the screen. This deletes any previous line data- Overrides:
setLineDatain classG2dLine- Parameters:
xarray- - the set of x data points in World Coordinatesyarray- - the set of y data points in World CoordinatesnumPts- The new LineData value
-