pivot.wtk
Class ExpanderListener.Adapter

java.lang.Object
  extended by pivot.wtk.ExpanderListener.Adapter
All Implemented Interfaces:
ExpanderListener
Enclosing interface:
ExpanderListener

public static class ExpanderListener.Adapter
extends Object
implements ExpanderListener

Adapts the ExpanderListener interface.

Author:
tvolkert

Nested Class Summary
 
Nested classes/interfaces inherited from interface pivot.wtk.ExpanderListener
ExpanderListener.Adapter
 
Constructor Summary
ExpanderListener.Adapter()
           
 
Method Summary
 void contentChanged(Expander expander, Component previousContent)
          Called when an expander's content component has changed.
 void expandedChanged(Expander expander)
          Called when an expander's expanded state has changed.
 void expandedChangeVetoed(Expander expander, Vote reason)
          Called when an expanded change event has been vetoed.
 Vote previewExpandedChange(Expander expander)
          Called to preview an expanded change event.
 void titleChanged(Expander expander, String previousTitle)
          Called when an expander's title has changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpanderListener.Adapter

public ExpanderListener.Adapter()
Method Detail

titleChanged

public void titleChanged(Expander expander,
                         String previousTitle)
Description copied from interface: ExpanderListener
Called when an expander's title has changed.

Specified by:
titleChanged in interface ExpanderListener

previewExpandedChange

public Vote previewExpandedChange(Expander expander)
Description copied from interface: ExpanderListener
Called to preview an expanded change event.

Specified by:
previewExpandedChange in interface ExpanderListener

expandedChangeVetoed

public void expandedChangeVetoed(Expander expander,
                                 Vote reason)
Description copied from interface: ExpanderListener
Called when an expanded change event has been vetoed.

Specified by:
expandedChangeVetoed in interface ExpanderListener

expandedChanged

public void expandedChanged(Expander expander)
Description copied from interface: ExpanderListener
Called when an expander's expanded state has changed.

Specified by:
expandedChanged in interface ExpanderListener

contentChanged

public void contentChanged(Expander expander,
                           Component previousContent)
Description copied from interface: ExpanderListener
Called when an expander's content component has changed.

Specified by:
contentChanged in interface ExpanderListener