|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--edu.brook.ascape.view.DrawFeature
|
+--edu.brook.ascape.view.DrawSymbol
An drawing method that draws a symbol irrespective of the supplied object's state. Analagous to ColorFeatureFixed
DrawFeature,
ColorFeatureFixed| Field Summary | |
static DrawSymbol |
DRAW_HATCH
Draws a hash mark. |
static DrawSymbol |
DRAW_HATCH_G1_W2
Draws a hash mark with a gap of 2 spaces and width 1. |
static DrawSymbol |
DRAW_HATCH_G2_W1
Draws a hash mark with a gap of 2 spaces and width 1. |
static DrawSymbol |
DRAW_HATCH_G2_W2
Draws a hash mark with a gap of 2 spaces and width 1. |
static DrawSymbol |
DRAW_HATCH_G3_W1
Draws a hash mark. |
static DrawSymbol |
DRAW_HATCH_G3_W2
Draws a hash mark. |
static DrawSymbol |
DRAW_OVAL
A symbol that calls drawOval. |
static DrawSymbol |
DRAW_OVAL_2
A symbol that calls drawOval. |
static DrawSymbol |
DRAW_OVOID
A symbol that draws an 'oval' that looks good in smaller sizes. |
static DrawSymbol |
DRAW_RECT
A symbol that calls drawRect. |
static DrawSymbol |
DRAW_RECT_2
A symbol that calls drawRect. |
static DrawSymbol |
DRAW_X
Draws a diagonal cross. |
static DrawSymbol |
FILL_OVAL
A symbol that calls fillOval. |
static DrawSymbol |
FILL_OVOID
Fills in the space inside a DRAW_OVOID. |
static DrawSymbol |
FILL_RECT
A symbol that calls fillRect. |
| Fields inherited from class edu.brook.ascape.view.DrawFeature |
name,
nestedFeature |
| Constructor Summary | |
DrawSymbol()
|
|
| Method Summary | |
void |
draw(java.awt.Graphics g,
java.lang.Object object,
int width,
int height)
Calls a draw method that ignores object and provides a drawable interface. |
| Methods inherited from class edu.brook.ascape.view.DrawFeature |
getName,
getNestedFeature,
setName,
setNestedFeature |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
public static final DrawSymbol FILL_RECT
public static final DrawSymbol DRAW_RECT
public static final DrawSymbol DRAW_RECT_2
public static final DrawSymbol FILL_OVAL
public static final DrawSymbol DRAW_OVAL_2
public static final DrawSymbol DRAW_OVAL
public static final DrawSymbol DRAW_OVOID
public static final DrawSymbol FILL_OVOID
public static final DrawSymbol DRAW_X
public static final DrawSymbol DRAW_HATCH
public static final DrawSymbol DRAW_HATCH_G1_W2
public static final DrawSymbol DRAW_HATCH_G2_W1
public static final DrawSymbol DRAW_HATCH_G2_W2
public static final DrawSymbol DRAW_HATCH_G3_W1
public static final DrawSymbol DRAW_HATCH_G3_W2
| Constructor Detail |
public DrawSymbol()
| Method Detail |
public final void draw(java.awt.Graphics g,
java.lang.Object object,
int width,
int height)
g - the Graphics context to draw intoobject - normally, the object to interpret for drawing, ignored herewidth - the width of the space that should be drawn intoheight - the height of the space that should be drawn into
|
(c) 1998-2000 The Brookings Insitution Webpage |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||