com.github.gwtbootstrap.client.ui
Class CellTable<T>

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.Composite
              extended by com.google.gwt.user.cellview.client.AbstractHasData<T>
                  extended by com.google.gwt.user.cellview.client.AbstractCellTable<T>
                      extended by com.google.gwt.user.cellview.client.CellTable<T>
                          extended by com.github.gwtbootstrap.client.ui.CellTable<T>
Type Parameters:
T - Data Set
All Implemented Interfaces:
HasStyle, IsResponsive, HasAttachHandlers, HasHandlers, HasKeyboardPagingPolicy, HasKeyboardSelectionPolicy, EventListener, Focusable, HasVisibility, IsRenderable, IsWidget, HasCellPreviewHandlers<T>, HasData<T>, HasKeyProvider<T>, HasRows

public class CellTable<T>
extends CellTable<T>
implements HasStyle, IsResponsive

CellTable for Bootstrap style.

Since:
2.0.4.0
Author:
ohashi keisuke

Nested Class Summary
static interface CellTable.Resources
           
static interface CellTable.SelectableResources
           
static interface CellTable.SelectableStyle
           
static interface CellTable.Style
           
static class CellTable.TableType
           
 
Nested classes/interfaces inherited from class com.google.gwt.user.cellview.client.CellTable
CellTable.BasicResources
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
 
Nested classes/interfaces inherited from interface com.google.gwt.user.cellview.client.HasKeyboardPagingPolicy
HasKeyboardPagingPolicy.KeyboardPagingPolicy
 
Nested classes/interfaces inherited from interface com.google.gwt.user.cellview.client.HasKeyboardSelectionPolicy
HasKeyboardSelectionPolicy.KeyboardSelectionPolicy
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
CellTable()
           
CellTable(int pageSize)
           
CellTable(int pageSize, CellTable.Resources resources)
           
CellTable(int pageSize, CellTable.Resources resources, ProvidesKey<T> keyProvider)
           
CellTable(int pageSize, CellTable.Resources resources, ProvidesKey<T> keyProvider, Widget loadingIndicator)
           
CellTable(int pageSize, ProvidesKey<T> keyProvider)
           
CellTable(int pageSize, ProvidesKey<T> keyProvider, Widget loadingIndicator)
           
CellTable(ProvidesKey<T> keyProvider)
           
 
Method Summary
 void addStyle(Style style)
          Adds the provided style to the widget.
 void removeStyle(Style style)
          Removes the provided style from the widget.
 void setBordered(boolean bordered)
           
 void setCondensed(boolean condensed)
           
 void setHideOn(Device device)
          Sets the kind of device, this widget is hidden on.
 void setShowOn(Device device)
          Sets the kind of device, this widget is shown on.
 void setStriped(boolean striped)
           
 void setStyle(Style style)
          Replaces the widet's style with the provided one.
 
Methods inherited from class com.google.gwt.user.cellview.client.CellTable
addColumnStyleName, doSetColumnWidth, doSetHeaderVisible, getBodyHeight, getHeaderHeight, getTableBodyElement, getTableFootElement, getTableHeadElement, onLoadingStateChanged, refreshColumnWidths, removeColumnStyleName, setColumnWidth, setColumnWidth, setEmptyTableWidget, setLoadingIndicator, setTableLayoutFixed, setWidth
 
Methods inherited from class com.google.gwt.user.cellview.client.AbstractCellTable
addColumn, addColumn, addColumn, addColumn, addColumn, addColumn, addColumn, addColumnSortHandler, clearColumnWidth, convertToElements, dependsOnSelection, doSelection, flush, getChildContainer, getColumn, getColumnCount, getColumnIndex, getColumnSortList, getColumnWidth, getEmptyTableWidget, getKeyboardSelectedElement, getLoadingIndicator, getRowElement, insertColumn, insertColumn, insertColumn, insertColumn, insertColumn, insertColumn, insertColumn, isKeyboardNavigationSuppressed, onBlur, onBrowserEvent2, onFocus, redraw, redrawFooters, redrawHeaders, removeColumn, removeColumn, renderRowValues, replaceAllChildren, resetFocusOnCell, setKeyboardSelected, setRowStyles, setSelected
 
Methods inherited from class com.google.gwt.user.cellview.client.AbstractHasData
addCellPreviewHandler, addLoadingStateChangeHandler, addRangeChangeHandler, addRowCountChangeHandler, cellConsumesEventType, checkRowBounds, getAccessKey, getDisplayedItem, getDisplayedItems, getKeyboardPagingPolicy, getKeyboardSelectedRow, getKeyboardSelectionPolicy, getKeyProvider, getPageSize, getPageStart, getRowContainer, getRowCount, getSelectionModel, getTabIndex, getValueKey, getVisibleItem, getVisibleItemCount, getVisibleItems, getVisibleRange, isRowCountExact, isRowWithinBounds, onBrowserEvent, onUnload, onUpdateSelection, replaceChildren, setAccessKey, setFocus, setFocusable, setKeyboardPagingPolicy, setKeyboardSelectionPolicy, setPageSize, setPageStart, setRowCount, setRowCount, setRowData, setRowData, setSelectionModel, setSelectionModel, setTabIndex, setVisibleRange, setVisibleRange, setVisibleRangeAndClearData
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
getWidget, initWidget, isAttached, onAttach, onDetach, performDetachedInitialization, render, render, resolvePotentialElement, setWidget, wrapElement
 
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, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Constructor Detail

CellTable

public CellTable()

CellTable

public CellTable(int pageSize,
                 CellTable.Resources resources,
                 ProvidesKey<T> keyProvider,
                 Widget loadingIndicator)

CellTable

public CellTable(int pageSize,
                 CellTable.Resources resources,
                 ProvidesKey<T> keyProvider)

CellTable

public CellTable(int pageSize,
                 CellTable.Resources resources)

CellTable

public CellTable(int pageSize,
                 ProvidesKey<T> keyProvider)

CellTable

public CellTable(int pageSize,
                 ProvidesKey<T> keyProvider,
                 Widget loadingIndicator)

CellTable

public CellTable(int pageSize)

CellTable

public CellTable(ProvidesKey<T> keyProvider)
Method Detail

setStriped

public void setStriped(boolean striped)

setBordered

public void setBordered(boolean bordered)

setCondensed

public void setCondensed(boolean condensed)

setShowOn

public void setShowOn(Device device)
Sets the kind of device, this widget is shown on.

The widget is not shown on any other device.

Only works if responsive design is turned on!

Specified by:
setShowOn in interface IsResponsive
See Also:
Configurator.hasResponsiveDesign(), IsResponsive.setHideOn(Device)

setHideOn

public void setHideOn(Device device)
Sets the kind of device, this widget is hidden on.

The widget is not hidden on any other device.

Only works if responsive design is turned on!

Specified by:
setHideOn in interface IsResponsive
See Also:
Configurator.hasResponsiveDesign(), IsResponsive.setShowOn(Device)

setStyle

public void setStyle(Style style)
Replaces the widet's style with the provided one.

Specified by:
setStyle in interface HasStyle
Parameters:
style - the style to be applied to the Widget.

addStyle

public void addStyle(Style style)
Adds the provided style to the widget.

Specified by:
addStyle in interface HasStyle
Parameters:
style - the style to be added to the Widget.

removeStyle

public void removeStyle(Style style)
Removes the provided style from the widget.

Specified by:
removeStyle in interface HasStyle
Parameters:
style - the style to be removed from the Widget.


Copyright © 2012 gwtbootstrap. All Rights Reserved.