Package adams.gui.core
Enum PropertiesParameterPanel.PropertyType
- java.lang.Object
-
- java.lang.Enum<PropertiesParameterPanel.PropertyType>
-
- adams.gui.core.PropertiesParameterPanel.PropertyType
-
- All Implemented Interfaces:
Serializable
,Comparable<PropertiesParameterPanel.PropertyType>
- 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)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARRAY_EDITOR
Array editor.BLANK_SEPARATED_LIST
string representing a blank-separated list.BLANK_SEPARATED_LIST_FIXED
string representing a blank-separated list (fixed list).BOOLEAN
boolean.COLOR
color.COMMA_SEPARATED_LIST
string representing a comma-separated list.COMMA_SEPARATED_LIST_FIXED
string representing a comma-separated list (fixed list).CUSTOM_COMPONENT
custom component.DATE
date.DATETIME
date/time.DIRECTORY
directory.DIRECTORY_ABSOLUTE
directory (absolute path).DOUBLE
double.ENUM
enumeration.FILE
file.FILE_ABSOLUTE
file (absolute path).FONT
font.INDEX
index (1-based).INTEGER
integer.LIST
manually maintained list of string values.LIST_MULTI_SELECTION
manually maintained list of string values (multiple selection).LONG
long.OBJECT_EDITOR
Object editor.PASSWORD
password.PASSWORD_PLAIN
password (plain text).RANGE
range (1-based).REGEXP
regular expression.REGEXP_CONSTRAINED_STRING
string constrained by regular expression.SQL
SQL query.STRING
string.TIME
time.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PropertiesParameterPanel.PropertyType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PropertiesParameterPanel.PropertyType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOLEAN
public static final PropertiesParameterPanel.PropertyType BOOLEAN
boolean.
-
INTEGER
public static final PropertiesParameterPanel.PropertyType INTEGER
integer.
-
LONG
public static final PropertiesParameterPanel.PropertyType LONG
long.
-
DOUBLE
public static final PropertiesParameterPanel.PropertyType DOUBLE
double.
-
STRING
public static final PropertiesParameterPanel.PropertyType STRING
string.
-
PASSWORD
public static final PropertiesParameterPanel.PropertyType PASSWORD
password.
-
PASSWORD_PLAIN
public static final PropertiesParameterPanel.PropertyType PASSWORD_PLAIN
password (plain text).
-
SQL
public static final PropertiesParameterPanel.PropertyType SQL
SQL query.
-
TIME
public static final PropertiesParameterPanel.PropertyType TIME
time.
-
DATE
public static final PropertiesParameterPanel.PropertyType DATE
date.
-
DATETIME
public static final PropertiesParameterPanel.PropertyType DATETIME
date/time.
-
COLOR
public static final PropertiesParameterPanel.PropertyType COLOR
color.
-
FONT
public static final PropertiesParameterPanel.PropertyType FONT
font.
-
FILE
public static final PropertiesParameterPanel.PropertyType FILE
file.
-
FILE_ABSOLUTE
public static final PropertiesParameterPanel.PropertyType FILE_ABSOLUTE
file (absolute path).
-
DIRECTORY
public static final PropertiesParameterPanel.PropertyType DIRECTORY
directory.
-
DIRECTORY_ABSOLUTE
public static final PropertiesParameterPanel.PropertyType DIRECTORY_ABSOLUTE
directory (absolute path).
-
ENUM
public static final PropertiesParameterPanel.PropertyType ENUM
enumeration.
-
LIST
public static final PropertiesParameterPanel.PropertyType LIST
manually maintained list of string values.
-
LIST_MULTI_SELECTION
public static final PropertiesParameterPanel.PropertyType LIST_MULTI_SELECTION
manually maintained list of string values (multiple selection).
-
COMMA_SEPARATED_LIST
public static final PropertiesParameterPanel.PropertyType COMMA_SEPARATED_LIST
string representing a comma-separated list.
-
COMMA_SEPARATED_LIST_FIXED
public static final PropertiesParameterPanel.PropertyType COMMA_SEPARATED_LIST_FIXED
string representing a comma-separated list (fixed list).
-
BLANK_SEPARATED_LIST
public static final PropertiesParameterPanel.PropertyType BLANK_SEPARATED_LIST
string representing a blank-separated list.
-
BLANK_SEPARATED_LIST_FIXED
public static final PropertiesParameterPanel.PropertyType BLANK_SEPARATED_LIST_FIXED
string representing a blank-separated list (fixed list).
-
OBJECT_EDITOR
public static final PropertiesParameterPanel.PropertyType OBJECT_EDITOR
Object editor.
-
INDEX
public static final PropertiesParameterPanel.PropertyType INDEX
index (1-based).
-
RANGE
public static final PropertiesParameterPanel.PropertyType RANGE
range (1-based).
-
REGEXP
public static final PropertiesParameterPanel.PropertyType REGEXP
regular expression.
-
REGEXP_CONSTRAINED_STRING
public static final PropertiesParameterPanel.PropertyType REGEXP_CONSTRAINED_STRING
string constrained by regular expression.
-
CUSTOM_COMPONENT
public static final PropertiesParameterPanel.PropertyType CUSTOM_COMPONENT
custom component.
-
ARRAY_EDITOR
public static final PropertiesParameterPanel.PropertyType ARRAY_EDITOR
Array editor.
-
-
Method Detail
-
values
public static PropertiesParameterPanel.PropertyType[] 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 (PropertiesParameterPanel.PropertyType c : PropertiesParameterPanel.PropertyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PropertiesParameterPanel.PropertyType 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
-
-