|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.servlet.tbeans.tableview.html.CellContentsListBoxEditor
public class CellContentsListBoxEditor
The CellContentsListBoxEditor is a TransformationBean that generates the appropriate HTML 4.0 that represent the content's of a cell that can be edited via an HTML list box component.
Note that the toString() method on this class calls the write method, which may have undesirable side effects. See BaseTransformation.toString() for more information. Debuggers often use toString() to show the value of a variable, and this may cause unexpected behavior while debugging
For More Information:
JSP custom tags provide an alternative to using the TransformationBeans. Visit the Custom Tag Library Reference for additional information on the sas:CellContentsListBoxEditor custom tag.
Note: A snapshot of the AppDev Studio Developers Site is installed on your local Web server when you install AppDev Studio. To access the site from webAF, select Help -> Developer Site .
| Field Summary |
|---|
| Fields inherited from class com.sas.servlet.tbeans.form.BaseListBox |
|---|
model, RB_KEY |
| Constructor Summary | |
|---|---|
CellContentsListBoxEditor()
Default constructor |
|
| Method Summary | |
|---|---|
ActionList |
getActions()
Gets the list of valid actions for this cell. |
TransformationInterface |
getCellContentsEditorComponent(AbstractBaseTableView viewer,
java.lang.Object value,
java.lang.String name,
ActionList actions)
Returns the tbean used for rendering the contents of the tableview's editable cell. |
AbstractBaseTableView |
getTableView()
Gets the instance of the AbstractBaseTableView containing this cell. |
void |
setActions(ActionList actions)
Sets the list of valid actions for this cell. |
void |
setLocale(java.util.Locale loc)
Set the locale |
void |
setTableView(AbstractBaseTableView viewer)
Sets the instance of the AbstractBaseTableView containing this cell. |
void |
write(java.io.PrintWriter out)
Writes the contents of the cell as an list box. |
| Methods inherited from class com.sas.servlet.tbeans.form.BaseListBox |
|---|
getModel, getMultipleSelections, getSelectedIndex, getSelectedIndexes, getSelectedItem, getSelectedItems, getSize, isSelected, isSelected, isValidateSelection, setModel, setMultipleSelections, setSelectedIndex, setSelectedIndexes, setSelectedItem, setSelectedItem, setSelectedItems, setSelectedItems, setSize, setValidateSelection |
| Methods inherited from interface com.sas.servlet.tbeans.TransformationInterface |
|---|
getCustomAttributes, getDescription, getId, getLocale, getName, getRequest, getResponse, getTagEpilog, getTagProlog, isVisible, setCustomAttributes, setDescription, setId, setName, setRequest, setResponse, setTagEpilog, setTagProlog, setVisible, write, write, write |
| Methods inherited from interface com.sas.servlet.tbeans.StyleInterface |
|---|
getStyleInfo, setStyleInfo |
| Constructor Detail |
|---|
public CellContentsListBoxEditor()
| Method Detail |
|---|
public TransformationInterface getCellContentsEditorComponent(AbstractBaseTableView viewer,
java.lang.Object value,
java.lang.String name,
ActionList actions)
TableView for an explanation of the
editing components naming requirements.
getCellContentsEditorComponent in interface TableCellContentsEditorviewer - the instance of the tableview being written.value - the value to display as the cell's contentsname - the name to use for the contents editoractions - an actionlist of all the valid actions for this cell
public void setActions(ActionList actions)
setActions in interface TableCellContentsEditoractions - an actionlist of all the valid actions for this cellpublic ActionList getActions()
getActions in interface TableCellContentsEditorpublic void setTableView(AbstractBaseTableView viewer)
setTableView in interface TableCellContentsEditortableview - an instance of AbstractBaseTableView containing this cellpublic AbstractBaseTableView getTableView()
getTableView in interface TableCellContentsEditor
public void write(java.io.PrintWriter out)
throws java.io.IOException
write in interface TransformationInterfacewrite in interface com.sas.util.WriteToPrintWriterInterfacewrite in class ListBoxout - the output stream
java.io.IOException - Thrown if some type of I/O error occurspublic void setLocale(java.util.Locale loc)
setLocale in interface TransformationInterfacesetLocale in class BaseTransformationlocale -
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||