Package adams.gui.tools
Enum ExpressionWatchPanel.ExpressionType
- java.lang.Object
-
- java.lang.Enum<ExpressionWatchPanel.ExpressionType>
-
- adams.gui.tools.ExpressionWatchPanel.ExpressionType
-
- All Implemented Interfaces:
Serializable
,Comparable<ExpressionWatchPanel.ExpressionType>
- Enclosing class:
- ExpressionWatchPanel
public static enum ExpressionWatchPanel.ExpressionType extends Enum<ExpressionWatchPanel.ExpressionType>
The type of expression being displayed.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLEAN_EXPRESSION
boolean exression.MATH_EXPRESSION
math expression.STRING
string (may consist of multiple variables).STRING_EXPRESSION
string expression.VARIABLE
variable.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExpressionWatchPanel.ExpressionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ExpressionWatchPanel.ExpressionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VARIABLE
public static final ExpressionWatchPanel.ExpressionType VARIABLE
variable.
-
STRING
public static final ExpressionWatchPanel.ExpressionType STRING
string (may consist of multiple variables).
-
BOOLEAN_EXPRESSION
public static final ExpressionWatchPanel.ExpressionType BOOLEAN_EXPRESSION
boolean exression.
-
MATH_EXPRESSION
public static final ExpressionWatchPanel.ExpressionType MATH_EXPRESSION
math expression.
-
STRING_EXPRESSION
public static final ExpressionWatchPanel.ExpressionType STRING_EXPRESSION
string expression.
-
-
Method Detail
-
values
public static ExpressionWatchPanel.ExpressionType[] 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 (ExpressionWatchPanel.ExpressionType c : ExpressionWatchPanel.ExpressionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExpressionWatchPanel.ExpressionType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-