Package org.apache.pivot.wtk
Class ContainerListener.Adapter
- java.lang.Object
-
- org.apache.pivot.wtk.ContainerListener.Adapter
-
- All Implemented Interfaces:
ContainerListener
- Enclosing interface:
- ContainerListener
@Deprecated public static class ContainerListener.Adapter extends java.lang.Object implements ContainerListener
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.Container listener adapter.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ContainerListener
ContainerListener.Adapter, ContainerListener.Listeners
-
-
Constructor Summary
Constructors Constructor Description Adapter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
componentInserted(Container container, int index)
Deprecated.Called when a component has been inserted into a container's component sequence.void
componentMoved(Container container, int from, int to)
Deprecated.Called when a component has moved from one z-index to another within a container.void
componentsRemoved(Container container, int index, Sequence<Component> removed)
Deprecated.Called when components have been removed from a container's component sequence.void
focusTraversalPolicyChanged(Container container, FocusTraversalPolicy previousFocusTraversalPolicy)
Deprecated.Called when a container's focus traversal policy has changed.
-
-
-
Method Detail
-
componentInserted
public void componentInserted(Container container, int index)
Deprecated.Description copied from interface:ContainerListener
Called when a component has been inserted into a container's component sequence.- Specified by:
componentInserted
in interfaceContainerListener
- Parameters:
container
- The container that has changed.index
- The index where the new component has been inserted.
-
componentsRemoved
public void componentsRemoved(Container container, int index, Sequence<Component> removed)
Deprecated.Description copied from interface:ContainerListener
Called when components have been removed from a container's component sequence.- Specified by:
componentsRemoved
in interfaceContainerListener
- Parameters:
container
- The container that has changed.index
- The starting index of the components that were removed.removed
- The complete sequence of removed components.
-
componentMoved
public void componentMoved(Container container, int from, int to)
Deprecated.Description copied from interface:ContainerListener
Called when a component has moved from one z-index to another within a container.- Specified by:
componentMoved
in interfaceContainerListener
- Parameters:
container
- The container that has changed.from
- The starting index of the component (in Z-order).to
- The place in the Z-order where this component ended up.
-
focusTraversalPolicyChanged
public void focusTraversalPolicyChanged(Container container, FocusTraversalPolicy previousFocusTraversalPolicy)
Deprecated.Description copied from interface:ContainerListener
Called when a container's focus traversal policy has changed.- Specified by:
focusTraversalPolicyChanged
in interfaceContainerListener
- Parameters:
container
- The container that has changed.previousFocusTraversalPolicy
- The previous value of the focus traversal policy for this container.
-
-