|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Transformation bean definition for creating a Listbox input field. A Listbox element is a menu that allows either single or multiple selections.
Method Summary | |
StaticOrderedCollectionInterface |
getDescriptionModel()
Gets the model to be used for the descriptions of the listbox entry. |
boolean |
getMultipleSelections()
Gets the multiple selection attribute |
int |
getSelectedIndex()
Gets the index of single item to be marked as selected. |
int[] |
getSelectedIndexes()
Gets the array of index values of items to be marked as selected. |
String |
getSelectedItem()
Gets the value of a single item to be marked as selected. |
StaticOrderedCollectionInterface |
getSelectedItems()
Gets the collection of values of items to be marked as selected. |
int |
getSize()
Gets the size attribute |
void |
setDescriptionModel(StaticOrderedCollectionInterface model)
Sets the model to be used for the descriptions of the listbox entry. |
void |
setMultipleSelections(boolean value)
Sets the multiple selection attribute allowing multiple selections of values in the list. |
void |
setSelectedIndex(int value)
Sets the index of single item to be marked as selected. |
void |
setSelectedIndexes(int[] value)
Sets an array of index values for items to be marked as selected. |
void |
setSelectedItem(String value)
Sets the value of a single item to be marked as selected. |
void |
setSelectedItems(StaticOrderedCollectionInterface values)
Sets a collection of values of items to be marked as selected. |
void |
setSize(int value)
Sets the size attribute. |
Methods inherited from interface com.sas.servlet.beans.TransformationInterface |
getCustomAttributes,
getDescription,
getName,
getParent,
getRequest,
getResponse,
setCustomAttributes,
setDescription,
setName,
setParent,
setRequest,
setResponse,
write,
write,
write,
write |
Method Detail |
public void setSize(int value)
size
- The maximum number of values visible to the userpublic int getSize()
public void setMultipleSelections(boolean value)
multiple
- true if multiple selections are allowedpublic boolean getMultipleSelections()
public void setSelectedIndex(int value) throws IOException
index
- The 0-based index of the item to be selected, or -1 for nonepublic void setSelectedIndexes(int[] value) throws IOException
indexArray
- An array of 0-based index values for items to be selectedpublic int getSelectedIndex()
public int[] getSelectedIndexes()
public void setSelectedItem(String value) throws IOException
value
- The value of the item to be selectedpublic void setSelectedItems(StaticOrderedCollectionInterface values) throws IOException
values
- The collection of values to be marked as selectedpublic String getSelectedItem()
public StaticOrderedCollectionInterface getSelectedItems()
public void setDescriptionModel(StaticOrderedCollectionInterface model)
model
- The collection to use for the descriptionspublic StaticOrderedCollectionInterface getDescriptionModel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |