|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.servlet.tbeans.tableview.HttpEditController
public class HttpEditController
Interface for implementing controllers to assist html tables in editing.
When specifying a column when using the method on the EditController, use the actual column name from the model and not the column label to avoid conflicts between the two.
| Field Summary |
|---|
| Fields inherited from class com.sas.swing.visuals.tableview.EditController |
|---|
editableColumns, editEnabled, insertMode |
| Fields inherited from interface com.sas.table.EditControllerInterface |
|---|
DEFAULT_INDEX, EXTEND, INSERT |
| Constructor Summary | |
|---|---|
HttpEditController()
Default constructor |
|
| Method Summary | |
|---|---|
boolean |
isEditColumnVisible()
Returns whether the TableView's editColumn should be rendered. |
boolean |
isEditRowVisible()
Returns whether the TableView's editRow should be rendered. |
boolean |
isSingleRowEditingEnabled()
Returns whether or not singleRowEditing is enabled. |
void |
setEditColumnVisible(boolean visible)
Set whether the TableView's editColumn should be rendered. |
void |
setEditRowVisible(boolean visible)
Set whether the TableView's editRow should be rendered. |
void |
setSingleRowEditingEnabled(boolean singleRowEditing)
Sets whether or not singleRowEditing is enabled. |
| Methods inherited from class com.sas.swing.visuals.tableview.EditController |
|---|
getEditableColumns, getInsertMode, isEditableColumn, isEditEnabled, setEditableColumns, setEditEnabled, setInsertMode |
| Constructor Detail |
|---|
public HttpEditController()
| Method Detail |
|---|
public void setSingleRowEditingEnabled(boolean singleRowEditing)
singleRowEditing - A boolean indicating whether a single row or all rows
are editable.public boolean isSingleRowEditingEnabled()
public boolean isEditColumnVisible()
setEditColumnVisible(boolean)public void setEditColumnVisible(boolean visible)
visible - true if the TableView's editColumn should be rendered.isEditColumnVisible()public boolean isEditRowVisible()
setEditRowVisible(boolean)public void setEditRowVisible(boolean visible)
visible - true if the TableView's editRow should be rendered.isEditRowVisible()
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||