com.sap.portal.admin.studio

Class TableViewEditorComponent

java.lang.Object
  extended by com.sapportals.admin.wizardframework.components.AbstractWizardComponent
      extended by com.sapportals.admin.wizardframework.components.AbstractInputComponent
          extended by com.sapportals.admin.wizardframework.components.tableview.TableViewComponent
              extended by com.sap.portal.admin.studio.TableViewEditorComponent
All Implemented Interfaces:
IDependencyObject, IWizardComponent, TableViewConstants, com.sapportals.htmlb.table.ICellRenderer

public class TableViewEditorComponent
extends TableViewComponent

A class that represents the table view editor component. A table view editor component wraps an HTMLB table, and is used in an editor. It adds support for actions in the toolbar of the table.


Field Summary
 
Fields inherited from class com.sapportals.admin.wizardframework.components.tableview.TableViewComponent
EVENT_HEADER_SORT, EVENT_ROW_SELECT
 
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
TableViewEditorComponent(IEditorContext context)
          A blank constructor.
 
Method Summary
 void addAction(Action action, IEditorContext context)
          Adds an action that is placed as a button on the table toolbar.
 void removeAction(String actionID, IEditorContext context)
          Removes an action that was placed as a button on the table toolbar.
 
Methods inherited from class com.sapportals.admin.wizardframework.components.tableview.TableViewComponent
createInputComponent, doBeforeDisplay, getColumns, getColumnSortedMode, getDisplay, getInputComponent, getTableState, isReadOnly, processInput, renderCell, setColumns, setDeselectAll, setOnClientRowSelection, setReadOnly, setSelectAll, setSelectionMode
 
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
 

Constructor Detail

TableViewEditorComponent

public TableViewEditorComponent(IEditorContext context)
A blank constructor.

Parameters:
context - the current editor context
Method Detail

addAction

public void addAction(Action action,
                      IEditorContext context)
Adds an action that is placed as a button on the table toolbar.

Parameters:
action - the action to add
context - the current editor context

removeAction

public void removeAction(String actionID,
                         IEditorContext context)
Removes an action that was placed as a button on the table toolbar.

Parameters:
actionID - the ID of the action to remove
context - the current editor context
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-RUNTIME [sap.com] tc/ep/admin/api api EP-PIN


Copyright 2011 SAP AG Complete Copyright Notice