|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ParameterReceiver
A ParameterReceiver
can be used to receive arbitrary
parameters from any ParameterProvider
. How these parameters are
interpreted is up to the specific implementation of the receiver. For an
example, have a look at the org.palo.viewapi.uimodels.folders
package.
Method Summary | |
---|---|
void |
addParameterValue(java.lang.String parameterName,
java.lang.Object parameterValue)
Adds the specified value to the current value of the specified parameter; |
java.lang.Object |
getDefaultValue(java.lang.String parameterName)
Returns the default value for the given parameter or null, if no such parameter exists. |
java.lang.String[] |
getParameterNames()
Returns all parameter names understood by this receiver. |
java.lang.Object |
getParameterValue(java.lang.String parameterName)
Returns the value for the given parameter or null, if no such parameter is set. |
boolean |
isParameterized()
Returns true if the current instance of the object is parameterized, false otherwise. |
void |
setParameter(java.lang.String parameterName,
java.lang.Object parameterValue)
Sets the specified parameter to the specified value. |
void |
setParameterNames(java.lang.String[] parameterNames)
Sets all parameter names that can be interpreted by this receiver. |
Method Detail |
---|
java.lang.String[] getParameterNames()
void setParameterNames(java.lang.String[] parameterNames)
parameterNames
- the new set of parameter names understood by this
receiver.java.lang.Object getParameterValue(java.lang.String parameterName)
parameterName
- the name of the parameter of which the value is to
be returned.
java.lang.Object getDefaultValue(java.lang.String parameterName)
parameterName
- the name of the parameter of which the default value
is to be returned.
void setParameter(java.lang.String parameterName, java.lang.Object parameterValue)
parameterName
- the name of the parameter to set.parameterValue
- the value of the parameter to set.void addParameterValue(java.lang.String parameterName, java.lang.Object parameterValue)
parameterName
- the name of the parameter to set.parameterValue
- the value of the parameter to set.boolean isParameterized()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |