com.vaadin.addon.touchkit.gwt.client.ui
Class VerticalComponentGroupWidget

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.ComplexPanel
                  extended by com.vaadin.addon.touchkit.gwt.client.ui.VerticalComponentGroupWidget
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.IndexedPanel.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, Iterable<com.google.gwt.user.client.ui.Widget>

public class VerticalComponentGroupWidget
extends com.google.gwt.user.client.ui.ComplexPanel


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
protected  List<com.google.gwt.user.client.ui.Widget> widgets
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
VerticalComponentGroupWidget()
           
 
Method Summary
 void add(com.google.gwt.user.client.ui.Widget widget)
          Adds Widget to group
 void addOrMove(com.google.gwt.user.client.ui.Widget widget, int index)
          Add or move widget to given position
 void addWidget(com.google.gwt.user.client.ui.Widget widget, int index)
          Add widget to given position
 void clear()
           
 boolean remove(com.google.gwt.user.client.ui.Widget widget)
           
 void updateCaption(com.google.gwt.user.client.ui.Widget child, String caption, com.vaadin.client.ui.Icon icon, String width, String captionStyleName)
           
 
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove
 
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, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

widgets

protected List<com.google.gwt.user.client.ui.Widget> widgets
Constructor Detail

VerticalComponentGroupWidget

public VerticalComponentGroupWidget()
Method Detail

addOrMove

public void addOrMove(com.google.gwt.user.client.ui.Widget widget,
                      int index)
Add or move widget to given position

Parameters:
widget -
index -
componentWidth -
caption -
iconUrl -

addWidget

public void addWidget(com.google.gwt.user.client.ui.Widget widget,
                      int index)
Add widget to given position

Parameters:
widget -
index -
componentWidth -
caption -
iconUrl -

add

public void add(com.google.gwt.user.client.ui.Widget widget)
Adds Widget to group

Specified by:
add in interface com.google.gwt.user.client.ui.HasWidgets
Overrides:
add in class com.google.gwt.user.client.ui.Panel
Parameters:
widget -

remove

public boolean remove(com.google.gwt.user.client.ui.Widget widget)
Specified by:
remove in interface com.google.gwt.user.client.ui.HasWidgets
Overrides:
remove in class com.google.gwt.user.client.ui.ComplexPanel

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

updateCaption

public void updateCaption(com.google.gwt.user.client.ui.Widget child,
                          String caption,
                          com.vaadin.client.ui.Icon icon,
                          String width,
                          String captionStyleName)


Copyright © 2014 Vaadin Ltd. All rights reserved.