info.magnolia.ui.vaadin.gwt.client.magnoliashell.viewport
Class ShellAppsTransitionDelegate

java.lang.Object
  extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from interface info.magnolia.ui.vaadin.gwt.client.magnoliashell.viewport.TransitionDelegate
TransitionDelegate.BaseTransitionDelegate
 
Constructor Summary
ShellAppsTransitionDelegate(ShellAppsViewportWidget viewport, com.vaadin.client.ApplicationConnection connection)
           
 
Method Summary
 boolean inProgress()
           
 void setActive(ViewportWidget viewport, boolean active)
          Slides down if active, fades out if inactive - except if the viewport is closing.
 void setVisibleChild(ViewportWidget viewport, com.google.gwt.user.client.ui.Widget visibleChild)
          Cross-fades between shell apps.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShellAppsTransitionDelegate

public ShellAppsTransitionDelegate(ShellAppsViewportWidget viewport,
                                   com.vaadin.client.ApplicationConnection connection)
Method Detail

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.