org.apache.pivot.wtk
Class ComponentDecoratorListener.Adapter

java.lang.Object
  extended by org.apache.pivot.wtk.ComponentDecoratorListener.Adapter
All Implemented Interfaces:
ComponentDecoratorListener
Enclosing interface:
ComponentDecoratorListener

public static class ComponentDecoratorListener.Adapter
extends Object
implements ComponentDecoratorListener

Component decorator list adapter.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentDecoratorListener
ComponentDecoratorListener.Adapter
 
Constructor Summary
ComponentDecoratorListener.Adapter()
           
 
Method Summary
 void decoratorInserted(Component component, int index)
          Called when a decorator has been inserted into a component's decorator sequence.
 void decoratorsRemoved(Component component, int index, Sequence<Decorator> decorators)
          Called when decorators have been removed from a component's decorator sequence.
 void decoratorUpdated(Component component, int index, Decorator previousDecorator)
          Called when a decorator has been updated in a component's decorator sequence.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentDecoratorListener.Adapter

public ComponentDecoratorListener.Adapter()
Method Detail

decoratorInserted

public void decoratorInserted(Component component,
                              int index)
Description copied from interface: ComponentDecoratorListener
Called when a decorator has been inserted into a component's decorator sequence.

Specified by:
decoratorInserted in interface ComponentDecoratorListener

decoratorUpdated

public void decoratorUpdated(Component component,
                             int index,
                             Decorator previousDecorator)
Description copied from interface: ComponentDecoratorListener
Called when a decorator has been updated in a component's decorator sequence.

Specified by:
decoratorUpdated in interface ComponentDecoratorListener

decoratorsRemoved

public void decoratorsRemoved(Component component,
                              int index,
                              Sequence<Decorator> decorators)
Description copied from interface: ComponentDecoratorListener
Called when decorators have been removed from a component's decorator sequence.

Specified by:
decoratorsRemoved in interface ComponentDecoratorListener