TLcdGXYShapeListPainter
instead.public class TLcdGXYPointShapeListPainter extends TLcdGXYShapeListPainter
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".FIRST_POSSIBLE_SHAPE_ANCHOR_POINT, FOCUS_POINT, fShapeGXYEditorProvider, fShapeGXYPainterProvider, MIDDLE_OF_BOUNDS, ONE_SHAPE_ANCHOR_POINT
defaultCreationFillStyle, defaultCreationLineStyle, defaultFillStyle, defaultLineStyle, fWorkBounds
BODY, CREATING, DEFAULT, HANDLES, RESHAPING, SELECTED, SNAPS, TRANSLATING
CREATING, END_CREATION, RESHAPED, START_CREATION, TRANSLATED
Constructor and Description |
---|
TLcdGXYPointShapeListPainter()
Deprecated.
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.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Deprecated.
Makes
Object.clone() public. |
ILcdIcon |
getDefaultIcon()
Deprecated.
Returns the icon to paint points with in default mode.
|
ILcdIcon |
getSelectionIcon()
Deprecated.
Returns the icon to paint points with in selection mode.
|
protected ILcdGXYPainter |
retrieveShapePainter(ILcdShapeList aShapeList,
int aShapeIndex)
Deprecated.
Returns the painter for the shape at the given index in the
ILcdShapeList 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.
|
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
addPropertyChangeListener, firePropertyChangeEvent, firePropertyChangeEvent, getDisplayName, getGXYPainter, isTraceOn, removePropertyChangeListener, setClassTraceOn, setDisplayName, setTraceOn
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDisplayName
addPropertyChangeListener, removePropertyChangeListener
getDisplayName
public TLcdGXYPointShapeListPainter()
public TLcdGXYPointShapeListPainter(ILcdIcon aDefaultIcon)
aDefaultIcon
- the icon to paint points with in default mode.setDefaultIcon(com.luciad.gui.ILcdIcon)
public TLcdGXYPointShapeListPainter(ILcdIcon aDefaultIcon, ILcdIcon aSelectionIcon)
aDefaultIcon
- the icon to paint points with in default mode.aSelectionIcon
- the icon to paint points with in selection mode.protected final ILcdGXYPainter retrieveShapePainter(ILcdShapeList aShapeList, int aShapeIndex)
TLcdGXYShapeListPainter
ILcdShapeList
object.retrieveShapePainter
in class TLcdGXYShapeListPainter
aShapeList
- The shape list containing the shape.aShapeIndex
- The index of the shape within the shape list.ILcdShapeList
object.public ILcdIcon getDefaultIcon()
setDefaultIcon(com.luciad.gui.ILcdIcon)
public void setDefaultIcon(ILcdIcon aIcon)
aIcon
- the icon to paint points with in default mode.getDefaultIcon()
public ILcdIcon getSelectionIcon()
setSelectionIcon(com.luciad.gui.ILcdIcon)
public void setSelectionIcon(ILcdIcon aSelectionIcon)
aSelectionIcon
- the icon to paint points with in selection mode.getSelectionIcon()
public Object clone()
ILcdCloneable
Makes Object.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 );
}
}
clone
in interface ILcdCloneable
clone
in interface ILcdGXYEditorProvider
clone
in interface ILcdGXYPainterProvider
clone
in class TLcdGXYShapeListPainter
Object.clone()