com.vaadin.terminal.gwt.client.ui.orderedlayout
Class VMeasuringOrderedLayout

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.terminal.gwt.client.ui.orderedlayout.VMeasuringOrderedLayout
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>
Direct Known Subclasses:
VHorizontalLayout, VVerticalLayout

public class VMeasuringOrderedLayout
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
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
protected VMeasuringOrderedLayout(String className, boolean isVertical)
           
 
Method Summary
 void addOrMove(VLayoutSlot layoutSlot, int index)
           
 VLayoutSlot getSlotForChild(com.google.gwt.user.client.ui.Widget widget)
           
 int layoutPrimaryDirection(int spacingSize, int allocatedSize, int startPadding, int endPadding)
           
 int layoutSecondaryDirection(int allocatedSize, int startPadding, int endPadding)
           
 void removeSlotForWidget(com.google.gwt.user.client.ui.Widget widget)
           
 void setCaption(com.google.gwt.user.client.ui.Widget child, VCaption caption)
           
 
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, add, adopt, adopt, clear, 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

VMeasuringOrderedLayout

protected VMeasuringOrderedLayout(String className,
                                  boolean isVertical)
Method Detail

addOrMove

public void addOrMove(VLayoutSlot layoutSlot,
                      int index)

removeSlotForWidget

public void removeSlotForWidget(com.google.gwt.user.client.ui.Widget widget)

getSlotForChild

public VLayoutSlot getSlotForChild(com.google.gwt.user.client.ui.Widget widget)

setCaption

public void setCaption(com.google.gwt.user.client.ui.Widget child,
                       VCaption caption)

layoutPrimaryDirection

public int layoutPrimaryDirection(int spacingSize,
                                  int allocatedSize,
                                  int startPadding,
                                  int endPadding)

layoutSecondaryDirection

public int layoutSecondaryDirection(int allocatedSize,
                                    int startPadding,
                                    int endPadding)


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.