|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface representing an Integer type of EbiPortletPreference. It provides methods that are useful for working with single valued Integer preferences. The Integer type can conatain an optional range, which if set will constrain the the value (upon validation) to an integer within the range inclusive.
Inner Class Summary | |
static interface |
EbiPortletPreferenceInteger.Range
Inner interface representing a Range for the integer preferenece. |
Fields inherited from interface com.novell.afw.portlet.api.EbiPortletPreference |
TYPE_BOOLEAN,
TYPE_COMPLEX,
TYPE_INTEGER,
TYPE_PASSWORD,
TYPE_SELECT,
TYPE_STRING |
Method Summary | |
void |
clearRange()
Removes the range restriction. |
int |
getIntValue()
A convienence method that allows getting of the int value of the preference. |
EbiPortletPreferenceInteger.Range |
getRange()
Returns the the minimum and maximum value allowable for this preference or null if no range has been set. |
void |
setIntValue(int value)
A convienence method that allows setting of the int value of the preference. |
void |
setRange(int min,
int max)
Sets the minimum and maximum range for this value. |
Methods implemented from interface com.novell.afw.portlet.api.EbiPortletPreference |
getDataType,
getDescription,
getDisplayableXML,
getDisplayName,
getLocale,
getName,
getValue,
getValue,
getValues,
getValues,
isEncrypted,
isHiddenFromUser,
isMultiValued,
isReadOnly,
isRequired,
setDescription,
setDisplayName,
setHiddenFromUser,
setMultiValued,
setReadOnly,
setRequired,
setValue,
setValues,
validate |
Method Detail |
public int getIntValue()
public void setIntValue(int value)
value
- the new value for the preference.public EbiPortletPreferenceInteger.Range getRange()
public void clearRange()
public void setRange(int min, int max)
|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |