T - P - public abstract class AJpaFormatterWithChoices<T,P> extends AJpaFormatter<T,P> implements IFormatterWithChoices<T>
FormattedTextField and with a
FormattedTextFieldWithChoices.| Constructor and Description |
|---|
AJpaFormatterWithChoices(java.lang.Class<T> pojoClass,
java.lang.String pojoProperty) |
AJpaFormatterWithChoices(java.lang.Class<T> pojoClass,
java.lang.String pojoProperty,
IFormatter<P> formatter) |
AJpaFormatterWithChoices(java.lang.Class<T> pojoClass,
java.lang.String pojoProperty,
IFormatter<P> formatter,
IFormatter<T> choiceDescrFormatter) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
formatChoiceDescription(T pojo) |
java.util.Set<T> |
getSelectableValues()
Used by
FormattedTextFieldWithChoices as a delegator to get
the selectable values. |
equals, getProperty, hashCodecast, format, getValueType, parsegetClass, notify, notifyAll, toString, wait, wait, waitcast, format, getValueType, parsepublic AJpaFormatterWithChoices(java.lang.Class<T> pojoClass, java.lang.String pojoProperty)
public AJpaFormatterWithChoices(java.lang.Class<T> pojoClass, java.lang.String pojoProperty, IFormatter<P> formatter)
public AJpaFormatterWithChoices(java.lang.Class<T> pojoClass, java.lang.String pojoProperty, IFormatter<P> formatter, IFormatter<T> choiceDescrFormatter)
public final java.util.Set<T> getSelectableValues()
IFormatterWithChoicesFormattedTextFieldWithChoices as a delegator to get
the selectable values.getSelectableValues in interface IFormatterWithChoices<T>AFormattedTextFieldWithChoices.public java.lang.String formatChoiceDescription(T pojo)
formatChoiceDescription in interface IFormatterWithChoices<T>