@Named(value="table_handler") public class TableHandler extends UIBeanHandler
BeanHandler.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() |
afterRenderBean, beforeRenderBean
actionVoid, addFieldError, afterInvokeAction, beforeInvokeAction, calculateActionShortcuts, clearFieldErrors, getActionForShortcut, getActionName, getBeanName, getFieldErrors, handle, hasError, isEnabledForActionHandling, isEnableDoubleClickControl, isUseActionShortcuts, setEnabledForActionHandling, setEnableDoubleClickControl, setUseActionShortcuts, start
public static final String EXPORT_FORMAT
protected TableFormatter tableFormatter
protected Table table
protected org.jboss.dashboard.commons.comparator.ComparatorByCriteria tableComparator
protected boolean editMode
protected String viewModeJsp
protected String editModeJsp
protected Integer selectedColumnIndex
protected boolean structuralChangesAllowed
public Table getTable()
public void setTable(Table table)
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 getBeanJSP()
getBeanJSP
in class UIBeanHandler
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-2015 JBoss by Red Hat. All Rights Reserved.