@Deprecated public class DeviceAdaptiveGrid extends com.google.gwt.user.client.ui.Composite implements Pageable, org.cruxframework.crux.core.client.datasource.HasDataSource<org.cruxframework.crux.core.client.datasource.PagedDataSource<?>>
org.cruxframework.crux.smartfaces.client.grid.DataGrid| Modifier and Type | Class and Description |
|---|---|
protected static class |
DeviceAdaptiveGrid.GridImpl
Deprecated.
|
protected static class |
DeviceAdaptiveGrid.GridLargeImpl
Deprecated.
|
protected static class |
DeviceAdaptiveGrid.GridSmallImpl
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
detailDialogTitle
Deprecated.
|
protected DeviceAdaptiveGrid.GridImpl |
gridImpl
Deprecated.
|
protected String |
height
Deprecated.
|
| Constructor and Description |
|---|
DeviceAdaptiveGrid()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.event.shared.HandlerRegistration |
addBeforeCancelRowEditionHandler(BeforeCancelRowEditionHandler handler)
Deprecated.
|
com.google.gwt.event.shared.HandlerRegistration |
addBeforeRowEditHandler(BeforeRowEditHandler handler)
Deprecated.
|
com.google.gwt.event.shared.HandlerRegistration |
addBeforeSaveRowEditionHandler(BeforeSaveRowEditionHandler handler)
Deprecated.
|
com.google.gwt.event.shared.HandlerRegistration |
addBeforeShowRowDetailsHandler(BeforeShowRowDetailsHandler handler)
Deprecated.
|
com.google.gwt.event.shared.HandlerRegistration |
addCancelRowEditionHandler(CancelRowEditionHandler handler)
Deprecated.
|
void |
addColumnEditorValidator(String key,
ColumnEditorValidator columnEditorValidator)
Deprecated.
Add a validator to a editable column
|
com.google.gwt.event.shared.HandlerRegistration |
addLoadRowDetailsHandler(LoadRowDetailsHandler handler)
Deprecated.
|
com.google.gwt.event.shared.HandlerRegistration |
addRowClickHandler(RowClickHandler handler)
Deprecated.
|
com.google.gwt.event.shared.HandlerRegistration |
addRowDoubleClickHandler(RowDoubleClickHandler handler)
Deprecated.
|
com.google.gwt.event.shared.HandlerRegistration |
addRowEditHandler(RowEditHandler handler)
Deprecated.
|
com.google.gwt.event.shared.HandlerRegistration |
addRowRenderHandler(RowRenderHandler handler)
Deprecated.
|
void |
addScrollHandler(com.google.gwt.event.dom.client.ScrollHandler handler)
Deprecated.
|
com.google.gwt.event.shared.HandlerRegistration |
addShowRowDetailsHandler(ShowRowDetailsHandler handler)
Deprecated.
|
void |
clear()
Deprecated.
|
com.google.gwt.user.client.ui.Widget |
getActionWidget(String key)
Deprecated.
Retrieve the widget associated to the grid component
|
List<DataRow> |
getCurrentPageRows()
Deprecated.
|
int |
getCurrentPageSize()
Deprecated.
|
org.cruxframework.crux.core.client.datasource.PagedDataSource<?> |
getDataSource()
Deprecated.
|
String |
getDetailDialogTitle()
Deprecated.
|
ColumnDefinitions |
getGridColumnDefinitionsByDevice()
Deprecated.
|
String |
getHeight()
Deprecated.
|
protected Grid |
getInnerGrid()
Deprecated.
|
int |
getPageCount()
Deprecated.
Return the total number of pages
|
DataRow |
getRow(com.google.gwt.user.client.ui.Widget w)
Deprecated.
|
RowSelectionModel |
getRowSelectionModel()
Deprecated.
|
List<DataRow> |
getSelectedRows()
Deprecated.
|
void |
goToPage(int page)
Deprecated.
Moves the pageable's cursor to an arbitrary page
|
void |
initGrid(DeviceAdaptiveGridColumnDefinitions columnDefinitions,
int pageSize,
RowSelectionModel rowSelection,
int cellSpacing,
boolean autoLoadData,
boolean stretchColumns,
boolean highlightRowOnMouseOver,
String emptyDataFilling,
boolean fixedCellSize,
String defaultSortingColumn,
Grid.SortingType defaultSortingType)
Deprecated.
Initialize grid component
|
void |
initGrid(DeviceAdaptiveGridColumnDefinitions columnDefinitions,
int pageSize,
RowSelectionModel rowSelection,
int cellSpacing,
boolean autoLoadData,
boolean stretchColumns,
boolean highlightRowOnMouseOver,
String emptyDataFilling,
boolean fixedCellSize,
String defaultSortingColumn,
Grid.SortingType defaultSortingType,
boolean keepEditorOnClickDisabledRows)
Deprecated.
Initialize grid component
|
void |
initGrid(DeviceAdaptiveGridColumnDefinitions columnDefinitions,
int pageSize,
RowSelectionModel rowSelection,
int cellSpacing,
boolean autoLoadData,
boolean stretchColumns,
boolean highlightRowOnMouseOver,
String emptyDataFilling,
boolean fixedCellSize,
String defaultSortingColumn,
Grid.SortingType defaultSortingType,
boolean keepEditorOnClickDisabledRows,
boolean showEditorButtons)
Deprecated.
|
void |
initGrid(DeviceAdaptiveGridColumnDefinitions columnDefinitions,
int pageSize,
RowSelectionModel rowSelection,
int cellSpacing,
boolean autoLoadData,
boolean stretchColumns,
boolean highlightRowOnMouseOver,
String emptyDataFilling,
boolean fixedCellSize,
String defaultSortingColumn,
Grid.SortingType defaultSortingType,
boolean keepEditorOnClickDisabledRows,
boolean showEditorButtons,
boolean freezeHeaders)
Deprecated.
|
void |
initGrid(DeviceAdaptiveGridColumnDefinitions columnDefinitions,
int pageSize,
RowSelectionModel rowSelection,
int cellSpacing,
boolean autoLoadData,
boolean stretchColumns,
boolean highlightRowOnMouseOver,
String emptyDataFilling,
boolean fixedCellSize,
String defaultSortingColumn,
Grid.SortingType defaultSortingType,
boolean keepEditorOnClickDisabledRows,
boolean showEditorButtons,
boolean freezeHeaders,
String detailDialogTitle)
Deprecated.
|
boolean |
isDataLoaded()
Deprecated.
Checks if pageable data is already available
|
void |
loadData()
Deprecated.
|
void |
nextPage()
Deprecated.
Moves the pageable's cursor to the next page
|
void |
previousPage()
Deprecated.
Moves the pageable's cursor to the previous page
|
void |
refresh()
Deprecated.
|
void |
setDataSource(org.cruxframework.crux.core.client.datasource.PagedDataSource<?> dataSource)
Deprecated.
|
void |
setDataSource(org.cruxframework.crux.core.client.datasource.PagedDataSource<?> dataSource,
boolean autoLoadData)
Deprecated.
|
void |
setDetailDialogTitle(String detailDialogTitle)
Deprecated.
|
void |
setHeight(String height)
Deprecated.
|
void |
setPager(Pager pager)
Deprecated.
Sets the pager for call back
|
void |
setRowSelectionModel(RowSelectionModel rowSelectionModel)
Deprecated.
|
void |
setWidth(String width)
Deprecated.
|
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, sinkBitlessEvent, toStringprotected DeviceAdaptiveGrid.GridImpl gridImpl
protected String height
protected String detailDialogTitle
public String getDetailDialogTitle()
public void setDetailDialogTitle(String detailDialogTitle)
public String getHeight()
public void setDataSource(org.cruxframework.crux.core.client.datasource.PagedDataSource<?> dataSource)
dataSource - The datasource used to fill the gridpublic void setDataSource(org.cruxframework.crux.core.client.datasource.PagedDataSource<?> dataSource,
boolean autoLoadData)
setDataSource in interface org.cruxframework.crux.core.client.datasource.HasDataSource<org.cruxframework.crux.core.client.datasource.PagedDataSource<?>>public void addColumnEditorValidator(String key, ColumnEditorValidator columnEditorValidator)
key - columnEditorValidator - public void loadData()
Grid.loadData()public void clear()
AbstractGrid.clear()public ColumnDefinitions getGridColumnDefinitionsByDevice()
public void addScrollHandler(com.google.gwt.event.dom.client.ScrollHandler handler)
public com.google.gwt.event.shared.HandlerRegistration addRowClickHandler(RowClickHandler handler)
public com.google.gwt.event.shared.HandlerRegistration addRowDoubleClickHandler(RowDoubleClickHandler handler)
public com.google.gwt.event.shared.HandlerRegistration addRowRenderHandler(RowRenderHandler handler)
public com.google.gwt.event.shared.HandlerRegistration addBeforeShowRowDetailsHandler(BeforeShowRowDetailsHandler handler)
br.com.sysmap.crux.widgets.client.event.row.HasBeforeShowDetailsHandlers#addBeforeShowRowDetailsHandler(br.com.sysmap.crux.widgets.client.event.row.BeforeShowDetailsHandler)public com.google.gwt.event.shared.HandlerRegistration addShowRowDetailsHandler(ShowRowDetailsHandler handler)
br.com.sysmap.crux.widgets.client.event.row.HasShowRowDetailsHandlers#addShowRowDetailsHandler(br.com.sysmap.crux.widgets.client.event.row.ShowRowDetailsHandler)public com.google.gwt.event.shared.HandlerRegistration addBeforeRowEditHandler(BeforeRowEditHandler handler)
public com.google.gwt.event.shared.HandlerRegistration addCancelRowEditionHandler(CancelRowEditionHandler handler)
public com.google.gwt.event.shared.HandlerRegistration addBeforeCancelRowEditionHandler(BeforeCancelRowEditionHandler handler)
public com.google.gwt.event.shared.HandlerRegistration addRowEditHandler(RowEditHandler handler)
public com.google.gwt.event.shared.HandlerRegistration addLoadRowDetailsHandler(LoadRowDetailsHandler handler)
br.com.sysmap.crux.widgets.client.event.row.HasLoadRowDetailsHandlers#addLoadRowDetailsHandler(br.com.sysmap.crux.widgets.client.event.row.LoadRowDetailsHandler)public com.google.gwt.event.shared.HandlerRegistration addBeforeSaveRowEditionHandler(BeforeSaveRowEditionHandler handler)
public int getCurrentPageSize()
Grid.getCurrentPageSize()public org.cruxframework.crux.core.client.datasource.PagedDataSource<?> getDataSource()
getDataSource in interface org.cruxframework.crux.core.client.datasource.HasDataSource<org.cruxframework.crux.core.client.datasource.PagedDataSource<?>>Grid.getDataSource()public List<DataRow> getCurrentPageRows()
Grid.getCurrentPageRows()public void refresh()
AbstractGrid.refresh()public List<DataRow> getSelectedRows()
Grid.getSelectedRows()public void nextPage()
PageablenextPage in interface PageableGrid.nextPage()public void previousPage()
PageablepreviousPage in interface PageableGrid.previousPage()public void setPager(Pager pager)
PageablesetPager in interface Pageablepager - Grid.setPager(org.cruxframework.crux.widgets.client.paging.Pager)public void goToPage(int page)
PageablegoToPage in interface Pageablepage - The page of the requested indexGrid.goToPage(int)public DataRow getRow(com.google.gwt.user.client.ui.Widget w)
w - Grid.getRow(com.google.gwt.user.client.ui.Widget)public int getPageCount()
PageablegetPageCount in interface PageableGrid.getPageCount()public boolean isDataLoaded()
PageableisDataLoaded in interface PageableGrid.isDataLoaded()public com.google.gwt.user.client.ui.Widget getActionWidget(String key)
id - public void initGrid(DeviceAdaptiveGridColumnDefinitions columnDefinitions, int pageSize, RowSelectionModel rowSelection, int cellSpacing, boolean autoLoadData, boolean stretchColumns, boolean highlightRowOnMouseOver, String emptyDataFilling, boolean fixedCellSize, String defaultSortingColumn, Grid.SortingType defaultSortingType, boolean keepEditorOnClickDisabledRows, boolean showEditorButtons, boolean freezeHeaders, String detailDialogTitle)
public void initGrid(DeviceAdaptiveGridColumnDefinitions columnDefinitions, int pageSize, RowSelectionModel rowSelection, int cellSpacing, boolean autoLoadData, boolean stretchColumns, boolean highlightRowOnMouseOver, String emptyDataFilling, boolean fixedCellSize, String defaultSortingColumn, Grid.SortingType defaultSortingType)
columnDefinitions - The definition of grid`s columnspageSize - The maximum size of a pagerowSelection - Row selection modecellSpacing - Space between cellsautoLoadData - Load data automaticallystretchColumns - Stretch columns to content, if neededhighlightRowOnMouseOver - Highlight row when the mouse cursor is over itemptyDataFilling - fixedCellSize - Fix the size of all cellsdefaultSortingColumn - The default column used to sort datadefaultSortingType - Sorting typepublic void initGrid(DeviceAdaptiveGridColumnDefinitions columnDefinitions, int pageSize, RowSelectionModel rowSelection, int cellSpacing, boolean autoLoadData, boolean stretchColumns, boolean highlightRowOnMouseOver, String emptyDataFilling, boolean fixedCellSize, String defaultSortingColumn, Grid.SortingType defaultSortingType, boolean keepEditorOnClickDisabledRows)
columnDefinitions - The definition of grid`s columnspageSize - The maximum size of a pagerowSelection - Row selection modecellSpacing - Space between cellsautoLoadData - Load data automaticallystretchColumns - Stretch columns to content, if neededhighlightRowOnMouseOver - Highlight row when the mouse cursor is over itemptyDataFilling - fixedCellSize - Fix the size of all cellsdefaultSortingColumn - The default column used to sort datadefaultSortingType - Sorting typekeepEditorOnClickDisabledRows - Keep row's editor opened even when clicking on a disabled datarowpublic void initGrid(DeviceAdaptiveGridColumnDefinitions columnDefinitions, int pageSize, RowSelectionModel rowSelection, int cellSpacing, boolean autoLoadData, boolean stretchColumns, boolean highlightRowOnMouseOver, String emptyDataFilling, boolean fixedCellSize, String defaultSortingColumn, Grid.SortingType defaultSortingType, boolean keepEditorOnClickDisabledRows, boolean showEditorButtons)
public void initGrid(DeviceAdaptiveGridColumnDefinitions columnDefinitions, int pageSize, RowSelectionModel rowSelection, int cellSpacing, boolean autoLoadData, boolean stretchColumns, boolean highlightRowOnMouseOver, String emptyDataFilling, boolean fixedCellSize, String defaultSortingColumn, Grid.SortingType defaultSortingType, boolean keepEditorOnClickDisabledRows, boolean showEditorButtons, boolean freezeHeaders)
protected Grid getInnerGrid()
public void setHeight(String height)
setHeight in class com.google.gwt.user.client.ui.UIObjectpublic void setWidth(String width)
setWidth in class com.google.gwt.user.client.ui.UIObjectpublic RowSelectionModel getRowSelectionModel()
public void setRowSelectionModel(RowSelectionModel rowSelectionModel)
Copyright © 2016. All rights reserved.