|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PropertyChoicesFacet
Provides a set of choices for a property.
Viewers would typically represent this as a drop-down list box for the property.
In the standard Naked Objects Programming Model, corresponds to the choicesXxx supporting method for the property with accessor getXxx.
Note: an alternative mechanism may be to use the @Bounded annotation against the referenced class.
| Method Summary | |
|---|---|
java.lang.Object[] |
getChoices(NakedObject adapter)
Gets the available choices for this property. |
| Methods inherited from interface org.nakedobjects.metamodel.facets.Facet |
|---|
alwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacet |
| Method Detail |
|---|
java.lang.Object[] getChoices(NakedObject adapter)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||