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, hashCode
cast, format, getValueType, parse
getClass, notify, notifyAll, toString, wait, wait, wait
cast, format, getValueType, parse
public 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()
IFormatterWithChoices
FormattedTextFieldWithChoices
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>