Package org.apache.pivot.wtk
Class ComponentDecoratorListener.Adapter
- java.lang.Object
-
- org.apache.pivot.wtk.ComponentDecoratorListener.Adapter
-
- All Implemented Interfaces:
ComponentDecoratorListener
- Enclosing interface:
- ComponentDecoratorListener
@Deprecated public static class ComponentDecoratorListener.Adapter extends java.lang.Object implements ComponentDecoratorListener
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.Component decorator list adapter.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentDecoratorListener
ComponentDecoratorListener.Adapter, ComponentDecoratorListener.Listeners
-
-
Constructor Summary
Constructors Constructor Description Adapter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
decoratorInserted(Component component, int index)
Deprecated.Called when a decorator has been inserted into a component's decorator sequence.void
decoratorsRemoved(Component component, int index, Sequence<Decorator> decorators)
Deprecated.Called when decorators have been removed from a component's decorator sequence.void
decoratorUpdated(Component component, int index, Decorator previousDecorator)
Deprecated.Called when a decorator has been updated in a component's decorator sequence.
-
-
-
Method Detail
-
decoratorInserted
public void decoratorInserted(Component component, int index)
Deprecated.Description copied from interface:ComponentDecoratorListener
Called when a decorator has been inserted into a component's decorator sequence.- Specified by:
decoratorInserted
in interfaceComponentDecoratorListener
- Parameters:
component
- The component that has changed.index
- The starting index of the decorator that has been inserted.
-
decoratorUpdated
public void decoratorUpdated(Component component, int index, Decorator previousDecorator)
Deprecated.Description copied from interface:ComponentDecoratorListener
Called when a decorator has been updated in a component's decorator sequence.- Specified by:
decoratorUpdated
in interfaceComponentDecoratorListener
- Parameters:
component
- The component that has changed.index
- The index of the decorator that has been updated.previousDecorator
- The previous decorator at that index.
-
decoratorsRemoved
public void decoratorsRemoved(Component component, int index, Sequence<Decorator> decorators)
Deprecated.Description copied from interface:ComponentDecoratorListener
Called when decorators have been removed from a component's decorator sequence.- Specified by:
decoratorsRemoved
in interfaceComponentDecoratorListener
- Parameters:
component
- The component that has changed.index
- The starting index where decorators were removed.decorators
- The complete sequence of decorators that were removed.
-
-