org.kuali.student.common.ui.client.widgets.search
Class CollapsablePanel.ContentAnimation

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

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


Field Summary
private  CollapsablePanel curPanel
          The DisclosurePanel being affected.
private  boolean opening
          Whether the item is being opened or closed.
 
Constructor Summary
private CollapsablePanel.ContentAnimation()
           
 
Method Summary
protected  void onComplete()
           
protected  void onStart()
           
protected  void onUpdate(double progress)
           
 void setOpen(CollapsablePanel 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 CollapsablePanel curPanel
The DisclosurePanel being affected.

Constructor Detail

CollapsablePanel.ContentAnimation

private CollapsablePanel.ContentAnimation()
Method Detail

setOpen

public void setOpen(CollapsablePanel 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 © 2007-2011 The Kuali Foundation. All Rights Reserved.