public class AppsViewportWidget extends ViewportWidget implements com.googlecode.mgwt.dom.client.recognizer.swipe.HasSwipeHandlers
Modifier and Type | Class and Description |
---|---|
static interface |
AppsViewportWidget.Listener
Listener interface for
AppsViewportWidget . |
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
Modifier and Type | Field and Description |
---|---|
static String |
APP_INACTIVE_CLASS_NAME |
Constructor and Description |
---|
AppsViewportWidget(AppsViewportWidget.Listener listener) |
Modifier and Type | Method and Description |
---|---|
com.google.gwt.event.shared.HandlerRegistration |
addSwipeEndHandler(com.googlecode.mgwt.dom.client.recognizer.swipe.SwipeEndHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addSwipeMoveHandler(com.googlecode.mgwt.dom.client.recognizer.swipe.SwipeMoveHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addSwipeStartHandler(com.googlecode.mgwt.dom.client.recognizer.swipe.SwipeStartHandler handler) |
com.google.gwt.user.client.ui.Widget |
getCurrentApp()
Get the app that is currently open.
|
com.google.gwt.user.client.Element |
getCurtain() |
void |
goToNextApp() |
void |
goToPreviousApp() |
boolean |
hasPreloader() |
boolean |
isAppClosing() |
boolean |
readyForAppSwipeOrShortcutNavigation()
Checks whether there are enough apps to navigate to next/previous app (> 1), that some app is loaded and displayed and
that no animation is currently in progress.
|
void |
removeChild(com.google.gwt.user.client.ui.Widget w) |
void |
removeChildNoTransition(com.google.gwt.user.client.ui.Widget w) |
void |
removePreloader() |
void |
setCurtainVisible(boolean visible) |
void |
setFullScreen(boolean isFullScreen)
Set the look of the application and the state of the button.
|
void |
showAppPreloader(String appName) |
void |
showChildNoTransition(com.google.gwt.user.client.ui.Widget w)
Default non-transitioning behavior, accessible to transition delegates as a fall back.
|
getTransitionDelegate, getVisibleChild, setTransitionDelegate, showChild
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
add, adopt, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final String APP_INACTIVE_CLASS_NAME
public AppsViewportWidget(AppsViewportWidget.Listener listener)
public boolean readyForAppSwipeOrShortcutNavigation()
public void setFullScreen(boolean isFullScreen)
public void goToNextApp()
public void goToPreviousApp()
public com.google.gwt.user.client.ui.Widget getCurrentApp()
public com.google.gwt.user.client.Element getCurtain()
public void setCurtainVisible(boolean visible)
public void showChildNoTransition(com.google.gwt.user.client.ui.Widget w)
ViewportWidget
showChildNoTransition
in class ViewportWidget
public void removeChild(com.google.gwt.user.client.ui.Widget w)
removeChild
in class ViewportWidget
public void removeChildNoTransition(com.google.gwt.user.client.ui.Widget w)
removeChildNoTransition
in class ViewportWidget
public boolean isAppClosing()
public void showAppPreloader(String appName)
public boolean hasPreloader()
public void removePreloader()
public com.google.gwt.event.shared.HandlerRegistration addSwipeStartHandler(com.googlecode.mgwt.dom.client.recognizer.swipe.SwipeStartHandler handler)
addSwipeStartHandler
in interface com.googlecode.mgwt.dom.client.recognizer.swipe.HasSwipeHandlers
public com.google.gwt.event.shared.HandlerRegistration addSwipeMoveHandler(com.googlecode.mgwt.dom.client.recognizer.swipe.SwipeMoveHandler handler)
addSwipeMoveHandler
in interface com.googlecode.mgwt.dom.client.recognizer.swipe.HasSwipeHandlers
public com.google.gwt.event.shared.HandlerRegistration addSwipeEndHandler(com.googlecode.mgwt.dom.client.recognizer.swipe.SwipeEndHandler handler)
addSwipeEndHandler
in interface com.googlecode.mgwt.dom.client.recognizer.swipe.HasSwipeHandlers
Copyright © 2015 Magnolia International Ltd.. All rights reserved.