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, fWorkBoundsFields inherited from interface com.luciad.view.gxy.ILcdGXYEditor
CREATING, END_CREATION, RESHAPED, START_CREATION, TRANSLATEDFields inherited from interface com.luciad.view.gxy.ILcdGXYPainter
BODY, CREATING, DEFAULT, HANDLES, RESHAPING, SELECTED, SNAPS, TRANSLATING -
Constructor Summary
ConstructorsConstructorDescriptionTLcdVPFPointPainter(TLcdVPFGeoSymProvider aGeoSymProvider) Constructs a newTLcdVPFPointPainter, initialized with the given GeoSym provider.TLcdVPFPointPainter(String aGeoSymProductId) Constructs a newTLcdVPFPointPainterfor 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, supportSnapMethods inherited from class com.luciad.view.gxy.ALcdGXYPainter
addPropertyChangeListener, firePropertyChangeEvent, getDisplayName, getGXYPainter, isTraceOn, removePropertyChangeListener, setClassTraceOn, setDisplayName, setTraceOnMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.luciad.view.gxy.ILcdGXYEditor
getDisplayNameMethods inherited from interface com.luciad.view.gxy.ILcdGXYPainter
getDisplayNameMethods 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 newTLcdVPFPointPainterfor the given GeoSym product id. The correspondingTLcdVPFGeoSymProviderwill be created and initialized automatically.- Parameters:
aGeoSymProductId- the GeoSym product id for which to create this painter.
-
-
Method Details
-
setObject
Description copied from class:TLcdGXYIconPainterSets the object to paint and edit. The object should be an instance of or
refer toan instance ofILcdShapefor painting andILcd2DEditableShapefor 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
ILcdShapeand shall throw aClassCastExceptionif it does not.When this painter is used as editor with an object that does not implement the interface
ILcd2DEditableShape, theeditmethod shall throw the necessary exception.- Specified by:
setObjectin interfaceILcdGXYEditor- Specified by:
setObjectin interfaceILcdGXYPainter- Overrides:
setObjectin classTLcdGXYIconPainter- Parameters:
aObject- The object to paint and edit.- See Also:
-