Package com.luciad.format.vpf
Class TLcdVPFPointListPainter
java.lang.Object
com.luciad.view.gxy.ALcdGXYPainter
com.luciad.view.gxy.painter.ALcdGXYAreaPainter
com.luciad.view.gxy.painter.TLcdGXYPointListPainter
com.luciad.format.vpf.TLcdVPFPointListPainter
- All Implemented Interfaces:
ILcdCloneable
,ILcdPropertyChangeSource
,ILcdGXYEditor
,ILcdGXYEditorProvider
,ILcdGXYPainter
,ILcdGXYPainterProvider
,ILcdGXYPathPainter
,Serializable
,Cloneable
Extends
TLcdGXYPointListPainter
and adds functionality for painting VPF domain objects
using GeoSym symbology.
It can paint all ILcdPolyline
objects implementing ILcdVPFFACCFeature
using GeoSym. All
other polyline objects will be painted using a default style.- See Also:
-
Field Summary
Fields inherited from class com.luciad.view.gxy.painter.TLcdGXYPointListPainter
AREA, COORDINATES_AVERAGE, END_OF_CURVE, FILLED, FIRST_POSSIBLE_POINT, FOCUS_POINT, INSIDE_POLYGON, MEDIAN_POINT, MIDDLE_OF_BOUNDS, MIDDLE_OF_CURVE, OUTLINE_AREA, OUTLINED_FILLED, POINT, POLYGON, POLYLINE, START_OF_CURVE
Fields inherited from class com.luciad.view.gxy.painter.ALcdGXYAreaPainter
OUTLINED
Fields inherited from class com.luciad.view.gxy.ALcdGXYPainter
defaultCreationFillStyle, defaultCreationLineStyle, defaultFillStyle, defaultLineStyle, fWorkBounds
Fields inherited from interface com.luciad.view.gxy.ILcdGXYEditor
CREATING, END_CREATION, RESHAPED, START_CREATION, TRANSLATED
Fields inherited from interface com.luciad.view.gxy.ILcdGXYPainter
BODY, CREATING, DEFAULT, HANDLES, RESHAPING, SELECTED, SNAPS, TRANSLATING
-
Constructor Summary
ConstructorDescriptionTLcdVPFPointListPainter
(TLcdVPFGeoSymProvider aGeoSymProvider) Constructs a newTLcdVPFPointListPainter
, initialized with the given GeoSym provider.TLcdVPFPointListPainter
(String aGeoSymProductId) Constructs a newTLcdVPFPointListPainter
for the given GeoSym product id. -
Method Summary
Methods inherited from class com.luciad.view.gxy.painter.TLcdGXYPointListPainter
acceptSnapTarget, anchorPointSFCT, append2DPoint, appendAWTPath, appendGeneralPath, boundsSFCT, clone, edit, getAnchorPointLocation, getCreationClickCount, getCursor, getFillSelection, getGXYEditor, getMinimumEditDelta, getMode, getModeName, getObject, getPaintCache, getSnapIcon, getTouchedPoint, getTouchedSegment, getTouchedSegment, getWindingRule, insert2DPoint, insidePolygon, isMoveOnlyOnEdit, isTouched, isTraceOn, linkToSnapTarget, move2DPoint, paint, removePointAt, retrieveMinimalPointcount, retrievePointList, setAnchorPointLocation, setFillSelection, setMinimumEditDelta, setMode, setModelModelTransformationClass, setMoveOnlyOnEdit, setPaintCache, setSnapIcon, setTraceOn, setupGraphicsForFill, setupGraphicsForLine, setupGraphicsForPoint, setWindingRule, snapTarget, supportSnap, translate2D, translate2DPoint
Methods inherited from class com.luciad.view.gxy.painter.ALcdGXYAreaPainter
getEditMode, getFillStyle, getLineStyle, getSelectionMode, setEditMode, setFillStyle, setLineStyle, setSelectionMode
Methods inherited from class com.luciad.view.gxy.ALcdGXYPainter
addPropertyChangeListener, firePropertyChangeEvent, firePropertyChangeEvent, getDisplayName, getGXYPainter, removePropertyChangeListener, setClassTraceOn, setDisplayName
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.luciad.view.gxy.ILcdGXYEditor
getDisplayName
Methods inherited from interface com.luciad.view.gxy.ILcdGXYPainter
getDisplayName
Methods inherited from interface com.luciad.util.ILcdPropertyChangeSource
addPropertyChangeListener, removePropertyChangeListener
-
Constructor Details
-
TLcdVPFPointListPainter
Constructs a newTLcdVPFPointListPainter
, initialized with the given GeoSym provider. The GeoSym provider is used to retrieve line styles from.- Parameters:
aGeoSymProvider
- the GeoSym provider to be used for retrieving line styles.
-
TLcdVPFPointListPainter
Constructs a newTLcdVPFPointListPainter
for the given GeoSym product id. The correspondingTLcdVPFGeoSymProvider
will be created and initialized automatically.- Parameters:
aGeoSymProductId
- the GeoSym product id for which to create this painter.
-
-
Method Details
-
setObject
Description copied from class:TLcdGXYPointListPainter
Sets the object to paint or edit. This painter needs anILcdPointList
for painting and (optionally) anILcd2DEditablePointList
for editing. You can change how theILcdPointList
is derived from the object by overridingTLcdGXYPointListPainter.retrievePointList(java.lang.Object)
.- Specified by:
setObject
in interfaceILcdGXYEditor
- Specified by:
setObject
in interfaceILcdGXYPainter
- Overrides:
setObject
in classTLcdGXYPointListPainter
- Parameters:
aObject
- The object to paint and edit.- See Also:
-