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, setPickDelegate
public AbstractShape()
public AbstractShape(ShapeAttributes attributes)
public ShapeAttributes getAttributes()
Attributable
getAttributes
in interface Attributable
public void setAttributes(ShapeAttributes attributes)
Attributable
It is permissible to share attribute bundles between shapes.
setAttributes
in interface Attributable
attributes
- a reference to the shape's new normal attributespublic ShapeAttributes getHighlightAttributes()
Attributable
getHighlightAttributes
in interface Attributable
public void setHighlightAttributes(ShapeAttributes highlightAttributes)
Attributable
It is permissible to share attribute bundles between shapes.
setHighlightAttributes
in interface Attributable
highlightAttributes
- a reference to the shape's new highlight attributespublic boolean isHighlighted()
Highlightable
isHighlighted
in interface Highlightable
public void setHighlighted(boolean highlighted)
Highlightable
setHighlighted
in interface Highlightable
highlighted
- 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)