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

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.VNavigationManager
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 VNavigationManager
extends com.google.gwt.user.client.ui.ComplexPanel


Nested Class Summary
static interface VNavigationManager.AnimationListener
           
 
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
VNavigationManager()
           
 
Method Summary
 void addAnimationListener(VNavigationManager.AnimationListener animationListener)
           
 com.google.gwt.user.client.ui.Widget getNextView()
           
 com.google.gwt.user.client.ui.Widget getPreviousView()
           
 void navigateBackward()
           
 void navigateForward()
           
 void navigateToPlaceholder(String placeHolderCaption)
          Navigates to a placeholder component that mimics VNavigationView by default.
 boolean remove(com.google.gwt.user.client.ui.Widget w)
           
 void removeAnimationListener(VNavigationManager.AnimationListener animationListener)
           
 void resetPositionsAndChildSizes()
           
 void setCurrentWidget(com.google.gwt.user.client.ui.Widget w)
           
 void setHorizontalOffset(int deltaX, boolean animate)
           
 void setNextWidget(com.google.gwt.user.client.ui.Widget w)
           
 void setPreviousWidget(com.google.gwt.user.client.ui.Widget w)
           
 
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, add, adopt, clear, 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
 

Constructor Detail

VNavigationManager

public VNavigationManager()
Method Detail

addAnimationListener

public void addAnimationListener(VNavigationManager.AnimationListener animationListener)

getNextView

public com.google.gwt.user.client.ui.Widget getNextView()

getPreviousView

public com.google.gwt.user.client.ui.Widget getPreviousView()

navigateBackward

public void navigateBackward()

navigateForward

public void navigateForward()

navigateToPlaceholder

public void navigateToPlaceholder(String placeHolderCaption)
Navigates to a placeholder component that mimics VNavigationView by default. During the animation developers can commonly make a server visit and fetch real content for new view. The given string is used in the placeholder as a caption.

Parameters:
placeHolderCaption -

remove

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

removeAnimationListener

public void removeAnimationListener(VNavigationManager.AnimationListener animationListener)

resetPositionsAndChildSizes

public void resetPositionsAndChildSizes()

setCurrentWidget

public void setCurrentWidget(com.google.gwt.user.client.ui.Widget w)

setHorizontalOffset

public void setHorizontalOffset(int deltaX,
                                boolean animate)

setNextWidget

public void setNextWidget(com.google.gwt.user.client.ui.Widget w)

setPreviousWidget

public void setPreviousWidget(com.google.gwt.user.client.ui.Widget w)


Copyright © 2014 Vaadin Ltd. All rights reserved.