|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ge.research.acuity.ui.helpers.PresentationParameterToUIEditPropertyMap
This class holds all of the information necessary to render an input mechanism
for modifying the value of a PresentationObject's
parameters.
| Constructor Summary | |
PresentationParameterToUIEditPropertyMap()
|
|
| Method Summary | |
static boolean |
allowsChoices(java.lang.Class cls)
Tests to see if the argument class supports the concept of allowing slectable choices. |
static java.util.Map |
getEditChoices(java.lang.String attributeName,
java.lang.Class poCls)
Returns the set of possible choices for the argument presentation parameter constant. |
static java.lang.String |
getEditNature(java.lang.String attributeName)
Returns the presentation nature to be used for the input mechanism for the argument presentation parameter. |
static java.lang.Class |
getEditObjectClass(java.lang.String nature)
Returns the acuity ui class to be used for an input mechanism of the argument nature. |
static java.lang.String |
getEditPrompt(java.lang.String attributeName)
Returns the prompt to be used for user manipulation of parameter values. |
static boolean |
isPresentationParameter(java.lang.String attributeName)
Tests to see if the supplied test case is one of the presentation parameter constant values defined |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PresentationParameterToUIEditPropertyMap()
| Method Detail |
public static boolean allowsChoices(java.lang.Class cls)
cls - the acuity ui class to test for the ability to support selectable choices
true if the argument class is one that supports the concept of selectable choicespublic static boolean isPresentationParameter(java.lang.String attributeName)
attributeName - the test case to identify as a known presentation parameter or not
true if the argument represents a known presentation parameter; false otherwise.PresentationParameterConstants.isPresentationParameter(java.lang.String)public static java.lang.String getEditNature(java.lang.String attributeName)
attributeName - the presentation parameter to get the input mechanism presentation nature for
public static java.lang.Class getEditObjectClass(java.lang.String nature)
nature - the presentation nature for the input mechanism
public static java.util.Map getEditChoices(java.lang.String attributeName,
java.lang.Class poCls)
PresentationParameterConstants.NATURE parameter,
to filter the list of possible choices to those valid for the requesting class type.
attributeName - the presentation parameter constant to get possible values forpoCls - the acuity ui class for which the presentation parameter choices is being sought
null if no choices can be found for the presentation parameter.public static java.lang.String getEditPrompt(java.lang.String attributeName)
attributeName - the presentation parameter to get the user propmt for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||