|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectCodeList<E>
SimpleEnumerationType<ArrowStyle>
ArrowStyle
public class ArrowStyle
Indicates the various enumerations of drawing a line with an arrow head. This class defines static constants for all of the standard choices.
An implementation is not required to implement the entire list of available
arrow styles. At runtime, the list of implemented arrow styles can be retrieved
from a DisplayCapabilities
object (that was itself
retrieved from a Canvas
). An implementation may also implement
other arrow styles not listed here.
NOTE: Two different implementations may have arrow styles with
the same name, but use different ArrowStyle
instances. If clients need to use the arrow style name to find a
arrow style they should search the array returned by
getSupportedArrowStyles
from the
DisplayCapabilities
instance associated with the
correct provider.
Field Summary | |
---|---|
static ArrowStyle |
BROAD_ARROW
Double line with large arrowhead. |
static ArrowStyle |
NONE
Solid line with an no arrowhead. |
static ArrowStyle |
OPEN_ARROW
Solid line with an open arrowhead on one end in the foreground color. |
static ArrowStyle |
SOLID_ARROW
Solid line with a filled arrowhead on one end. |
Constructor Summary | |
---|---|
protected |
ArrowStyle(String name,
String description)
Construct a new ArrowStyle with the given name and description. |
Method Summary | |
---|---|
CodeList[] |
family()
Returns the list of enumerations of the same kind than this enum. |
static ArrowStyle[] |
values()
Returns the list of ArrowStyle s. |
Methods inherited from class SimpleEnumerationType |
---|
getDescription, getIcon, getNullIcon, loadIconResource, toString |
Methods inherited from class CodeList |
---|
compareTo, name, ordinal, readResolve |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ArrowStyle NONE
public static final ArrowStyle OPEN_ARROW
public static final ArrowStyle SOLID_ARROW
public static final ArrowStyle BROAD_ARROW
Constructor Detail |
---|
protected ArrowStyle(String name, String description)
DisplayCapabilities.getSupportedArrowStyles()
.
name
- a String defining the name of the Arrow pattern.description
- a String describing the pattern.Method Detail |
---|
public static ArrowStyle[] values()
ArrowStyle
s.
public CodeList[] family()
family
in class CodeList<ArrowStyle>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |