|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ascape.util.vis.DrawFeature
org.ascape.util.vis.DrawSymbol
public abstract class DrawSymbol
An drawing method that draws a symbol irrespective of the supplied object's state. Analagous to ColorFeatureFixed
DrawFeature
,
ColorFeatureFixed
,
Serialized FormField 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 org.ascape.util.vis.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 org.ascape.util.vis.DrawFeature |
---|
getName, getNestedFeature, setName, setNestedFeature |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.ascape.util.vis.Drawable |
---|
draw |
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)
draw
in class DrawFeature
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
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |