public class TLcdVPFPointListPainter extends TLcdGXYPointListPainter
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.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
OUTLINED
defaultCreationFillStyle, defaultCreationLineStyle, defaultFillStyle, defaultLineStyle, fWorkBounds
CREATING, END_CREATION, RESHAPED, START_CREATION, TRANSLATED
BODY, DEFAULT, HANDLES, RESHAPING, SELECTED, SNAPS, TRANSLATING
Constructor and Description |
---|
TLcdVPFPointListPainter(String aGeoSymProductId)
Constructs a new
TLcdVPFPointListPainter for the given GeoSym product id. |
TLcdVPFPointListPainter(TLcdVPFGeoSymProvider aGeoSymProvider)
Constructs a new
TLcdVPFPointListPainter , initialized with the given GeoSym provider. |
Modifier and Type | Method and Description |
---|---|
void |
setObject(Object aObject)
Sets the object to paint or edit.
|
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
getEditMode, getFillStyle, getLineStyle, getSelectionMode, setEditMode, setFillStyle, setLineStyle, setSelectionMode
addPropertyChangeListener, firePropertyChangeEvent, firePropertyChangeEvent, getDisplayName, getGXYPainter, removePropertyChangeListener, setClassTraceOn, setDisplayName
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDisplayName
getDisplayName
addPropertyChangeListener, removePropertyChangeListener
public TLcdVPFPointListPainter(TLcdVPFGeoSymProvider aGeoSymProvider)
TLcdVPFPointListPainter
, initialized with the given GeoSym provider.
The GeoSym provider is used to retrieve line styles from.aGeoSymProvider
- the GeoSym provider to be used for retrieving line styles.public TLcdVPFPointListPainter(String aGeoSymProductId)
TLcdVPFPointListPainter
for the given GeoSym product id. The corresponding
TLcdVPFGeoSymProvider
will be created and initialized automatically.aGeoSymProductId
- the GeoSym product id for which to create this painter.public void setObject(Object aObject)
TLcdGXYPointListPainter
ILcdPointList
for painting and (optionally) an ILcd2DEditablePointList
for editing.
You can change how the ILcdPointList
is derived from the object by overriding
TLcdGXYPointListPainter.retrievePointList(java.lang.Object)
.setObject
in interface ILcdGXYEditor
setObject
in interface ILcdGXYPainter
setObject
in class TLcdGXYPointListPainter
aObject
- The object to paint and edit.TLcdGXYPointListPainter.getObject()