org.apache.pivot.wtk
Interface ComponentDecoratorListener

All Known Implementing Classes:
ComponentDecoratorListener.Adapter

public interface ComponentDecoratorListener

Component decorator listener interface.


Nested Class Summary
static class ComponentDecoratorListener.Adapter
          Component decorator list 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.
 

Method Detail

decoratorInserted

void decoratorInserted(Component component,
                       int index)
Called when a decorator has been inserted into a component's decorator sequence.

Parameters:
component -
index -

decoratorUpdated

void decoratorUpdated(Component component,
                      int index,
                      Decorator previousDecorator)
Called when a decorator has been updated in a component's decorator sequence.

Parameters:
component -
index -
previousDecorator -

decoratorsRemoved

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

Parameters:
component -
index -
decorators -