Package com.smartgwt.client.types
Enum FormItemHintPlacement
- All Implemented Interfaces:
ValueEnum,Serializable,Comparable<FormItemHintPlacement>,Constable
Where a
FormItem.hint is displayed, relative to the item itself.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription"inline" for items that can show an in-field hint, and "below" for the rest, so that no hint takes horizontal roomhorizontally beside the item"adaptive" on a handset, where there is no horizontal room beside an item, and "after" elsewhereunderneath the item, in a row of its own.within the item's own field - seeTextItem.showHintInField. -
Method Summary
Modifier and TypeMethodDescriptiongetValue()static FormItemHintPlacementReturns the enum constant of this type with the specified name.static FormItemHintPlacement[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
AFTER
horizontally beside the itemIf this enumerated value is used in a
Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "after". -
BELOW
underneath the item, in a row of its own. Useful in a narrow form, where a hint shown "after" an item makes the form wider than the space available to itIf this enumerated value is used in a
Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "below". -
INLINE
within the item's own field - seeTextItem.showHintInField. An item that cannot show an in-field hint uses "after" insteadIf this enumerated value is used in a
Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "inline". -
ADAPTIVE
"inline" for items that can show an in-field hint, and "below" for the rest, so that no hint takes horizontal roomIf this enumerated value is used in a
Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "adaptive". -
AUTO
"adaptive" on a handset, where there is no horizontal room beside an item, and "after" elsewhereIf this enumerated value is used in a
Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "auto".
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getValue
-