Class 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.
    • Constructor Detail

      • Adapter

        public Adapter()
        Deprecated.
    • 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 interface ContainerListener
        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 interface ContainerListener
        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 interface ContainerListener
        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 interface ContainerListener
        Parameters:
        container - The container that has changed.
        previousFocusTraversalPolicy - The previous value of the focus traversal policy for this container.