|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||

java.lang.Objectjava.lang.Enum<PoshNodeType>
cz.cuni.pogamut.posh.widget.PoshNodeType
public enum PoshNodeType
Enum for types of elements in the POSH tree.
| Enum Constant Summary | |
|---|---|
ACT
|
|
ACTION_PATTERN
|
|
COMPETENCE
|
|
COMPETENCE_ELEMENT
|
|
DOCSTRING
|
|
DRIVE_COLLECTION_NODE
|
|
DRIVE_ELEMENT
|
|
GOAL
|
|
ROOT
|
|
SENSE
|
|
TRIGGER
|
|
TRIGGERED_ACTION
|
|
| Method Summary | |
|---|---|
Color |
getColor()
Get color that is associated with this type of element |
String |
toString()
Get description of element |
static PoshNodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PoshNodeType[] |
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 PoshNodeType DOCSTRING
public static final PoshNodeType COMPETENCE
public static final PoshNodeType COMPETENCE_ELEMENT
public static final PoshNodeType DRIVE_COLLECTION_NODE
public static final PoshNodeType DRIVE_ELEMENT
public static final PoshNodeType ACTION_PATTERN
public static final PoshNodeType GOAL
public static final PoshNodeType ACT
public static final PoshNodeType SENSE
public static final PoshNodeType ROOT
public static final PoshNodeType TRIGGER
public static final PoshNodeType TRIGGERED_ACTION
| Method Detail |
|---|
public static PoshNodeType[] values()
for (PoshNodeType c : PoshNodeType.values()) System.out.println(c);
public static PoshNodeType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic Color getColor()
public String toString()
toString in class Enum<PoshNodeType>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||