com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.diagramcommon.color
Enum KnownColor
java.lang.Object
java.lang.Enum<KnownColor>
com.ebmwebsourcing.geasytools.diagrameditor.domain.diagramdefinition.diagramcommon.color.KnownColor
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<KnownColor>
public enum KnownColor
- extends java.lang.Enum<KnownColor>
|
Method Summary |
static KnownColor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static KnownColor[] |
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 |
Maroon
public static final KnownColor Maroon
Red
public static final KnownColor Red
Orange
public static final KnownColor Orange
Yellow
public static final KnownColor Yellow
Olive
public static final KnownColor Olive
Purple
public static final KnownColor Purple
Fushia
public static final KnownColor Fushia
White
public static final KnownColor White
Lime
public static final KnownColor Lime
Green
public static final KnownColor Green
Navy
public static final KnownColor Navy
Blue
public static final KnownColor Blue
Aqua
public static final KnownColor Aqua
Teal
public static final KnownColor Teal
Black
public static final KnownColor Black
Silver
public static final KnownColor Silver
Gray
public static final KnownColor Gray
values
public static KnownColor[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (KnownColor c : KnownColor.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static KnownColor valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
Copyright © 2010-2011 Petals Link. All Rights Reserved.