Enum Constant Summary
Enum Constants
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
int
void
void
void
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in
the order they are declared.
Methods inherited from class java.lang.Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf
Enum Constant Details
HINT_EMPTY_HINT
public static final Hint HINT_EMPTY_HINT
HINT_NOT_ALL_NODES_CONNECTED
public static final Hint HINT_NOT_ALL_NODES_CONNECTED
HINT_PICK_EDGE
public static final Hint HINT_PICK_EDGE
HINT_REMOVE_EDGE
public static final Hint HINT_REMOVE_EDGE
HINT_CYCLE
public static final Hint HINT_CYCLE
HINT_SOLUTION_NOT_FOUND
public static final Hint HINT_SOLUTION_NOT_FOUND
Method Details
values
public static Hint [] values ()
Returns an array containing the constants of this enum class, in
the order they are declared.
Returns:
an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified name
NullPointerException
- if the argument is null
setText
public void setText (String text)
setColor
public void setColor (Color color)
getPriority
public int getPriority ()
setPriority
public void setPriority (int priority)