public class TLcdPOLPainter extends TLcdGXYPointListPainter
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 |
---|
TLcdPOLPainter() |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Makes
Object.clone() public. |
ILcdPOLColorTable |
getColorTable() |
ILcdPOLTypeTable |
getTypeTable() |
void |
setColorTable(ILcdPOLColorTable aColorTable) |
void |
setLineStyle(ILcdGXYPainterStyle aLineStyle)
Sets the line style to use when painting the outline of the object.
|
void |
setObject(Object aObject)
Applies a line style using the color of the object or the color for the object in the color table.
|
void |
setTypeTable(ILcdPOLTypeTable aTypeTable) |
acceptSnapTarget, anchorPointSFCT, append2DPoint, appendAWTPath, appendGeneralPath, boundsSFCT, 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, setSelectionMode
addPropertyChangeListener, firePropertyChangeEvent, firePropertyChangeEvent, getDisplayName, getGXYPainter, removePropertyChangeListener, setClassTraceOn, setDisplayName
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDisplayName
getDisplayName
addPropertyChangeListener, removePropertyChangeListener
public ILcdPOLColorTable getColorTable()
public void setColorTable(ILcdPOLColorTable aColorTable)
public ILcdPOLTypeTable getTypeTable()
public void setTypeTable(ILcdPOLTypeTable aTypeTable)
public void setObject(Object aObject)
setObject
in interface ILcdGXYEditor
setObject
in interface ILcdGXYPainter
setObject
in class TLcdGXYPointListPainter
aObject
- an ILcdPOLGeometry
implementation.TLcdGXYPointListPainter.getObject()
public void setLineStyle(ILcdGXYPainterStyle aLineStyle)
null
.
Note: Passed value can't be null and only TLcdGXYPainterColorStyles are valid for this painter.
setLineStyle
in class ALcdGXYAreaPainter
aLineStyle
- the line style to use when painting the outline of the object.ALcdGXYAreaPainter.getLineStyle()
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 TLcdGXYPointListPainter
Object.clone()