|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectCodeList<E>
SimpleEnumerationType<LinePattern>
LinePattern
public class LinePattern
Indicate the various enumerations of drawing a patterned line. This class defines static constants for all of the standard choices.
An implementation is not required to implement the entire list of
available line patterns. At runtime, the list of implemented line
patterns can be retrieved from a DisplayCapabilities
object (that was itself retrieved from a Canvas
).
An implementation may also implement other line patterns not listed here by
creating instances of a DashArray
.
Field Summary | |
---|---|
static LinePattern |
DASHED
The line should be drawn dashed. |
static LinePattern |
DOT_DASHED
The line should be drawn dot dashed. |
static LinePattern |
DOTTED
The line should be drawn dotted. |
static LinePattern |
LONG_DASHED
The line should be drawn long dashed. |
static LinePattern |
LONG_DOT_DASHED
The line should be drawn long dot dashed. |
static LinePattern |
NONE
The line should be drawn with no pattern. |
Constructor Summary | |
---|---|
protected |
LinePattern(String name,
String description)
Creates a code list with the specified name. |
Method Summary | |
---|---|
CodeList[] |
family()
Returns the list of enumerations of the same kind than this enum. |
static LinePattern[] |
values()
Returns the list of LinePattern 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 LinePattern NONE
public static final LinePattern DASHED
public static final LinePattern DOTTED
public static final LinePattern DOT_DASHED
public static final LinePattern LONG_DASHED
public static final LinePattern LONG_DOT_DASHED
Constructor Detail |
---|
protected LinePattern(String name, String description)
Method Detail |
---|
public static LinePattern[] values()
LinePattern
s.
public CodeList[] family()
family
in class CodeList<LinePattern>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |