org.overlord.sramp.ui.client.widgets
Class UnorderedListPanel

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 org.overlord.sramp.ui.client.widgets.UnorderedListPanel
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.HasVisibility, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IndexedPanel, com.google.gwt.user.client.ui.IsWidget, Iterable<com.google.gwt.user.client.ui.Widget>
Direct Known Subclasses:
BreadcrumbPanel

public class UnorderedListPanel
extends com.google.gwt.user.client.ui.Panel
implements com.google.gwt.user.client.ui.IndexedPanel

Implements a simple unordered list (ul).

Author:
eric.wittmann@redhat.com

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.IndexedPanel
com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
 
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 com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
UnorderedListPanel()
          Constructor.
 
Method Summary
 void add(com.google.gwt.user.client.ui.Widget w)
           
 void clear()
           
 com.google.gwt.user.client.ui.Widget getWidget(int index)
           
 int getWidgetCount()
           
 int getWidgetIndex(com.google.gwt.user.client.ui.Widget child)
           
 Iterator<com.google.gwt.user.client.ui.Widget> iterator()
           
 boolean remove(int index)
           
 boolean remove(com.google.gwt.user.client.ui.Widget w)
           
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, adopt, disown, 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
 
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, 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
 

Constructor Detail

UnorderedListPanel

public UnorderedListPanel()
Constructor.

Method Detail

add

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

clear

public void clear()
Specified by:
clear in interface com.google.gwt.user.client.ui.HasWidgets
Overrides:
clear in class com.google.gwt.user.client.ui.Panel
See Also:
Panel.clear()

iterator

public Iterator<com.google.gwt.user.client.ui.Widget> 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>
See Also:
HasWidgets.iterator()

remove

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

getWidget

public com.google.gwt.user.client.ui.Widget getWidget(int index)
Specified by:
getWidget in interface com.google.gwt.user.client.ui.IndexedPanel
See Also:
IndexedPanel.getWidget(int)

getWidgetCount

public int getWidgetCount()
Specified by:
getWidgetCount in interface com.google.gwt.user.client.ui.IndexedPanel
See Also:
IndexedPanel.getWidgetCount()

getWidgetIndex

public int getWidgetIndex(com.google.gwt.user.client.ui.Widget child)
Specified by:
getWidgetIndex in interface com.google.gwt.user.client.ui.IndexedPanel
See Also:
IndexedPanel.getWidgetIndex(com.google.gwt.user.client.ui.Widget)

remove

public boolean remove(int index)
Specified by:
remove in interface com.google.gwt.user.client.ui.IndexedPanel
See Also:
IndexedPanel.remove(int)


Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.