| |
|
| java.lang.Object org.conform.format.AbstractFormat org.conform.AbstractDomainProvider
All known Subclasses: org.conform.NoEnumDomainProvider, org.conform.EnumDomainProvider,
AbstractDomainProvider | abstract public class AbstractDomainProvider extends AbstractFormat implements DomainProvider,Modifier(Code) | | derived classed need to implement:
1) createValues() -> return the list of values for the combo box,
the values must be of the same type as the property
2) formatValue() -> convert a value to a text string which is diplayed
in the combo box
or:
setValue2String -> set all format strings for all values during initialization
wilken.openshop.core.util.AbstractDomainProvider
|
AbstractDomainProvider | protected AbstractDomainProvider()(Code) | | |
AbstractDomainProvider | protected AbstractDomainProvider(String propertyName)(Code) | | |
createComparator | protected Comparator<T> createComparator()(Code) | | create the comparator for sorting
|
createValues | abstract protected List<T> createValues()(Code) | | |
formatValue | protected String formatValue(T value)(Code) | | this method can be overriden, or the format mapping must be initialized
Parameters: value - |
isSorted | protected boolean isSorted()(Code) | | override this method to have an unsorted list
|
setValue2String | public void setValue2String(Map<T, String> value2String)(Code) | | Parameters: value2String - The value2String to set. |
|
|
|