public class TableViewComponent extends AbstractInputComponent implements com.sapportals.htmlb.table.ICellRenderer, TableViewConstants
| Modifier and Type | Field and Description |
|---|---|
protected static String |
EVENT_HEADER_SORT
Deprecated.
|
protected static String |
EVENT_ROW_SELECT
Deprecated.
|
captionWidth, DEFAULT_PADDING, defaultCaption, defaultTooltip, defaultValue, filledIncompletely, INPUT_COMPONENT, inputComponent, label, layout, padding, VALUE, valueTargetPathHORIZONTAL_LAYOUT, VERTICAL_LAYOUTTABLE_STATE_TABLE_DATA_KEY, TABLE_VIEW_COMPONENT_KEY| Constructor and Description |
|---|
TableViewComponent(IBasicEditingContext context)
Deprecated.
A constructor that sets the context.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
clear, clearIfInconsistent, getCaption, getCaptionComponent, getErrorMessages, getInputComponentGeneric, getMissingFieldErrorMessage, getTooltip, getValueGeneric, isComplete, setCaption, setCaptionWidth, setCustomErrorMessage, setLayout, setPath, setTooltip, setupComponent, setValueGeneric, setValueTargetPathdoAfterSubmit, getControlInFocus, getDescription, getPath, getProperty, getTitle, init, isInitialized, isMandatory, setMandatory, setProperty, setTempProperty, wasChangedprotected static final String EVENT_HEADER_SORT
protected static final String EVENT_ROW_SELECT
public TableViewComponent(IBasicEditingContext context)
context - the current editing contextpublic void setColumns(TableViewColumn[] iColumns, IBasicEditingContext context)
iColumns - an array of table view columnscontext - the current editing contextprotected com.sapportals.htmlb.enums.TableSortState getColumnSortedMode(int columnIndex,
IBasicEditingContext context)
columnIndex - the column index numbercontext - the current editing contextprotected 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 contextpublic 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)
AbstractInputComponentcreateInputComponent in class AbstractInputComponentcontext - the current editing contextpublic 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 contextIWizardComponent.getDisplay(com.sapportals.admin.wizardframework.api.IWizardContext)public com.sapportals.htmlb.table.TableView getInputComponent(IBasicEditingContext ctx)
ctx - the current editing contextpublic 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 contextpublic 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 contexttrue if the table is in read-only mode,
false if notpublic void setReadOnly(Boolean iReadOnly, IBasicEditingContext context)
iReadOnly - true sets the table to read-only mode
false sets it to edit modecontext - the current editing contextpublic void setSelectAll(Boolean iSelectAll, IBasicEditingContext context)
iSelectAll - true selects all rows
false does not select allcontext - the current editing contextpublic 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]
|
-
|
EP-PIN-APF
|
[sap.com] EP-RUNTIME
|
[sap.com]
|
api
|
EP-PIN-APF
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/admin/api
|
api
|
EP-PIN
|
Copyright 2021 SAP SE Complete Copyright Notice