Package com.luciad.format.vpf
Class TLcdVPFPointPainter
java.lang.Object
com.luciad.view.gxy.ALcdGXYPainter
com.luciad.view.gxy.painter.TLcdGXYIconPainter
com.luciad.format.vpf.TLcdVPFPointPainter
- All Implemented Interfaces:
ILcdCloneable
,ILcdPropertyChangeSource
,ILcdGXYEditor
,ILcdGXYEditorProvider
,ILcdGXYPainter
,ILcdGXYPainterProvider
,Serializable
,Cloneable
Extends
TLcdGXYIconPainter
and adds functionality for painting VPF domain objects
using GeoSym symbology.
It can paint all ILcdPoint
objects implementing ILcdVPFFACCFeature
using GeoSym. All other point
objects will be painted using a default icon.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.luciad.view.gxy.painter.TLcdGXYIconPainter
TLcdGXYIconPainter.ScalingMode
-
Field Summary
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
ConstructorDescriptionTLcdVPFPointPainter
(TLcdVPFGeoSymProvider aGeoSymProvider) Constructs a newTLcdVPFPointPainter
, initialized with the given GeoSym provider.TLcdVPFPointPainter
(String aGeoSymProductId) Constructs a newTLcdVPFPointPainter
for the given GeoSym product id. -
Method Summary
Methods inherited from class com.luciad.view.gxy.painter.TLcdGXYIconPainter
acceptSnapTarget, anchorPointSFCT, boundsSFCT, clearImageCache, clearImageCache, clone, edit, firePropertyChangeEvent, getCreationClickCount, getCursor, getGXYEditor, getHaloAlgorithm, getHaloColor, getHaloThickness, getIcon, getIcon, getIconProvider, getObject, getPaintCache, getScale, getScalingMode, getSelectionIcon, getSelectionIconProvider, getSnapIcon, isHaloEnabled, isTouched, isUseImageCache, isUseOrientation, paint, paintSnap, setHaloAlgorithm, setHaloColor, setHaloEnabled, setHaloThickness, setIcon, setIconProvider, setModelModelTransformationClass, setPaintCache, setScale, setScalingMode, setSelectionIcon, setSelectionIconProvider, setSnapIcon, setUseImageCache, setUseOrientation, snapTarget, supportSnap
Methods inherited from class com.luciad.view.gxy.ALcdGXYPainter
addPropertyChangeListener, firePropertyChangeEvent, getDisplayName, getGXYPainter, isTraceOn, removePropertyChangeListener, setClassTraceOn, setDisplayName, setTraceOn
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
-
TLcdVPFPointPainter
Constructs a newTLcdVPFPointPainter
, initialized with the given GeoSym provider. The GeoSym provider is used to retrieve point icons from.- Parameters:
aGeoSymProvider
- the GeoSym provider to be used for retrieving point icons.
-
TLcdVPFPointPainter
Constructs a newTLcdVPFPointPainter
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:TLcdGXYIconPainter
Sets the object to paint and edit. The object should be an instance of or
refer to
an instance ofILcdShape
for painting andILcd2DEditableShape
for editing.This painter/editor can be used to paint the object without using the edit functionality. This method shall therefore only check if the object implements
ILcdShape
and shall throw aClassCastException
if it does not.When this painter is used as editor with an object that does not implement the interface
ILcd2DEditableShape
, theedit
method shall throw the necessary exception.- Specified by:
setObject
in interfaceILcdGXYEditor
- Specified by:
setObject
in interfaceILcdGXYPainter
- Overrides:
setObject
in classTLcdGXYIconPainter
- Parameters:
aObject
- The object to paint and edit.- See Also:
-