public abstract class AbstractShape extends AbstractRenderable implements Attributable, Highlightable
| Constructor and Description |
|---|
AbstractShape() |
AbstractShape(ShapeAttributes attributes) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAltitudeMode() |
ShapeAttributes |
getAttributes()
Indicates the shape's normal (non-highlight) attributes.
|
ShapeAttributes |
getHighlightAttributes()
Indicates the shape's highlight attributes.
|
int |
getMaximumIntermediatePoints() |
int |
getPathType() |
boolean |
isHighlighted()
Indicates whether the shape is highlighted.
|
void |
setAltitudeMode(int altitudeMode) |
void |
setAttributes(ShapeAttributes attributes)
Specifies the shape's normal (non-highlight) attributes.
|
void |
setHighlightAttributes(ShapeAttributes highlightAttributes)
Specifies the shape's highlight attributes.
|
void |
setHighlighted(boolean highlighted)
Specifies whether to highlight the shape.
|
void |
setMaximumIntermediatePoints(int maximumIntermediatePoints) |
void |
setPathType(int pathType) |
getDisplayName, getPickDelegate, getUserProperty, hasUserProperty, isEnabled, putUserProperty, removeUserProperty, render, setDisplayName, setEnabled, setPickDelegatepublic AbstractShape()
public AbstractShape(ShapeAttributes attributes)
public ShapeAttributes getAttributes()
AttributablegetAttributes in interface Attributablepublic void setAttributes(ShapeAttributes attributes)
AttributableIt is permissible to share attribute bundles between shapes.
setAttributes in interface Attributableattributes - a reference to the shape's new normal attributespublic ShapeAttributes getHighlightAttributes()
AttributablegetHighlightAttributes in interface Attributablepublic void setHighlightAttributes(ShapeAttributes highlightAttributes)
AttributableIt is permissible to share attribute bundles between shapes.
setHighlightAttributes in interface AttributablehighlightAttributes - a reference to the shape's new highlight attributespublic boolean isHighlighted()
HighlightableisHighlighted in interface Highlightablepublic void setHighlighted(boolean highlighted)
HighlightablesetHighlighted in interface Highlightablehighlighted - true to highlight the shape, otherwise falsepublic int getAltitudeMode()
public void setAltitudeMode(int altitudeMode)
public int getPathType()
public void setPathType(int pathType)
public int getMaximumIntermediatePoints()
public void setMaximumIntermediatePoints(int maximumIntermediatePoints)