|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<TypeEnum>
cz.zcu.fav.kiv.editor.config.constants.TypeEnum
public enum TypeEnum
The ComponentEnum
class is the enumerated list of GUI components supported by the
application. Components are used for displaying parameter Type
s.
Enum Constant Summary | |
---|---|
ATTRIBUTE_SET
|
|
BOOLEAN
|
|
COLOR
|
|
FILENAME
|
|
FLOAT
|
|
FONT
|
|
INTEGER
|
|
LENGTH
|
|
LIST
|
|
LIST_OPEN
|
|
NUMBER
|
|
RTF
|
|
STRING
|
|
TABLE
|
|
URI
|
Method Summary | |
---|---|
static boolean |
contains(java.lang.String name)
Specifies if the input component is among predefined components ComponentEnum . |
static TypeEnum |
getValue(java.lang.String name)
Returns ComponentEnum object for the corresponding name. |
java.lang.String |
toString()
|
static TypeEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TypeEnum[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final TypeEnum BOOLEAN
public static final TypeEnum STRING
public static final TypeEnum INTEGER
public static final TypeEnum TABLE
public static final TypeEnum FLOAT
public static final TypeEnum LIST
public static final TypeEnum LIST_OPEN
public static final TypeEnum LENGTH
public static final TypeEnum URI
public static final TypeEnum NUMBER
public static final TypeEnum COLOR
public static final TypeEnum FILENAME
public static final TypeEnum RTF
public static final TypeEnum FONT
public static final TypeEnum ATTRIBUTE_SET
Method Detail |
---|
public static TypeEnum[] values()
for (TypeEnum c : TypeEnum.values()) System.out.println(c);
public static TypeEnum 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 nullpublic static TypeEnum getValue(java.lang.String name)
ComponentEnum
object for the corresponding name. If the input
component is not supported then the DUMMY
component is returned.
name
- the name of the component.
public static boolean contains(java.lang.String name)
ComponentEnum
.
name
- the name of the component.
public java.lang.String toString()
toString
in class java.lang.Enum<TypeEnum>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |