Package com.luciad.view.gxy.painter
Class TLcdGXYPointShapeListPainter
java.lang.Object
com.luciad.view.gxy.ALcdGXYPainter
com.luciad.view.gxy.painter.TLcdGXYShapeListPainter
com.luciad.view.gxy.painter.TLcdGXYPointShapeListPainter
- All Implemented Interfaces:
ILcdCloneable
,ILcdDeepCloneable
,ILcdPropertyChangeSource
,ILcdGXYEditor
,ILcdGXYEditorProvider
,ILcdGXYPainter
,ILcdGXYPainterProvider
,ILcdGXYPathPainter
,Serializable
,Cloneable
Deprecated.
This class extends
TLcdGXYShapeListPainter
for painting
ILcdShapeList
objects whose ILcdShape
objects
can be cast to an ILcdPoint
.
This class holds an instance of TLcdSingleGXYPainterProvider
,
which will be responsible for providing an ILcdGXYPainter
for each of the constituting ILcdShape
objects of the
given ILcdShapeList
objects.
The painter that is returned by the TLcdSingleGXYPainterProvider
is a TLcdGXYIconPainter
.
Its property displayName (see ALcdGXYPainter
) is set to "FeaturedPoint".- See Also:
-
Field Summary
Fields inherited from class com.luciad.view.gxy.painter.TLcdGXYShapeListPainter
FIRST_POSSIBLE_SHAPE_ANCHOR_POINT, FOCUS_POINT, fShapeGXYEditorProvider, fShapeGXYPainterProvider, MIDDLE_OF_BOUNDS, ONE_SHAPE_ANCHOR_POINT
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
ConstructorDescriptionDeprecated.Default constructor, sets the display name to FeaturedPoint and does not set the default or the selection icon.TLcdGXYPointShapeListPainter
(ILcdIcon aDefaultIcon) Deprecated.Calls the default constructor and sets the default icon.TLcdGXYPointShapeListPainter
(ILcdIcon aDefaultIcon, ILcdIcon aSelectionIcon) Deprecated.Calls the default constructor and sets the default and selection icon. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Deprecated.MakesObject.clone()
public.Deprecated.Returns the icon to paint points with in default mode.Deprecated.Returns the icon to paint points with in selection mode.protected final ILcdGXYPainter
retrieveShapePainter
(ILcdShapeList aShapeList, int aShapeIndex) Deprecated.Returns the painter for the shape at the given index in theILcdShapeList
object.void
setDefaultIcon
(ILcdIcon aIcon) Deprecated.Sets the icon to paint points with in default mode.void
setSelectionIcon
(ILcdIcon aSelectionIcon) Deprecated.Sets the icon to paint points with in selection mode.Methods inherited from class com.luciad.view.gxy.painter.TLcdGXYShapeListPainter
acceptSnapTarget, anchorPointSFCT, appendAWTPath, appendGeneralPath, boundsSFCT, clone, edit, editShape, getAnchorPointLocation, getCreationClickCount, getCursor, getGXYEditor, getObject, getShapeGXYEditorProvider, getShapeGXYPainterProvider, isEditTouchedOnly, isTouched, paint, retrieveShapeEditor, setAnchorPointLocation, setEditTouchedOnly, setObject, setShapeGXYEditorProvider, setShapeGXYPainterProvider, snapTarget, supportSnap
Methods inherited from class com.luciad.view.gxy.ALcdGXYPainter
addPropertyChangeListener, firePropertyChangeEvent, 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
-
TLcdGXYPointShapeListPainter
public TLcdGXYPointShapeListPainter()Deprecated.Default constructor, sets the display name to FeaturedPoint and does not set the default or the selection icon. -
TLcdGXYPointShapeListPainter
Deprecated.Calls the default constructor and sets the default icon.- Parameters:
aDefaultIcon
- the icon to paint points with in default mode.- See Also:
-
TLcdGXYPointShapeListPainter
Deprecated.Calls the default constructor and sets the default and selection icon.- Parameters:
aDefaultIcon
- the icon to paint points with in default mode.aSelectionIcon
- the icon to paint points with in selection mode.
-
-
Method Details
-
retrieveShapePainter
Deprecated.Description copied from class:TLcdGXYShapeListPainter
Returns the painter for the shape at the given index in theILcdShapeList
object.- Overrides:
retrieveShapePainter
in classTLcdGXYShapeListPainter
- Parameters:
aShapeList
- The shape list containing the shape.aShapeIndex
- The index of the shape within the shape list.- Returns:
- the painter for the shape at the given index in the
ILcdShapeList
object.
-
getDefaultIcon
Deprecated.Returns the icon to paint points with in default mode.- Returns:
- the icon to paint points with in default mode.
- See Also:
-
setDefaultIcon
Deprecated.Sets the icon to paint points with in default mode.- Parameters:
aIcon
- the icon to paint points with in default mode.- See Also:
-
getSelectionIcon
Deprecated.Returns the icon to paint points with in selection mode.- Returns:
- the icon to paint points with in selection mode.
- See Also:
-
setSelectionIcon
Deprecated.Sets the icon to paint points with in selection mode.- Parameters:
aSelectionIcon
- the icon to paint points with in selection mode.- See Also:
-
clone
Deprecated.Description copied from interface:ILcdCloneable
Makes
When for example extending fromObject.clone()
public.java.lang.Object
, it can be implemented like this:public Object clone() { try { return super.clone(); } catch ( CloneNotSupportedException e ) { // Cannot happen: extends from Object and implements Cloneable (see also Object.clone) throw new RuntimeException( e ); } }
- Specified by:
clone
in interfaceILcdCloneable
- Specified by:
clone
in interfaceILcdGXYEditorProvider
- Specified by:
clone
in interfaceILcdGXYPainterProvider
- Overrides:
clone
in classTLcdGXYShapeListPainter
- Returns:
- a clone of this painter provider.
- See Also:
-
TLcdGXYShapeListPainter
instead.