|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectCodeList<E>
SimpleEnumerationType<LinePattern>
LinePattern
DashArray
public class DashArray
Indicates the various enumerations of drawing a pattern line.
An implementor can create a DashArray by passing
a float array in the constructor that would indicate the dash
pattern to be drawn.
| Field Summary | |
|---|---|
static DashArray |
NO_DASH
The line should be drawn with no dash array. |
static DashArray |
NONE
Deprecated. Renamed as NO_DASH. |
| Fields inherited from class LinePattern |
|---|
DASHED, DOT_DASHED, DOTTED, LONG_DASHED, LONG_DOT_DASHED |
| Constructor Summary | |
|---|---|
DashArray(String name,
String description,
float[] pattern)
Construct an enumeration using the specified pattern. |
|
| Method Summary | |
|---|---|
CodeList[] |
family()
Returns the list of enumerations of the same kind than this enum. |
float[] |
getDashPattern()
Returns the dash pattern. |
static LinePattern[] |
values()
Returns the list of DashArrays. |
| 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 DashArray NO_DASH
public static final DashArray NONE
NO_DASH.
| Constructor Detail |
|---|
public DashArray(String name,
String description,
float[] pattern)
| Method Detail |
|---|
public float[] getDashPattern()
public static LinePattern[] values()
DashArrays.
public CodeList[] family()
family in class LinePattern
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||