org.cruxframework.crux.widgets.client.deviceadaptivegrid
Class DeviceAdaptiveGrid.GridSmallImpl

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Panel
              extended by com.google.gwt.user.client.ui.SimplePanel
                  extended by org.cruxframework.crux.widgets.client.deviceadaptivegrid.DeviceAdaptiveGrid.GridImpl
                      extended by org.cruxframework.crux.widgets.client.deviceadaptivegrid.DeviceAdaptiveGrid.GridSmallImpl
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.AcceptsOneWidget, com.google.gwt.user.client.ui.HasOneWidget, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, Iterable<com.google.gwt.user.client.ui.Widget>
Enclosing class:
DeviceAdaptiveGrid

protected static class DeviceAdaptiveGrid.GridSmallImpl
extends DeviceAdaptiveGrid.GridImpl


Nested Class Summary
 
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
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
 
Field Summary
 
Fields inherited from class org.cruxframework.crux.widgets.client.deviceadaptivegrid.DeviceAdaptiveGrid.GridImpl
columnDefinitions, detailDialogTitle, grid
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
protected DeviceAdaptiveGrid.GridSmallImpl()
           
 
Method Summary
 com.google.gwt.user.client.ui.Widget getActionWidget(String key)
          Retrieve the widget associated to the grid component
protected  ColumnDefinitions getGridColumnDefinitionsByDevice()
          Retrieve the columns defined to a Large device
 DataRow getRow(com.google.gwt.user.client.ui.Widget w)
           
protected  void initActionColumns()
          initialize the actions available on grid detail when in mobile visualization
 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)
           
 
Methods inherited from class org.cruxframework.crux.widgets.client.deviceadaptivegrid.DeviceAdaptiveGrid.GridImpl
addBeforeCancelRowEditionHandler, addBeforeRowEditHandler, addBeforeSaveRowEditionHandler, addBeforeShowRowDetailsHandler, addCancelRowEditionHandler, addColumnEditorValidator, addLoadRowDetailsHandler, addRowClickHandler, addRowDoubleClickHandler, addRowEditHandler, addRowRenderHandler, addScrollHandler, addShowRowDetailsHandler, clear, getCurrentPageRows, getCurrentPageSize, getDataSource, getDetailDialogTitle, getPageCount, getRowSelectionModel, getSelectedRows, goToPage, initGrid, initGrid, initGrid, initGrid, isDataLoaded, loadData, nextPage, previousPage, refresh, setDataSource, setDataSource, setDetailDialogTitle, setHeight, setPager, setRowSelectionModel, setWidth
 
Methods inherited from class com.google.gwt.user.client.ui.SimplePanel
add, getContainerElement, getWidget, iterator, remove, setWidget, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, doAttachChildren, doDetachChildren, orphan, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
 
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, resolvePotentialElement, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, sinkBitlessEvent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeviceAdaptiveGrid.GridSmallImpl

protected DeviceAdaptiveGrid.GridSmallImpl()
Method Detail

initGrid

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)
Overrides:
initGrid in class DeviceAdaptiveGrid.GridImpl
See Also:
DeviceAdaptiveGrid.GridImpl.initGrid(org.cruxframework.crux.widgets.client.deviceadaptivegrid.DeviceAdaptiveGridColumnDefinitions, int, org.cruxframework.crux.widgets.client.grid.RowSelectionModel, int, boolean, boolean, boolean, java.lang.String, boolean, java.lang.String, org.cruxframework.crux.widgets.client.grid.Grid.SortingType)

initActionColumns

protected void initActionColumns()
initialize the actions available on grid detail when in mobile visualization


getGridColumnDefinitionsByDevice

protected ColumnDefinitions getGridColumnDefinitionsByDevice()
Description copied from class: DeviceAdaptiveGrid.GridImpl
Retrieve the columns defined to a Large device

Overrides:
getGridColumnDefinitionsByDevice in class DeviceAdaptiveGrid.GridImpl
Returns:
ColumnDefinitions to a large device
See Also:
DeviceAdaptiveGrid.GridImpl.getGridColumnDefinitionsByDevice()

getRow

public DataRow getRow(com.google.gwt.user.client.ui.Widget w)
Overrides:
getRow in class DeviceAdaptiveGrid.GridImpl
Parameters:
w -
Returns:
The data row that contains the informed widget
See Also:
Grid.getRow(com.google.gwt.user.client.ui.Widget)

getActionWidget

public com.google.gwt.user.client.ui.Widget getActionWidget(String key)
Retrieve the widget associated to the grid component

Specified by:
getActionWidget in class DeviceAdaptiveGrid.GridImpl
Parameters:
id -
Returns:
Widget


Copyright © 2015. All rights reserved.