public abstract class AbstractDataTable<T> extends gwt.material.design.client.base.MaterialWidget implements DataDisplay<T>
DataView,
this will handle scaffolding, event registration, and attachment.| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractDataTable.DefaultTableScaffolding |
gwt.material.design.client.base.MaterialWidget.Featurecom.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled| Modifier and Type | Field and Description |
|---|---|
protected gwt.material.design.client.events.HandlerRegistry |
handlerRegistry |
protected TableScaffolding |
scaffolding |
protected DataView<T> |
view |
| Constructor and Description |
|---|
AbstractDataTable() |
AbstractDataTable(DataView<T> view) |
AbstractDataTable(DataView<T> view,
TableScaffolding scaffolding) |
AbstractDataTable(TableScaffolding scaffolding) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCategory(CategoryComponent category)
Explicitly add a
CategoryComponent, which will be drawn to the table. |
void |
addCategory(String category)
Explicitly add a category, which will be drawn to the table.
|
com.google.gwt.event.shared.HandlerRegistration |
addCategoryClosedHandler(CategoryClosedHandler handler)
Add a handler that triggers when a category is closed.
|
com.google.gwt.event.shared.HandlerRegistration |
addCategoryOpenedHandler(CategoryOpenedHandler handler)
Add a handler that triggers when a category is opened.
|
void |
addColumn(Column<T,?> column)
Add a new column to the data view.
|
void |
addColumn(Column<T,?> column,
String header)
Add a new column to the data view.
|
com.google.gwt.event.shared.HandlerRegistration |
addColumnSortHandler(ColumnSortHandler<T> handler)
Add a handler that triggers when a column is sorted.
|
com.google.gwt.event.shared.HandlerRegistration |
addComponentsRenderedHandler(ComponentsRenderedHandler handler)
Add a handler that triggers when all the components have rendered,
this can fire multiple times depending on the table settings.
Also see EventHandlers.addRenderedHandler(RenderedHandler). |
com.google.gwt.event.shared.HandlerRegistration |
addDestroyHandler(DestroyHandler handler)
Event fired when the tables view calls
DataView.destroy(). |
com.google.gwt.event.shared.HandlerRegistration |
addInsertColumnHandler(InsertColumnHandler<T> handler)
Event fired when the tables view calls
HasColumns.insertColumn(int, Column, String). |
com.google.gwt.event.shared.HandlerRegistration |
addRemoveColumnHandler(RemoveColumnHandler handler)
Event fired when the tables view calls
HasColumns.removeColumn(int). |
com.google.gwt.event.shared.HandlerRegistration |
addRenderedHandler(RenderedHandler handler)
Add a handler that triggers when all the row data has rendered after calling
AbstractDataView.setRowData(int, List).This will only fire once per call even if the data is re-rendered in the cases of sorting, etc. |
com.google.gwt.event.shared.HandlerRegistration |
addRowCollapsedHandler(RowCollapsedHandler<T> handler)
Add a handler that triggers when a row has collapsed.
|
com.google.gwt.event.shared.HandlerRegistration |
addRowCollapseHandler(RowCollapsingHandler<T> handler)
Add a handler that triggers when a row is collapsing.
|
com.google.gwt.event.shared.HandlerRegistration |
addRowContextMenuHandler(RowContextMenuHandler<T> handler)
Add a handler that triggers when a row is right clicked.
|
com.google.gwt.event.shared.HandlerRegistration |
addRowDoubleClickHandler(RowDoubleClickHandler<T> handler)
Add a handler that triggers when a row is double clicked.
|
com.google.gwt.event.shared.HandlerRegistration |
addRowExpandedHandler(RowExpandedHandler<T> handler)
Add a handler that triggers when a row has expanded.
|
com.google.gwt.event.shared.HandlerRegistration |
addRowExpandingHandler(RowExpandingHandler<T> handler)
Add a handler that triggers when a row is expanding.
|
com.google.gwt.event.shared.HandlerRegistration |
addRowLongPressHandler(RowLongPressHandler<T> handler)
Add a handler that triggers when a row is long pressed.
|
com.google.gwt.event.shared.HandlerRegistration |
addRowSelectHandler(RowSelectHandler<T> handler)
Adda a handler that is triggered when a row is selected.
|
com.google.gwt.event.shared.HandlerRegistration |
addRowShortPressHandler(RowShortPressHandler<T> handler)
Add a handler that triggers when a row is short pressed.
|
com.google.gwt.event.shared.HandlerRegistration |
addSelectAllHandler(SelectAllHandler<T> handler)
Add a handler that is triggered when select all rows is executed.
|
com.google.gwt.event.shared.HandlerRegistration |
addSetupHandler(SetupHandler handler)
Event fired when the tables view calls
DataView.setup(TableScaffolding). |
protected void |
build() |
protected boolean |
cellConsumesEventType(com.google.gwt.cell.client.Cell<?> cell,
String eventType)
Check if a cell consumes the specified event type.
|
void |
clearCategories()
Clear all categories.
|
void |
clearHandlers() |
void |
clearRows(boolean clearData)
Clear data rows.
|
void |
clearRowsAndCategories(boolean clearData)
Clear all rows and categories.
|
void |
closeCategory(CategoryComponent category)
Close an existing Category.
|
void |
closeCategory(String categoryName)
Close an existing Category.
|
void |
deselectRow(com.google.gwt.dom.client.Element row,
boolean fireEvent)
Unselect a selected row.
|
void |
disableCategory(String categoryName)
Disable a data view category.
|
void |
enableCategory(String categoryName)
Enable a data view category.
|
List<CategoryComponent> |
getCategories()
Get all registered category components.
|
CategoryComponent |
getCategory(String categoryName)
Get a stored category component.
|
int |
getColumnOffset()
Get the offset column index (used when selection mode is on).
|
List<Column<T,?>> |
getColumns()
Get the current defined columns.
|
DataSource<T> |
getDataSource()
Get the configured data source.
|
String |
getHeight()
Get the table body height.
|
int |
getLongPressDuration()
Get the long press duration requirement.
|
List<CategoryComponent> |
getOpenCategories()
Get all the open
CategoryComponent's or null if categories are disabled. |
RowComponent<T> |
getRow(int index)
Get a row by its rendered index.
|
RowComponent<T> |
getRow(T model)
Get a row by its representing model.
|
RowComponent<T> |
getRowByModel(T model)
Get a models
RowComponent or null if not found. |
int |
getRowCount()
Get the exact count of all rows.
|
RowComponentFactory<T> |
getRowFactory()
Get the views row factory.
|
int |
getRowHeight()
Get the maximum row height.
|
List<RowComponent<T>> |
getRows()
Get all data views
RowComponent's. |
int |
getRowValueIndex(com.google.gwt.dom.client.TableRowElement row)
Get the index of the row value from the associated
TableRowElement. |
TableScaffolding |
getScaffolding()
Get the tables scaffolding elements.
|
List<T> |
getSelectedRowModels(boolean visibleOnly)
Get all the selected row models.
|
SelectionType |
getSelectionType()
Get the data views row selection type.
|
int |
getTotalRows()
Get the configured total rows count.
|
DataView<T> |
getView()
Get the displays
DataView. |
com.google.gwt.view.client.Range |
getVisibleRange()
Get the range of visible rows.
|
boolean |
hasCategory(String categoryName)
Has this data view got an existing
CategoryComponent with given name. |
boolean |
hasDeselectedRows(boolean visibleOnly)
Does this view have unselected rows.
|
boolean |
hasSelectedRows(boolean visibleOnly)
Does this view have selected rows.
|
void |
insertColumn(int beforeIndex,
Column<T,?> col,
String header)
Inserts a column into the table at the specified index.
|
boolean |
isCategoryEmpty(CategoryComponent category)
Check if a category has data to provide.
|
boolean |
isDestroyOnUnload() |
boolean |
isUseCategories()
Is the data view using categories where possible.
|
boolean |
isUseLoadOverlay()
Is the data view using loading overlay mask.
|
boolean |
isUseRowExpansion()
Is the data view using row expansion.
|
boolean |
isUseStickyHeader()
True if we are using sticky table header.
|
void |
loaded(int startIndex,
List<T> data)
Data views loader has loaded data for use.
|
protected void |
onBlur() |
void |
onBrowserEvent(com.google.gwt.user.client.Event event) |
protected void |
onFocus() |
protected void |
onLoad() |
protected void |
onUnload() |
void |
openCategory(CategoryComponent category)
Open an existing Category.
|
void |
openCategory(String categoryName)
Open an existing Category.
|
com.google.gwt.event.shared.HandlerRegistration |
registerHandler(com.google.gwt.event.shared.HandlerRegistration registration) |
void |
removeColumn(int colIndex)
Remove an existing column by index.
|
void |
removeColumns()
Remove all columns.
|
void |
selectAllRows(boolean select)
Select or deselect all rows.
|
void |
selectAllRows(boolean select,
boolean fireEvent)
Select or deselect all rows.
|
void |
selectRow(com.google.gwt.dom.client.Element row,
boolean fireEvent)
Select a given row.
|
void |
setCategoryFactory(ComponentFactory<? extends CategoryComponent,String> categoryFactory)
Set your own custom
CategoryComponentFactory to generate your categories. |
void |
setDataSource(DataSource<T> dataSource)
Set a
DataSource for data loading. |
void |
setDestroyOnUnload(boolean destroyOnUnload) |
void |
setHeight(String height)
Set the table body height.
|
void |
setLoadedCallback(LoadedCallback callback)
Deprecated.
|
void |
setLongPressDuration(int longPressDuration)
Set the long press duration requirement.
|
void |
setRenderer(Renderer<T> renderer)
Set your own custom renderer.
|
void |
setRowData(int start,
List<? extends T> values)
Set values associated with the rows in the visible range.
|
void |
setRowFactory(RowComponentFactory<T> rowFactory)
Set your own custom
RowComponentFactory to generate your row components. |
void |
setRowHeight(int rowHeight)
Set maximum row height.
|
void |
setSelectionType(SelectionType selectionType)
Set the data views row selection type.
|
void |
setTotalRows(int totalRows)
Set the total row count.
|
void |
setUseCategories(boolean useCategories)
Allow the data view to generate categories,
or use added categories for row data.
|
void |
setUseLoadOverlay(boolean useLoadOverlay)
Use the loading overlay mask.
|
void |
setUseRowExpansion(boolean useRowExpansion)
Use row expansion functionality, giving the user
a way to expand rows for extra information.
|
void |
setUseStickyHeader(boolean stickyHeader)
Enable the use of sticky table header bar.
|
void |
setVisibleRange(int start,
int length)
Set the visible range or rows.
|
void |
setVisibleRange(com.google.gwt.view.client.Range range)
Set the visible range or rows.
|
void |
sort(Column<T,?> column)
Sort a column.
|
void |
sort(Column<T,?> column,
SortDir dir)
Sort a column.
|
void |
sort(int columnIndex)
Sort a column matching the given index (the index excludes the selection box row).
|
void |
sort(int columnIndex,
SortDir dir)
Sort a column matching the given index (the index excludes the selection box row).
|
void |
updateRow(T model)
Update a models row within the table.
|
$this, add, add, addAttachHandler, addBlurHandler, addClickHandler, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragLeaveHandler, addDragMoveHandler, addDragOverHandler, addDragStartHandler, addDropActivateHandler, addDropDeactivateHandler, addDropHandler, addFocusHandler, addGestureChangeHandler, addGestureEndHandler, addGestureStartHandler, addKeyDownHandler, addKeyPressHandler, addKeyUpHandler, addMouseDownHandler, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addOrientationChangeHandler, addTouchCancelHandler, addTouchEndHandler, addTouchMoveHandler, addTouchStartHandler, body, clearActiveClass, enableFeature, getBackfaceVisibility, getBackgroundColor, getBorder, getBorderBottom, getBorderLeft, getBorderMixin, getBorderRadius, getBorderRight, getBorderTop, getCenterOn, getCenterOnMixin, getChildren, getChildrenList, getCircleMixin, getColorsMixin, getDataAttribute, getDepth, getDimensionMixin, getEnabledMixin, getFlexboxMixin, getFloat, getFloatMixin, getFocusableMixin, getFontSize, getFontSizeMixin, getFontWeight, getFontWeightMixin, getGridMixin, getHandlerRegistry, getHideOn, getHideOnMixin, getHoverableMixin, getId, getIdMixin, getInitialClasses, getLayoutPosition, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpacity, getOrientation, getOrientationMixin, getPerspective, getPerspectiveOrigin, getScrollspy, getScrollspyMixin, getSeparatorMixin, getShadow, getShadowMixin, getShowOn, getShowOnMixin, getTabIndex, getTextAlign, getTextAlignMixin, getTextColor, getTooltip, getTooltipDelayMs, getTooltipHTML, getTooltipMixin, getTooltipPosition, getTransform, getTransformMixin, getTransformOrigin, getTransformStyle, getTruncateMixin, getVerticalAlign, getVerticalAlignMixin, getWaves, getWavesMixin, getWidth, insert, insert, isCircle, isDetectOrientation, isEnabled, isFeatureEnabled, isHoverable, isSeparator, isTruncate, removeHandler, setAccessKey, setBackfaceVisibility, setBackgroundColor, setBorder, setBorderBottom, setBorderLeft, setBorderRadius, setBorderRight, setBorderTop, setBottom, setCenterOn, setCircle, setClass, setDataAttribute, setDepth, setDetectOrientation, setDisplay, setEnabled, setFlex, setFlexAlignContent, setFlexAlignItems, setFlexAlignSelf, setFlexBasis, setFlexDirection, setFlexGrow, setFlexJustifyContent, setFlexOrder, setFlexShrink, setFlexWrap, setFloat, setFocus, setFontSize, setFontSize, setFontWeight, setGrid, setGwtDisplay, setHideOn, setHoverable, setId, setInitialClasses, setLayoutPosition, setLeft, setLineHeight, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setOffset, setOpacity, setOrientation, setOverflow, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPerspective, setPerspectiveOrigin, setRight, setScrollspy, setSeparator, setShadow, setShowOn, setStyle, setTabIndex, setTextAlign, setTextColor, setTooltip, setTooltipDelayMs, setTooltipHTML, setTooltipPosition, setTop, setTransform, setTransformOrigin, setTransformStyle, setTransition, setTruncate, setVerticalAlign, setVisibility, setWaves, stopTouchStartEvent, validate, windowadd, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, iterator, remove, removeadd, adopt, clear, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onDetach, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorprotected TableScaffolding scaffolding
protected gwt.material.design.client.events.HandlerRegistry handlerRegistry
public AbstractDataTable()
public AbstractDataTable(DataView<T> view)
public AbstractDataTable(TableScaffolding scaffolding)
public AbstractDataTable(DataView<T> view, TableScaffolding scaffolding)
protected void onLoad()
onLoad in class gwt.material.design.client.base.MaterialWidgetprotected void onUnload()
onUnload in class gwt.material.design.client.base.MaterialWidgetprotected void build()
public final DataView<T> getView()
DataDisplayDataView.getView in interface DataDisplay<T>public final com.google.gwt.view.client.Range getVisibleRange()
HasRowsgetVisibleRange in interface HasRows<T>HasRows.setVisibleRange(Range),
HasRows.setVisibleRange(int, int)public final void setVisibleRange(int start, int length)
HasRowsHasRows.setVisibleRange(Range).setVisibleRange in interface HasRows<T>start - the start indexlength - the lengthHasRows.getVisibleRange()public final void setVisibleRange(com.google.gwt.view.client.Range range)
HasRowssetVisibleRange in interface HasRows<T>range - the visible rangeHasRows.getVisibleRange()public final int getRowCount()
HasRowsgetRowCount in interface HasRows<T>public final void setRowData(int start, List<? extends T> values)
HasRowssetRowData in interface HasRows<T>start - the start index of the datavalues - the values within the rangepublic final void setCategoryFactory(ComponentFactory<? extends CategoryComponent,String> categoryFactory)
HasCategoriesCategoryComponentFactory to generate your categories.setCategoryFactory in interface HasCategoriespublic final CategoryComponent getCategory(String categoryName)
HasCategoriesgetCategory in interface HasCategoriescategoryName - name of the category component.public final List<CategoryComponent> getCategories()
HasCategoriesgetCategories in interface HasCategoriespublic final List<CategoryComponent> getOpenCategories()
HasCategoriesCategoryComponent's or null if categories are disabled.getOpenCategories in interface HasCategoriespublic final boolean isCategoryEmpty(CategoryComponent category)
HasCategoriesisCategoryEmpty in interface HasCategoriespublic final void addCategory(String category)
HasCategoriesaddCategory in interface HasCategoriescategory - The category name.public final void addCategory(CategoryComponent category)
HasCategoriesCategoryComponent, which will be drawn to the table.
If the category already exists then it will be ignored.addCategory in interface HasCategoriescategory - The category data defined.public final boolean hasCategory(String categoryName)
HasCategoriesCategoryComponent with given name.hasCategory in interface HasCategoriespublic final void disableCategory(String categoryName)
HasCategoriesdisableCategory in interface HasCategoriespublic final void enableCategory(String categoryName)
HasCategoriesenableCategory in interface HasCategoriespublic final void openCategory(String categoryName)
HasCategoriesopenCategory in interface HasCategoriespublic final void openCategory(CategoryComponent category)
HasCategoriesopenCategory in interface HasCategoriespublic final void closeCategory(String categoryName)
HasCategoriescloseCategory in interface HasCategoriespublic final void closeCategory(CategoryComponent category)
HasCategoriescloseCategory in interface HasCategoriespublic final void clearRowsAndCategories(boolean clearData)
HasCategoriesclearRowsAndCategories in interface HasCategoriesclearData - should we also clear the stored data.public final void clearCategories()
HasCategoriesclearCategories in interface HasCategoriespublic final void addColumn(Column<T,?> column)
HasColumnsaddColumn in interface HasColumns<T>column - the column objectpublic final void addColumn(Column<T,?> column, String header)
HasColumnsaddColumn in interface HasColumns<T>column - the column objectpublic final void insertColumn(int beforeIndex, Column<T,?> col, String header)
HasColumnsinsertColumn in interface HasColumns<T>beforeIndex - the index to insert the columncol - the column to be addedpublic final void removeColumn(int colIndex)
HasColumnsremoveColumn in interface HasColumns<T>colIndex - the columns placement indexpublic final void removeColumns()
HasColumnsremoveColumns in interface HasColumns<T>public final List<Column<T,?>> getColumns()
HasColumnsgetColumns in interface HasColumns<T>public final int getColumnOffset()
HasColumnsgetColumnOffset in interface HasColumns<T>public final void sort(int columnIndex)
HasColumnssort in interface HasColumns<T>columnIndex - valid index to the user added Columns.public final void sort(int columnIndex, SortDir dir)
HasColumnssort in interface HasColumns<T>columnIndex - valid index to the user added Columns.dir - the sort direction or null for auto reversing.public final void sort(Column<T,?> column)
HasColumnssort in interface HasColumns<T>column - matching column that was added via ##addColumn(Column).public final void sort(Column<T,?> column, SortDir dir)
HasColumnssort in interface HasColumns<T>column - matching column that was added via ##addColumn(Column).dir - the sort direction or null for auto reversing.public final void setDataSource(DataSource<T> dataSource)
HasDataSourceDataSource for data loading.setDataSource in interface HasDataSource<T>public final DataSource<T> getDataSource()
HasDataSourcegetDataSource in interface HasDataSource<T>public void loaded(int startIndex, List<T> data)
HasDataSourceloaded in interface HasDataSource<T>public final void setRenderer(Renderer<T> renderer)
HasRendererBaseRenderer for the standard rendering.setRenderer in interface HasRenderer<T>public final int getTotalRows()
HasRowsgetTotalRows in interface HasRows<T>public final void setTotalRows(int totalRows)
HasRowssetTotalRows in interface HasRows<T>public final int getRowHeight()
HasRowsgetRowHeight in interface HasRows<T>public final void setRowHeight(int rowHeight)
HasRowssetRowHeight in interface HasRows<T>public final void updateRow(T model)
HasRowspublic List<RowComponent<T>> getRows()
HasRowsRowComponent's.public final RowComponent<T> getRow(T model)
HasRowspublic final RowComponent<T> getRow(int index)
HasRowspublic final RowComponent<T> getRowByModel(T model)
HasRowsRowComponent or null if not found.getRowByModel in interface HasRows<T>model - a model with a valid equals method.RowComponent.public final void clearRows(boolean clearData)
HasRowspublic final void setRowFactory(RowComponentFactory<T> rowFactory)
HasRowsRowComponentFactory to generate your row components.setRowFactory in interface HasRows<T>public RowComponentFactory<T> getRowFactory()
HasRowsgetRowFactory in interface HasRows<T>public final void setSelectionType(SelectionType selectionType)
HasRowssetSelectionType in interface HasRows<T>public final SelectionType getSelectionType()
HasRowsgetSelectionType in interface HasRows<T>public final void selectAllRows(boolean select)
HasRowsselectAllRows in interface HasRows<T>select - true will select, false with deselectpublic final void selectAllRows(boolean select, boolean fireEvent)
HasRowsselectAllRows in interface HasRows<T>select - true will select, false with deselectfireEvent - fire the '' event.public final void selectRow(com.google.gwt.dom.client.Element row, boolean fireEvent)
HasRowspublic final void deselectRow(com.google.gwt.dom.client.Element row, boolean fireEvent)
HasRowsdeselectRow in interface HasRows<T>public final boolean hasDeselectedRows(boolean visibleOnly)
HasRowshasDeselectedRows in interface HasRows<T>visibleOnly - should we restrict this check to visible rows only.public final boolean hasSelectedRows(boolean visibleOnly)
HasRowshasSelectedRows in interface HasRows<T>visibleOnly - should we restrict this check to visible rows only.public final List<T> getSelectedRowModels(boolean visibleOnly)
HasRowsgetSelectedRowModels in interface HasRows<T>visibleOnly - should we restrict this check to visible rows only.public final boolean isUseStickyHeader()
ViewSettingsisUseStickyHeader in interface ViewSettingspublic final void setUseStickyHeader(boolean stickyHeader)
ViewSettingssetUseStickyHeader in interface ViewSettingspublic final boolean isUseCategories()
ViewSettingsisUseCategories in interface ViewSettingspublic final void setUseCategories(boolean useCategories)
ViewSettingssetUseCategories in interface ViewSettingspublic final boolean isUseLoadOverlay()
ViewSettingsisUseLoadOverlay in interface ViewSettingspublic final void setUseLoadOverlay(boolean useLoadOverlay)
ViewSettingssetUseLoadOverlay in interface ViewSettingspublic final boolean isUseRowExpansion()
ViewSettingsisUseRowExpansion in interface ViewSettingspublic final void setUseRowExpansion(boolean useRowExpansion)
ViewSettingssetUseRowExpansion in interface ViewSettingspublic final int getLongPressDuration()
ViewSettingsgetLongPressDuration in interface ViewSettingspublic final void setLongPressDuration(int longPressDuration)
ViewSettingssetLongPressDuration in interface ViewSettingspublic final String getHeight()
ViewSettingsgetHeight in interface ViewSettingspublic final void setHeight(String height)
ViewSettingssetHeight in interface ViewSettingssetHeight in class com.google.gwt.user.client.ui.UIObjectpublic void onBrowserEvent(com.google.gwt.user.client.Event event)
onBrowserEvent in interface com.google.gwt.user.client.EventListeneronBrowserEvent in class com.google.gwt.user.client.ui.Widgetprotected void onFocus()
protected void onBlur()
public final int getRowValueIndex(com.google.gwt.dom.client.TableRowElement row)
TableRowElement.row - the row elementprotected boolean cellConsumesEventType(com.google.gwt.cell.client.Cell<?> cell, String eventType)
cell - the celleventType - the event type to checkpublic TableScaffolding getScaffolding()
getScaffolding in interface DataDisplay<T>@Deprecated public void setLoadedCallback(LoadedCallback callback)
addSetupHandler(SetupHandler)public com.google.gwt.event.shared.HandlerRegistration addSetupHandler(SetupHandler handler)
DataView.setup(TableScaffolding).public com.google.gwt.event.shared.HandlerRegistration addDestroyHandler(DestroyHandler handler)
DataView.destroy().public com.google.gwt.event.shared.HandlerRegistration addInsertColumnHandler(InsertColumnHandler<T> handler)
HasColumns.insertColumn(int, Column, String).public com.google.gwt.event.shared.HandlerRegistration addRemoveColumnHandler(RemoveColumnHandler handler)
HasColumns.removeColumn(int).public boolean isDestroyOnUnload()
public void setDestroyOnUnload(boolean destroyOnUnload)
public com.google.gwt.event.shared.HandlerRegistration registerHandler(com.google.gwt.event.shared.HandlerRegistration registration)
registerHandler in interface gwt.material.design.client.events.HandlerRegistryregisterHandler in class gwt.material.design.client.base.MaterialWidgetpublic void clearHandlers()
clearHandlers in interface gwt.material.design.client.events.HandlerRegistrypublic com.google.gwt.event.shared.HandlerRegistration addSelectAllHandler(SelectAllHandler<T> handler)
EventHandlersaddSelectAllHandler in interface EventHandlers<T>public com.google.gwt.event.shared.HandlerRegistration addRowSelectHandler(RowSelectHandler<T> handler)
EventHandlersaddRowSelectHandler in interface EventHandlers<T>public com.google.gwt.event.shared.HandlerRegistration addRowExpandingHandler(RowExpandingHandler<T> handler)
EventHandlersaddRowExpandingHandler in interface EventHandlers<T>public com.google.gwt.event.shared.HandlerRegistration addRowExpandedHandler(RowExpandedHandler<T> handler)
EventHandlersaddRowExpandedHandler in interface EventHandlers<T>public com.google.gwt.event.shared.HandlerRegistration addRowCollapseHandler(RowCollapsingHandler<T> handler)
EventHandlersaddRowCollapseHandler in interface EventHandlers<T>public com.google.gwt.event.shared.HandlerRegistration addRowCollapsedHandler(RowCollapsedHandler<T> handler)
EventHandlersaddRowCollapsedHandler in interface EventHandlers<T>public com.google.gwt.event.shared.HandlerRegistration addRowContextMenuHandler(RowContextMenuHandler<T> handler)
EventHandlersaddRowContextMenuHandler in interface EventHandlers<T>public com.google.gwt.event.shared.HandlerRegistration addRowDoubleClickHandler(RowDoubleClickHandler<T> handler)
EventHandlersaddRowDoubleClickHandler in interface EventHandlers<T>public com.google.gwt.event.shared.HandlerRegistration addRowLongPressHandler(RowLongPressHandler<T> handler)
EventHandlersaddRowLongPressHandler in interface EventHandlers<T>public com.google.gwt.event.shared.HandlerRegistration addRowShortPressHandler(RowShortPressHandler<T> handler)
EventHandlersaddRowShortPressHandler in interface EventHandlers<T>public com.google.gwt.event.shared.HandlerRegistration addColumnSortHandler(ColumnSortHandler<T> handler)
EventHandlersaddColumnSortHandler in interface EventHandlers<T>public com.google.gwt.event.shared.HandlerRegistration addCategoryOpenedHandler(CategoryOpenedHandler handler)
EventHandlersaddCategoryOpenedHandler in interface EventHandlers<T>public com.google.gwt.event.shared.HandlerRegistration addCategoryClosedHandler(CategoryClosedHandler handler)
EventHandlersaddCategoryClosedHandler in interface EventHandlers<T>public com.google.gwt.event.shared.HandlerRegistration addComponentsRenderedHandler(ComponentsRenderedHandler handler)
EventHandlersEventHandlers.addRenderedHandler(RenderedHandler).addComponentsRenderedHandler in interface EventHandlers<T>public com.google.gwt.event.shared.HandlerRegistration addRenderedHandler(RenderedHandler handler)
EventHandlersAbstractDataView.setRowData(int, List).addRenderedHandler in interface EventHandlers<T>Copyright © 2018. All rights reserved.