|
JHotDraw 7rev733 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<AttributeKeys.StrokeType>
org.jhotdraw.draw.AttributeKeys.StrokeType
public static enum AttributeKeys.StrokeType
| Enum Constant Summary | |
|---|---|
BASIC
If STROKE_TYPE is put to this value, a BasicStroke instance is used for stroking. |
|
DOUBLE
If STROKE_TYPE is put to this value, a DoubleStroke instance is used for stroking. |
|
| Method Summary | |
|---|---|
static AttributeKeys.StrokeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AttributeKeys.StrokeType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final AttributeKeys.StrokeType BASIC
public static final AttributeKeys.StrokeType DOUBLE
| Method Detail |
|---|
public static AttributeKeys.StrokeType[] values()
for (AttributeKeys.StrokeType c : AttributeKeys.StrokeType.values()) System.out.println(c);
public static AttributeKeys.StrokeType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
|
Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project. Some rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||