|
SAP NetWeaver 7.30 (SP02) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.admin.wizardframework.components.AbstractWizardComponent
com.sapportals.admin.wizardframework.components.AbstractInputComponent
com.sapportals.admin.wizardframework.components.tableview.TableViewComponent
public class TableViewComponent
The class that is a wrapper for the HTMLB table view component. This wrapper component simplifies the use and elaborates on the options available to a regular HTMLB table view component. It can be used by both wizards and editors.
| Field Summary | |
|---|---|
protected static String |
EVENT_HEADER_SORT
Deprecated. |
protected static String |
EVENT_ROW_SELECT
Deprecated. |
| Fields inherited from class com.sapportals.admin.wizardframework.components.AbstractInputComponent |
|---|
captionWidth, DEFAULT_PADDING, defaultCaption, defaultTooltip, defaultValue, filledIncompletely, INPUT_COMPONENT, inputComponent, label, layout, padding, VALUE, valueTargetPath |
| Fields inherited from class com.sapportals.admin.wizardframework.components.AbstractWizardComponent |
|---|
HORIZONTAL_LAYOUT, VERTICAL_LAYOUT |
| Fields inherited from interface com.sapportals.admin.wizardframework.components.tableview.TableViewConstants |
|---|
TABLE_STATE_TABLE_DATA_KEY, TABLE_VIEW_COMPONENT_KEY |
| Constructor Summary | |
|---|---|
TableViewComponent(IBasicEditingContext context)
Deprecated. A constructor that sets the context. |
|
| Method Summary | |
|---|---|
protected com.sapportals.htmlb.Component |
createInputComponent(IBasicEditingContext context)
Deprecated. Creates an input component. |
void |
doBeforeDisplay(IWizardContext context)
Deprecated. Performs synchronization between the data model and the pane. |
protected TableViewColumns |
getColumns()
Deprecated. Gets the table view columns array member. |
protected com.sapportals.htmlb.enums.TableSortState |
getColumnSortedMode(int columnIndex,
IBasicEditingContext context)
Deprecated. Gets the sort state for each column during a header click event. |
com.sapportals.htmlb.Component |
getDisplay(IWizardContext context)
Deprecated. Gets the HTMLB component to display. |
com.sapportals.htmlb.table.TableView |
getInputComponent(IBasicEditingContext ctx)
Deprecated. Gets the table view input component. |
TableDataModel |
getTableState(IBasicEditingContext context)
Deprecated. Gets the table data model object. |
Boolean |
isReadOnly(IBasicEditingContext context)
Deprecated. Indicates whether the table view is in read-only mode. |
void |
processInput(IWizardContext context)
Deprecated. Saves to the data model the values entered into wizard controls by the administrator. |
void |
renderCell(int row,
int column,
com.sapportals.htmlb.table.TableView tableView,
com.sapportals.htmlb.rendering.IPageContext rendererContext)
Deprecated. Calls a renderer for each column. |
void |
setColumns(TableViewColumn[] iColumns,
IBasicEditingContext context)
Deprecated. Sets the table view column objects. |
void |
setDeselectAll(Boolean iDeselectAll,
IBasicEditingContext context)
Deprecated. Deselects all rows. |
void |
setOnClientRowSelection(String iOnRowSelJsFuncName,
IBasicEditingContext context)
Deprecated. Adds outside implementation during a select row event. |
void |
setReadOnly(Boolean iReadOnly,
IBasicEditingContext context)
Deprecated. Sets the table view to read-only mode. |
void |
setSelectAll(Boolean iSelectAll,
IBasicEditingContext context)
Deprecated. Selects all rows. |
void |
setSelectionMode(com.sapportals.htmlb.enums.TableSelectionMode selectionMode,
IBasicEditingContext context)
Deprecated. Sets a selection mode. |
| Methods inherited from class com.sapportals.admin.wizardframework.components.AbstractInputComponent |
|---|
clear, clearIfInconsistent, getCaption, getCaptionComponent, getErrorMessages, getInputComponentGeneric, getMissingFieldErrorMessage, getTooltip, getValueGeneric, isComplete, setCaption, setCaptionWidth, setCustomErrorMessage, setLayout, setPath, setTooltip, setupComponent, setValueGeneric, setValueTargetPath |
| Methods inherited from class com.sapportals.admin.wizardframework.components.AbstractWizardComponent |
|---|
doAfterSubmit, getControlInFocus, getDescription, getPath, getProperty, getTitle, init, isInitialized, isMandatory, setMandatory, setProperty, setTempProperty, wasChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String EVENT_HEADER_SORT
protected static final String EVENT_ROW_SELECT
| Constructor Detail |
|---|
public TableViewComponent(IBasicEditingContext context)
context - the current editing context| Method Detail |
|---|
public void setColumns(TableViewColumn[] iColumns,
IBasicEditingContext context)
iColumns - an array of table view columnscontext - the current editing context
protected com.sapportals.htmlb.enums.TableSortState getColumnSortedMode(int columnIndex,
IBasicEditingContext context)
columnIndex - the column index numbercontext - the current editing context
protected TableViewColumns getColumns()
public void renderCell(int row,
int column,
com.sapportals.htmlb.table.TableView tableView,
com.sapportals.htmlb.rendering.IPageContext rendererContext)
ICellRenderer interface.
renderCell in interface com.sapportals.htmlb.table.ICellRendererrow - a row indexcolumn - a column indextableView - an instance of a tablerendererContext - a renderer context
public void setOnClientRowSelection(String iOnRowSelJsFuncName,
IBasicEditingContext context)
iOnRowSelJsFuncName - the name of a JavaScript function called
during a select row eventcontext - the current editing contextprotected com.sapportals.htmlb.Component createInputComponent(IBasicEditingContext context)
AbstractInputComponent
createInputComponent in class AbstractInputComponentcontext - the current editing context
public com.sapportals.htmlb.Component getDisplay(IWizardContext context)
AbstractInputComponentAbstractDisplayComponent or
AbstractInputComponent. The default implementation
returns null.
getDisplay in interface IWizardComponentgetDisplay in class AbstractInputComponentcontext - the current wizard context
IWizardComponent.getDisplay(com.sapportals.admin.wizardframework.api.IWizardContext)public com.sapportals.htmlb.table.TableView getInputComponent(IBasicEditingContext ctx)
ctx - the current editing context
public void processInput(IWizardContext context)
AbstractInputComponentmyProcessInput method, and then calls
processInput on all the wizard components within the pane.
processInput in interface IWizardComponentprocessInput in class AbstractInputComponentcontext - the current wizard contextIWizardComponent.processInput(com.sapportals.admin.wizardframework.api.IWizardContext)public void doBeforeDisplay(IWizardContext context)
myDoBeforeDisplay method, and then calls
doBeforeDisplay on all the wizard components within
the pane.
doBeforeDisplay in interface IWizardComponentdoBeforeDisplay in class AbstractWizardComponentcontext - the current wizard contextpublic TableDataModel getTableState(IBasicEditingContext context)
context - the current editing context
public void setSelectionMode(com.sapportals.htmlb.enums.TableSelectionMode selectionMode,
IBasicEditingContext context)
selectionMode - a selection modecontext - the current editing contextpublic Boolean isReadOnly(IBasicEditingContext context)
context - the current editing context
true if the table is in read-only mode,
false if not
public void setReadOnly(Boolean iReadOnly,
IBasicEditingContext context)
iReadOnly - true sets the table to read-only mode
false sets it to edit modecontext - the current editing context
public void setSelectAll(Boolean iSelectAll,
IBasicEditingContext context)
iSelectAll - true selects all rows
false does not select allcontext - the current editing context
public void setDeselectAll(Boolean iDeselectAll,
IBasicEditingContext context)
iDeselectAll - true deselects all
false does notcontext - the current editing context| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com]
|
api
|
EP-PIN-APF
|
[sap.com] EP-RUNTIME
|
[sap.com]
|
-
|
EP-PIN-APF
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/admin/api
|
api
|
EP-PIN
|
|
SAP NetWeaver 7.30 (SP02) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||