info.magnolia.ui.vaadin.gwt.client.magnoliashell.viewport
Class ShellAppsTransitionDelegate
java.lang.Object
info.magnolia.ui.vaadin.gwt.client.magnoliashell.viewport.ShellAppsTransitionDelegate
- All Implemented Interfaces:
- TransitionDelegate
public class ShellAppsTransitionDelegate
- extends Object
- implements TransitionDelegate
The ShellAppsTransitionDelegate provides custom transition logic when activating viewport or a
specific app. It also defines its own slide and fade transitions (not those from JQueryWrapper)
because it might animate other CSS properties and can then result in CSS3 transitions through the
jquery.animate-enhanced.min.js plugin.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShellAppsTransitionDelegate
public ShellAppsTransitionDelegate(ShellAppsViewportWidget viewport,
com.vaadin.client.ApplicationConnection connection)
setActive
public void setActive(ViewportWidget viewport,
boolean active)
- Slides down if active, fades out if inactive - except if the viewport is closing.
- Specified by:
setActive
in interface TransitionDelegate
setVisibleChild
public void setVisibleChild(ViewportWidget viewport,
com.google.gwt.user.client.ui.Widget visibleChild)
- Cross-fades between shell apps.
- Specified by:
setVisibleChild
in interface TransitionDelegate
inProgress
public boolean inProgress()
- Specified by:
inProgress
in interface TransitionDelegate
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.