|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Transformation bean definition for creating a Radio input field, which is used for attributes which can take a single value from a set of alternatives.
Method Summary | |
StaticOrderedCollectionInterface |
getDescriptionModel()
Gets the model to be used for the descriptions of the radio entry. |
int |
getSelectedIndex()
Gets the index value of a single item to be marked as selected |
String |
getSelectedItem()
Gets the value of a single item to be marked as selected |
boolean |
isBreak()
Gets the flag indicating whether to force a break after each input field. |
void |
setBreak(boolean value)
Forces a break after each input field. |
void |
setDescriptionModel(StaticOrderedCollectionInterface model)
Sets the model to be used for the descriptions of the radio entry. |
void |
setSelectedIndex(int value)
Sets the index of a single item to be marked as selected. |
void |
setSelectedItem(String value)
Sets the value of a single item to be marked as selected. |
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 setSelectedIndex(int value) throws IOException
index
- The 0-based index of the item to be selected, or -1 for nonepublic void setSelectedItem(String value) throws IOException
value
- The value of the item to be selectedpublic int getSelectedIndex()
public String getSelectedItem()
public void setBreak(boolean value)
break
- Set to true to force a line break after each input fieldpublic boolean isBreak()
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 |