public class Table extends DatasrcInstance implements DataBeanListener
Modifier and Type | Field and Description |
---|---|
java.lang.String |
focusedCellId |
amIinitialize, DATASOURCE, INPUTMODE, labelOverride, ONDATACAHNGE, PARAM_APP, PARAM_APPTABTYPE, PARAM_DESIGNMODE, PARAM_MOBILE, PARAM_MODULE, PARAM_PAGE, PARAM_PARENTCOMPONENT, PARAM_PARENTCONTROL, PARAM_PRESENTATION, PARAM_SCREENREADER, PARAM_SKINNAME, PARAM_TAB, PARAM_TABGROUP, PARAM_TABGROUP_MAIN, PARAM_TABLE, PARAM_USERINFO, PARAM_VERTICALLABEL, RERENDER_PROPERTY
EXCEPTION_ERROR, EXCEPTION_INFO, EXCEPTION_NONE, EXCEPTION_REQUIREDFIELD, EXCEPTION_SMARTFILL, EXCEPTION_WARNING, EXCEPTION_YESNOCANCEL, FORCE_WARNING_HANDLING, NO_PROMPT_WITH_WARNING, presentationTags, PROMPT_WHEN_WARNING_EXIST
Constructor and Description |
---|
Table() |
Modifier and Type | Method and Description |
---|---|
int |
addrow() |
void |
addSelectAllRowControl(ControlInstance selectRow) |
void |
addSelectRowControl(ControlInstance selectRow) |
java.lang.Object |
canDownload() |
void |
childHasError(BoundComponentInstance childWithError,
SetValueError newError) |
void |
clearErrors() |
int |
clearfilter()
Clear the table filter
|
void |
columnFocus() |
java.lang.String |
createRenderId(java.lang.String id,
PageInstance page) |
void |
dataChangedEvent(DataBean bean) |
void |
defaultDetailFocus() |
void |
defaultRowFocus(int row) |
boolean |
errorLevelChanged() |
int |
filtertable()
Makes the table filterable
|
void |
forceFocusRow(int row) |
void |
forceFocusRow(java.lang.String row) |
TableBody |
getBody() |
java.lang.String |
getColumnId(int colNum) |
int |
getCurrentRow() |
ControlInstance |
getDetails() |
int |
getErrorLevel()
Returns the current error level for the table
|
int |
getErrorLevelForRow(int row)
Returns the error level for the passed in row.
|
int |
getExpandedRow() |
int |
getFilterCount() |
TableFilterRow |
getFilterRow() |
boolean |
getFlagValue(int flag) |
boolean |
getHideSelectRows() |
boolean |
getMultiple() |
int |
getNewRowNum() |
int |
getOldCurrentRow() |
TableDataRow |
getRowControl() |
boolean |
getRowSelectVis() |
java.lang.String |
getSortLevel(java.lang.String sortAttribute) |
java.lang.String |
getSortOrder(java.lang.String sortAttribute) |
java.lang.String |
getTableDownloadSheetName()
Returns the string which is used to name the worksheet tab in the tabledownload functionality.
|
void |
increaseFilters() |
void |
initialize()
should be extended to do any setup required by the instance.
|
java.lang.String |
isDetailsExpanded() |
java.lang.Object |
isExpanded() |
java.lang.Object |
isFilterable() |
java.lang.String |
isFiltered() |
java.lang.Object |
isFilterOpen() |
boolean |
isLastColumn(java.lang.String colId) |
boolean |
isListTabRetain()
Check if it is resultsbean in a list and the Retain
List Table functionality is enabled via system configuration.
|
boolean |
isOnTable() |
java.lang.String |
isTableAllSelected() |
java.lang.String |
isTableSelectRowsOpen() |
java.lang.String |
isTableStartEmpty() |
boolean |
maintainControlId() |
java.lang.String |
morePagesAfter() |
java.lang.String |
morePagesBefore() |
java.lang.String |
moreRowsAfter() |
java.lang.String |
moreRowsBefore() |
java.lang.Object |
needsRefresh() |
int |
nextpage()
Changes databean offset to move the set to the next page
|
int |
nextrow()
Move to the next row
|
void |
noRowFocus() |
boolean |
preRender()
This is needed to allow the sigoption property changes on tablecols to affect the refresh of the table and force it to rerender when necessary
|
int |
previouspage()
Changes databean offset to move the set to the previous page
|
int |
previousrow()
Move to the previous row
|
int |
render()
Render this control's components
|
int |
reset()
This is called when a table is refreshed.
|
void |
resetNewRowNum() |
void |
resetPreRender()
This block removes the skipPreRender setting from all columns
when we prerender a table, we setup state during prerender of the table by preRendering from the table down to all of it's cells
when they get prerendered, they are marked to not preRender again.
|
boolean |
rowChanged() |
void |
selectmockedrecord()
Allows selection of record when in select records mode to allow user to edit set.
|
void |
setBody(TableBody body) |
int |
setCurrentRow(int row) |
void |
setDefaultFocus() |
void |
setDefaultFocus(int row) |
int |
setExpandedRow(int row) |
void |
setFilterRow(TableFilterRow tableFilterRow) |
void |
setFocusedCellId(java.lang.String id) |
void |
setHasDetails(boolean hasDetails) |
void |
setHideSelectRows(boolean hide) |
void |
setOldCurrentRow(int row) |
boolean |
shouldTableShowHelp() |
void |
showMXException(MXException mxe) |
void |
showRemoteException(java.rmi.RemoteException rme) |
void |
sortColumn() |
void |
structureChangedEvent(DataBean bean) |
int |
tablehelp()
Sets a state so that the tablebody component can check and create a help url
|
int |
togglecollapse()
Changes databean collapse flag
|
int |
toggledetails(boolean expanded) |
int |
toggledetails(boolean expanded,
boolean setFocus)
Toggles the state of a table details
|
int |
togglefilter()
Toggles the state of a table filter
|
int |
toggleselectallrows() |
int |
toggleselectrecords() |
boolean |
useNPMbo() |
boolean |
wasTableCollapseStateChanged() |
boolean |
wasTableDetailStateChanged() |
boolean |
wasTableFilterCleared() |
boolean |
wasTableFilterStateChanged() |
boolean |
wasTablePageChanged() |
boolean |
wasTableRowChanged() |
boolean |
wasTableSelectRowStateChanged() |
broadcastEvent, cleanup, getDataBean, instantiatedatasrc, instantiatedatasrcdesign
addChild, addComponent, canInsert, canInsert, canRemove, childHasErrorFocus, clearComponent, copy, eventCheck, findComponentByDescriptorId, findDesignerProperty, findProperty, findUseForLablledByComponent, getAdaptorInstance, getBoundComponent, getComponent, getComponents, getDataSource, getDescriptorControl, getDesignerProperty, getDesignerSelected, getDesignerSelectedControl, getElement, getGeneratedControl, getOriginalControl, getOriginalProperty, getProperties, getProperty, getProperty, getPropertyIgnoreFlags, getPropertyOriginator, getPropertyUncle, getRecordHover, getSkipPreRender, getTableControl, getTakesValueComponent, handleEvent, hasChanged, hasChangedConditionally, hasChildElements, hasMaskedChanged, hasRecordHover, hasVisibleChildren, isDesignerEditedProperty, isDisabled, isFocusable, isGenerated, isHiddenByLicense, isIncluded, isLastChild, isMainrecActionMenu, isMasked, isOnTableFilterRow, isOnTableTitleRow, isPersistentProperty, isReInitialize, isSelected, isToBeDisplayedOnCurrentTab, isToBeDisplayedOnTab, isVisible, launchexternal, moveChild, needsRender, parseParamvalues, preRenderChecks, quickinsert, registerDesignerEditedProperty, reInitialize, removeChild, renderChildren, resetDataSource, resolveParam, resolveParams, setAttributeError, setBoundComponent, setChangedFlag, setChangedFlag, setDesignerSelected, setDisabled, setElement, setErrorFocusOnControl, setFocus, setFocus, setFocusable, setFocusTable, setGenerated, setGeneratedControl, setIncluded, setIncluded, setNeedsRender, setOnTableFilterRow, setOnTableRow, setOnTableTitleRow, setOriginalControl, setPropertyOriginator, setPropertyUncle, setReInitialize, setReRenderFlags, setSelected, setSkipPreRender, setTableControl, setVisibility, stopRender, walkForId, walkForId
addChild, addChild, addRefreshListener, clearChildren, clearProperties, clone, clone, getBoolean, getChildCount, getChildIndex, getChildren, getConsiderInDesigner, getDescriptor, getId, getIdExtension, getInt, getLocalizedType, getPage, getParent, getParentInstance, getPropertyNames, getRefreshListeners, getRenderId, getRowNum, getSafeId, getString, getType, getWebClientSession, handleEvent, hasAnyPropertyChanged, hasLocalProperty, hasPropertyChanged, initProperty, isDynamicContainer, isOnTableRow, removeProperty, setConsiderInDesigner, setDescriptor, setDynamicContainer, setOnTable, setParent, setProperty, setProperty, setRenderId, setType, setWebClientSession, toString
public void initialize()
BaseInstance
initialize
in class ControlInstance
public boolean getHideSelectRows()
public void setHideSelectRows(boolean hide)
public boolean getMultiple()
public void addSelectAllRowControl(ControlInstance selectRow)
public void addSelectRowControl(ControlInstance selectRow)
public void setBody(TableBody body)
public TableBody getBody()
public boolean getFlagValue(int flag)
public java.lang.Object needsRefresh()
public java.lang.Object isExpanded()
public java.lang.Object isFilterOpen()
public java.lang.Object isFilterable()
public java.lang.Object canDownload()
public java.lang.String moreRowsBefore()
public java.lang.String moreRowsAfter()
public java.lang.String morePagesBefore()
public java.lang.String morePagesAfter()
public java.lang.String isFiltered()
public java.lang.String isDetailsExpanded()
public java.lang.String isTableStartEmpty()
public java.lang.String isTableAllSelected()
public java.lang.String isTableSelectRowsOpen()
public int getCurrentRow()
public void setOldCurrentRow(int row)
public int getOldCurrentRow()
public int setCurrentRow(int row) throws MXException
MXException
public int togglefilter()
public void defaultRowFocus(int row)
public void setDefaultFocus()
public void setDefaultFocus(int row)
public void defaultDetailFocus()
public int toggledetails(boolean expanded)
public int toggledetails(boolean expanded, boolean setFocus)
public ControlInstance getDetails()
public int getExpandedRow()
public int setExpandedRow(int row)
public int filtertable()
public int clearfilter() throws MXException
MXException
public void columnFocus()
public void noRowFocus()
public void setFocusedCellId(java.lang.String id)
public int previousrow() throws MXException
MXException
public int nextrow() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int previouspage() throws MXException
MXException
public int nextpage() throws MXException
MXException
public int tablehelp()
public int togglecollapse()
public int toggleselectallrows() throws MXException
MXException
public int toggleselectrecords() throws MXException
MXException
public boolean getRowSelectVis()
public boolean wasTableFilterStateChanged()
public boolean wasTableDetailStateChanged()
public boolean wasTableCollapseStateChanged()
public boolean wasTableFilterCleared()
public boolean wasTableRowChanged()
public boolean rowChanged()
public boolean wasTablePageChanged()
public boolean shouldTableShowHelp()
public boolean wasTableSelectRowStateChanged()
public void setHasDetails(boolean hasDetails)
public void dataChangedEvent(DataBean bean)
dataChangedEvent
in interface DataBeanListener
public void structureChangedEvent(DataBean bean)
structureChangedEvent
in interface DataBeanListener
public int render() throws java.lang.NoSuchMethodException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
ControlInstance
render
in class DatasrcInstance
java.lang.NoSuchMethodException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
public boolean preRender()
preRender
in class ControlInstance
public void resetPreRender()
public boolean isLastColumn(java.lang.String colId)
public java.lang.String getColumnId(int colNum)
public void sortColumn() throws MXException
MXException
public java.lang.String getSortLevel(java.lang.String sortAttribute)
public java.lang.String getSortOrder(java.lang.String sortAttribute)
public TableDataRow getRowControl()
public void increaseFilters()
public int getFilterCount()
public java.lang.String getTableDownloadSheetName()
public int addrow() throws MXException
MXException
public void showMXException(MXException mxe)
public void showRemoteException(java.rmi.RemoteException rme)
public void forceFocusRow(java.lang.String row)
public void forceFocusRow(int row)
public void setFilterRow(TableFilterRow tableFilterRow)
public TableFilterRow getFilterRow()
public boolean useNPMbo()
public boolean isListTabRetain()
public boolean errorLevelChanged()
errorLevelChanged
in class ControlInstance
public void childHasError(BoundComponentInstance childWithError, SetValueError newError)
childHasError
in class ControlInstance
public int getErrorLevelForRow(int row)
row
- public int getErrorLevel()
getErrorLevel
in class ControlInstance
public void clearErrors()
clearErrors
in class ControlInstance
public void resetNewRowNum()
public int getNewRowNum()
public int reset()
public void selectmockedrecord() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public boolean maintainControlId()
maintainControlId
in class BaseInstance
public java.lang.String createRenderId(java.lang.String id, PageInstance page)
createRenderId
in class ControlInstance
public boolean isOnTable()
isOnTable
in class BaseInstance