Package nz.ac.waikato.cms.gui.core
Enum Class PropertiesParameterPanel.PropertyType
java.lang.Object
java.lang.Enum<PropertiesParameterPanel.PropertyType>
nz.ac.waikato.cms.gui.core.PropertiesParameterPanel.PropertyType
- All Implemented Interfaces:
Serializable,Comparable<PropertiesParameterPanel.PropertyType>,Constable
- Enclosing class:
- PropertiesParameterPanel
public static enum PropertiesParameterPanel.PropertyType
extends Enum<PropertiesParameterPanel.PropertyType>
The various data types a property can have.
- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionstring representing a blank-separated list (fixed list).boolean.string representing a comma-separated list (fixed list).custom component.directory.directory (absolute path).double.file.file (absolute path).integer.manually maintained list of string values.long.string. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BOOLEAN
boolean. -
INTEGER
integer. -
LONG
long. -
DOUBLE
double. -
STRING
string. -
FILE
file. -
FILE_ABSOLUTE
file (absolute path). -
DIRECTORY
directory. -
DIRECTORY_ABSOLUTE
directory (absolute path). -
LIST
manually maintained list of string values. -
COMMA_SEPARATED_LIST_FIXED
string representing a comma-separated list (fixed list). -
BLANK_SEPARATED_LIST_FIXED
string representing a blank-separated list (fixed list). -
CUSTOM_COMPONENT
custom component.
-
-
Method Details
-
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 nameNullPointerException- if the argument is null
-