org.kuali.student.common.ui.client.widgets.panels.collapsable
Class VerticalCollapsableDrawer.ContentAnimation

java.lang.Object
  extended by com.google.gwt.animation.client.Animation
      extended by org.kuali.student.common.ui.client.widgets.panels.collapsable.VerticalCollapsableDrawer.ContentAnimation
Enclosing class:
VerticalCollapsableDrawer

private static class VerticalCollapsableDrawer.ContentAnimation
extends com.google.gwt.animation.client.Animation


Field Summary
private  VerticalCollapsableDrawer curPanel
          The DisclosurePanel being affected.
private  boolean opening
          Whether the item is being opened or closed.
 
Constructor Summary
private VerticalCollapsableDrawer.ContentAnimation()
           
 
Method Summary
protected  void onComplete()
           
protected  void onStart()
           
protected  void onUpdate(double progress)
           
 void setOpen(VerticalCollapsableDrawer panel, boolean animate)
          Open or close the content.
 
Methods inherited from class com.google.gwt.animation.client.Animation
cancel, interpolate, onCancel, run, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

opening

private boolean opening
Whether the item is being opened or closed.


curPanel

private VerticalCollapsableDrawer curPanel
The DisclosurePanel being affected.

Constructor Detail

VerticalCollapsableDrawer.ContentAnimation

private VerticalCollapsableDrawer.ContentAnimation()
Method Detail

setOpen

public void setOpen(VerticalCollapsableDrawer panel,
                    boolean animate)
Open or close the content.

Parameters:
panel - the panel to open or close
animate - true to animate, false to open instantly

onComplete

protected void onComplete()
Overrides:
onComplete in class com.google.gwt.animation.client.Animation

onStart

protected void onStart()
Overrides:
onStart in class com.google.gwt.animation.client.Animation

onUpdate

protected void onUpdate(double progress)
Specified by:
onUpdate in class com.google.gwt.animation.client.Animation


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.