public class TableHandler extends UIComponentHandlerFactoryElement
HandlerFactoryElement.HandlerTrace
Modifier and Type | Field and Description |
---|---|
protected boolean |
editMode |
protected String |
editModeJsp |
static String |
EXPORT_FORMAT |
protected Integer |
selectedColumnIndex |
protected boolean |
structuralChangesAllowed |
protected Table |
table |
protected org.jboss.dashboard.commons.comparator.ComparatorByCriteria |
tableComparator |
protected TableFormatter |
tableFormatter |
protected String |
viewModeJsp |
Constructor and Description |
---|
TableHandler() |
afterRenderComponent, beforeRenderComponent, getName
actionVoid, addFieldError, afterInvokeAction, beforeInvokeAction, calculateActionShortcuts, clearFieldErrors, getActionForShortcut, getActionName, getFieldErrors, handle, hasError, isEnabledForActionHandling, isEnableDoubleClickControl, isScopeAdequateForDoubleClickControl, isUseActionShortcuts, setEnabledForActionHandling, setEnableDoubleClickControl, setUseActionShortcuts, start
addPeriodicTask, addPeriodicTask, factoryLookup, getComponentAlias, getComponentDescription, getComponentName, getComponentScope, init, setComponentAlias, shutdown, stop
protected Table table
protected org.jboss.dashboard.commons.comparator.ComparatorByCriteria tableComparator
protected boolean editMode
protected String viewModeJsp
protected String editModeJsp
protected Integer selectedColumnIndex
protected TableFormatter tableFormatter
protected boolean structuralChangesAllowed
public static final String EXPORT_FORMAT
public Table getTable()
public void setTable(Table table)
protected org.jboss.dashboard.commons.comparator.ComparatorByCriteria createTableComparator()
public org.jboss.dashboard.commons.comparator.ComparatorByCriteria getTableComparator()
public TableFormatter getTableFormatter()
public void setTableFormatter(TableFormatter tableFormatter)
public TableColumn getSelectedColumn()
public Integer getSelectedColumnIndex()
public void setSelectedColumnIndex(Integer selectedColumnIndex)
public boolean isEditMode()
public void setEditMode(boolean editMode)
public boolean isStructuralChangesAllowed()
public void setStructuralChangesAllowed(boolean structuralChangesAllowed)
public String getComponentIncludeJSP()
getComponentIncludeJSP
in class UIComponentHandlerFactoryElement
public CommandResponse actionExecAction(CommandRequest request) throws Exception
Exception
public void actionSaveTable(CommandRequest request) throws Exception
Exception
public void actionNewColumn(CommandRequest request) throws Exception
Exception
public void actionMoveColumn(CommandRequest request) throws Exception
Exception
public void actionSelectColumn(CommandRequest request) throws Exception
Exception
public void actionDeselectColumn(CommandRequest request) throws Exception
Exception
public void actionRemoveColumn(CommandRequest request) throws Exception
Exception
public void actionSaveColumn(CommandRequest request) throws Exception
Exception
protected void saveColumn(TableColumn column, CommandRequest request) throws Exception
Exception
public void actionNextPage(CommandRequest request) throws Exception
Exception
public void actionPreviousPage(CommandRequest request) throws Exception
Exception
public void actionFirstPage(CommandRequest request) throws Exception
Exception
public void actionLastPage(CommandRequest request) throws Exception
Exception
public void actionGotoPage(CommandRequest request) throws Exception
Exception
public void actionSortByColumn(CommandRequest request) throws Exception
Exception
public CommandResponse actionSelectCellValue(CommandRequest request) throws Exception
Exception
public CommandResponse actionExportData(String format) throws Exception
Exception
Copyright © 2012-2014 JBoss by Red Hat. All Rights Reserved.