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

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.SimplePanel
                  extended by com.vaadin.addon.touchkit.gwt.client.ui.VSwipeView
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.AcceptsOneWidget, com.google.gwt.user.client.ui.HasOneWidget, 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.IsWidget, Iterable<com.google.gwt.user.client.ui.Widget>
Direct Known Subclasses:
VSwipeViewIEImpl

public class VSwipeView
extends com.google.gwt.user.client.ui.SimplePanel


Nested Class Summary
static interface VSwipeView.SwipeListener
           
 
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.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
 
Field Summary
protected  com.google.gwt.event.dom.client.TouchStartEvent dragStartEvent
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
VSwipeView()
           
 
Method Summary
protected  void dragEnd(com.google.gwt.event.dom.client.HumanInputEvent event)
           
protected  void dragMove(com.google.gwt.event.dom.client.HumanInputEvent event)
           
protected  void dragStart(com.google.gwt.event.dom.client.HumanInputEvent event)
           
 int getScrollTop()
           
 VSwipeView.SwipeListener getSwipeListener()
           
protected  void initHandlers()
           
 boolean isEnabled()
           
protected  void onAttach()
           
 void setEnabled(boolean enabled)
           
 void setScrollTop(int scrolloffset)
           
 void setSwipeListener(VSwipeView.SwipeListener swipeListener)
           
 
Methods inherited from class com.google.gwt.user.client.ui.SimplePanel
add, getContainerElement, getWidget, iterator, remove, setWidget, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
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, 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

dragStartEvent

protected com.google.gwt.event.dom.client.TouchStartEvent dragStartEvent
Constructor Detail

VSwipeView

public VSwipeView()
Method Detail

initHandlers

protected void initHandlers()

isEnabled

public boolean isEnabled()

setEnabled

public void setEnabled(boolean enabled)

dragStart

protected void dragStart(com.google.gwt.event.dom.client.HumanInputEvent event)

onAttach

protected void onAttach()
Overrides:
onAttach in class com.google.gwt.user.client.ui.Widget

dragMove

protected void dragMove(com.google.gwt.event.dom.client.HumanInputEvent event)

setScrollTop

public void setScrollTop(int scrolloffset)

dragEnd

protected void dragEnd(com.google.gwt.event.dom.client.HumanInputEvent event)

getScrollTop

public int getScrollTop()

getSwipeListener

public VSwipeView.SwipeListener getSwipeListener()

setSwipeListener

public void setSwipeListener(VSwipeView.SwipeListener swipeListener)


Copyright © 2014 Vaadin Ltd. All rights reserved.