Enum TransformerTag.Type
- java.lang.Object
-
- java.lang.Enum<TransformerTag.Type>
-
- net.sf.jguiraffe.gui.builder.components.tags.TransformerTag.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<TransformerTag.Type>
- Enclosing class:
- TransformerTag
public static enum TransformerTag.Type extends Enum<TransformerTag.Type>
An enumeration for the possible types of a transformer.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TransformerTag.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static TransformerTag.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READ
public static final TransformerTag.Type READ
A read transformer. Such transformers are invoked when data is read from an input component.
-
WRITE
public static final TransformerTag.Type WRITE
A write transformer. Write transformers are called when setting data of a form field. They typically create a representation of the data that is displayed in the GUI.
-
-
Method Detail
-
values
public static TransformerTag.Type[] 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 (TransformerTag.Type c : TransformerTag.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransformerTag.Type 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
-
-