com.itmill.toolkit.terminal.gwt.client.ui
Class ITablePaging

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.itmill.toolkit.terminal.gwt.client.ui.ITablePaging
All Implemented Interfaces:
com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.ClickListener, com.google.gwt.user.client.ui.HasWidgets, Paintable, Table, Iterable<com.google.gwt.user.client.ui.Widget>

public class ITablePaging
extends com.google.gwt.user.client.ui.Composite
implements Table, Paintable, com.google.gwt.user.client.ui.ClickListener

TODO make this work (just an early prototype). We may want to have paging style table which will be much lighter than IScrollTable is.


Nested Class Summary
 class ITablePaging.BodyCell
          Abstraction of table cell content.
 
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
 HashMap rowKeysToTableRows
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Fields inherited from interface com.itmill.toolkit.terminal.gwt.client.ui.Table
SELECT_MODE_MULTI, SELECT_MODE_NONE, SELECT_MODE_SINGLE
 
Constructor Summary
ITablePaging()
           
 
Method Summary
 void add(com.google.gwt.user.client.ui.Widget w)
           
 void clear()
           
 void deselectAll()
           
 Iterator iterator()
           
 void onClick(com.google.gwt.user.client.ui.Widget sender)
           
 boolean remove(com.google.gwt.user.client.ui.Widget w)
           
 void updateFromUIDL(UIDL uidl, ApplicationConnection client)
           
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
doAttachChildren, doDetachChildren, getParent, onLoad, onUnload, removeFromParent
 
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, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setWidth, setVisible, setVisible, sinkEvents, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

rowKeysToTableRows

public HashMap rowKeysToTableRows
Constructor Detail

ITablePaging

public ITablePaging()
Method Detail

updateFromUIDL

public void updateFromUIDL(UIDL uidl,
                           ApplicationConnection client)
Specified by:
updateFromUIDL in interface Paintable

onClick

public void onClick(com.google.gwt.user.client.ui.Widget sender)
Specified by:
onClick in interface com.google.gwt.user.client.ui.ClickListener

deselectAll

public void deselectAll()

add

public void add(com.google.gwt.user.client.ui.Widget w)
Specified by:
add in interface com.google.gwt.user.client.ui.HasWidgets

clear

public void clear()
Specified by:
clear in interface com.google.gwt.user.client.ui.HasWidgets

iterator

public Iterator iterator()
Specified by:
iterator in interface com.google.gwt.user.client.ui.HasWidgets
Specified by:
iterator in interface Iterable<com.google.gwt.user.client.ui.Widget>

remove

public boolean remove(com.google.gwt.user.client.ui.Widget w)
Specified by:
remove in interface com.google.gwt.user.client.ui.HasWidgets


Copyright © 2000-2009 IT Mill Ltd. All Rights Reserved.