Package org.apache.tapestry5.beaneditor
Class DataTypeConstants
- java.lang.Object
-
- org.apache.tapestry5.beaneditor.DataTypeConstants
-
public class DataTypeConstants extends Object
Defines the names of data types used to select an editor (or display) block for a property.- Since:
- 5.3
- See Also:
DataType
-
-
Field Summary
Fields Modifier and Type Field Description static StringBOOLEANUsed for boolean properties.static StringCALENDARUsed to render a JavaScript calendar for aCalendarproperty.static StringDATEUsed to render a JavaScript calendar for aDateproperty.static StringENUMUsed forEnums.static StringLONG_TEXTUsed to render a textarea field for aStringproperty.static StringNUMBERUsed for properties ofNumbertype.static StringPASSWORDUsed to render a password field for aStringproperty.static StringTEXTUsed forStringproperties.
-
Constructor Summary
Constructors Constructor Description DataTypeConstants()
-
-
-
Field Detail
-
TEXT
public static final String TEXT
Used forStringproperties.- See Also:
- Constant Field Values
-
NUMBER
public static final String NUMBER
Used for properties ofNumbertype.- See Also:
- Constant Field Values
-
ENUM
public static final String ENUM
Used forEnums.- See Also:
- Constant Field Values
-
BOOLEAN
public static final String BOOLEAN
Used for boolean properties.- See Also:
- Constant Field Values
-
DATE
public static final String DATE
Used to render a JavaScript calendar for aDateproperty.- See Also:
- Constant Field Values
-
CALENDAR
public static final String CALENDAR
Used to render a JavaScript calendar for aCalendarproperty.- See Also:
- Constant Field Values
-
PASSWORD
public static final String PASSWORD
Used to render a password field for aStringproperty.- See Also:
- Constant Field Values
-
LONG_TEXT
public static final String LONG_TEXT
Used to render a textarea field for aStringproperty.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DataTypeConstants
public DataTypeConstants()
-
-