|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuavsim.graphics.A_ShapeDescriptor<_SHAPE_>
_SHAPE_ - - the shapepublic abstract class A_ShapeDescriptor<_SHAPE_>
Defines the shared elements of basic geometric shapes (e.g., box, circle) with a body fill color and an outline with a color and thickness.
| Field Summary | |
|---|---|
protected java.awt.Color |
_bodyColor
the body color |
protected java.awt.Color |
_outlineColor
the outline color |
protected Scaler |
_outlineScale
the outline scale |
private _SHAPE_ |
_shape
the shape |
| Constructor Summary | |
|---|---|
A_ShapeDescriptor(_SHAPE_ shape,
java.awt.Color bodyColor,
Scaler outlineScale,
java.awt.Color outlineColor)
Creates an abstract shape descriptor. |
|
| Method Summary | |
|---|---|
java.awt.Color |
getBodyColor()
Gets the body color. |
java.awt.Color |
getOutlineColor()
Gets the outline color. |
Scaler |
getOutlineScale()
Gets the outline scale. |
_SHAPE_ |
getShape()
Gets the shape. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final java.awt.Color _bodyColor
protected final java.awt.Color _outlineColor
protected final Scaler _outlineScale
private final _SHAPE_ _shape
| Constructor Detail |
|---|
public A_ShapeDescriptor(_SHAPE_ shape,
java.awt.Color bodyColor,
Scaler outlineScale,
java.awt.Color outlineColor)
shape - - the shapebodyColor - - the body coloroutlineScale - - the outline scaleoutlineColor - - the outline color| Method Detail |
|---|
public java.awt.Color getBodyColor()
public java.awt.Color getOutlineColor()
public Scaler getOutlineScale()
public _SHAPE_ getShape()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||