org.kuali.student.common.ui.client.widgets.table.scroll
Class Table
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
org.kuali.student.common.ui.client.widgets.table.scroll.Table
- All Implemented Interfaces:
- com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.IsWidget, HasSelectionChangeHandlers, HasRetrieveAdditionalDataHandlers
public class Table
- extends com.google.gwt.user.client.ui.Composite
- implements HasRetrieveAdditionalDataHandlers, HasSelectionChangeHandlers
A table with UiBinder.
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
DEBUG_ID_PREFIX |
Constructor Summary |
Table()
|
Methods inherited from class com.google.gwt.user.client.ui.Composite |
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents |
headerSelectedCellIndex
private int headerSelectedCellIndex
focusType
private Table.FocusType focusType
uiBinder
private static Table.TableUiBinder uiBinder
retrieveDataHandlers
private final List<RetrieveAdditionalDataHandler> retrieveDataHandlers
header
@UiField
com.google.gwt.user.client.ui.FlexTable header
table
@UiField
MouseHoverFlexTable table
selectionStyle
@UiField
Table.SelectionStyle selectionStyle
scrollPanel
@UiField
com.google.gwt.user.client.ui.ScrollPanel scrollPanel
focusPanel
@UiField
com.google.gwt.user.client.ui.FocusPanel focusPanel
headerFocusPanel
@UiField
com.google.gwt.user.client.ui.FocusPanel headerFocusPanel
panel
@UiField
com.google.gwt.user.client.ui.HTMLPanel panel
tableModel
private TableModel tableModel
loading
private final LoadingDiv loading
Table
public Table()
removeAllRows
public void removeAllRows()
removeContent
public void removeContent()
addContent
public void addContent()
addHandlers
private void addHandlers()
processKeyDownOnHeader
private void processKeyDownOnHeader()
removeHeaderSelection
private void removeHeaderSelection()
processKeyLeftRight
private void processKeyLeftRight(TablePredicateFactory.Predicate tablePredicate)
processSpaceClick
private void processSpaceClick()
processKeyUpAndDownEvent
private void processKeyUpAndDownEvent(TablePredicateFactory.Predicate tablePredicate)
getHeader
public com.google.gwt.user.client.ui.FlexTable getHeader()
getContent
public com.google.gwt.user.client.ui.FlexTable getContent()
getScrollPanel
public com.google.gwt.user.client.ui.ScrollPanel getScrollPanel()
setTableModel
public void setTableModel(TableModel m)
getTableModel
public TableModel getTableModel()
onTableClicked
@UiHandler(value="table")
void onTableClicked(com.google.gwt.event.dom.client.ClickEvent event)
onTableHeaderClicked
@UiHandler(value="header")
void onTableHeaderClicked(com.google.gwt.event.dom.client.ClickEvent event)
onTableHeaderClicked
private void onTableHeaderClicked(int cellIndex,
boolean propagateEventIfNotSortingColumn)
onTableClicked
private void onTableClicked(int row,
String columnId,
TableCellWidget cellWidget)
onTableCellChanged
private void onTableCellChanged(int rowIndex,
String columnId,
TableCellWidget cellWidget)
updateTableSelection
private void updateTableSelection()
changeFocus
private void changeFocus(Table.FocusType focusType)
updateTable
public void updateTable(TableModelEvent event)
updateTableData
private void updateTableData()
updateTableCell
private void updateTableCell(int r,
int c)
updateTableStructure
private void updateTableStructure()
addRetrieveAdditionalDataHandler
public com.google.gwt.event.shared.HandlerRegistration addRetrieveAdditionalDataHandler(RetrieveAdditionalDataHandler handler)
- Specified by:
addRetrieveAdditionalDataHandler
in interface HasRetrieveAdditionalDataHandlers
displayLoading
public void displayLoading(boolean isLoading)
addSelectionChangeHandler
public com.google.gwt.event.shared.HandlerRegistration addSelectionChangeHandler(SelectionChangeHandler handler)
- Specified by:
addSelectionChangeHandler
in interface HasSelectionChangeHandlers
- See Also:
HasSelectionChangeHandlers.addSelectionChangeHandler(org.kuali.student.common.ui.client.widgets.list.SelectionChangeHandler)
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.