com.google.gwt.widgetideas.table.client
Class PagingOptions

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.widgetideas.table.client.PagingOptions
All Implemented Interfaces:
com.google.gwt.user.client.EventListener

public class PagingOptions
extends com.google.gwt.user.client.ui.Composite

A panel that wraps a PagingScrollTable and includes options to manipulate the page.

CSS Style Rules


Nested Class Summary
static interface PagingOptions.PagingOptionsImages
          An ImageBundle that provides images for PagingOptions.
 
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
 
Field Summary
static java.lang.String DEFAULT_STYLENAME
          The default style name.
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
PagingOptions(PagingScrollTable<?> table)
          Constructor.
PagingOptions(PagingScrollTable<?> table, PagingOptions.PagingOptionsImages images)
          Constructor.
 
Method Summary
protected  com.google.gwt.user.client.ui.Widget createSpacer()
          Create a widget that can be used to add space.
 PagingScrollTable<?> getPagingScrollTable()
           
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
getElement, getWidget, initWidget, isAttached, onAttach, onDetach, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
doAttachChildren, doDetachChildren, getParent, onBrowserEvent, onLoad, onUnload, removeFromParent, setElement
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkEvents, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_STYLENAME

public static final java.lang.String DEFAULT_STYLENAME
The default style name.

See Also:
Constant Field Values
Constructor Detail

PagingOptions

public PagingOptions(PagingScrollTable<?> table)
Constructor.

Parameters:
table - the table being ad

PagingOptions

public PagingOptions(PagingScrollTable<?> table,
                     PagingOptions.PagingOptionsImages images)
Constructor.

Parameters:
table - the table being affected
images - the images to use
Method Detail

getPagingScrollTable

public PagingScrollTable<?> getPagingScrollTable()
Returns:
the PagingScrollTable.

createSpacer

protected com.google.gwt.user.client.ui.Widget createSpacer()
Create a widget that can be used to add space.

Returns:
a spacer widget