Interface ComponentHelper.DroppedComponent

All Superinterfaces:
AutoCloseable
Enclosing class:
ComponentHelper

public static interface ComponentHelper.DroppedComponent extends AutoCloseable
Represents a component that was dropped from the composite component stack manager. When closed, the component is pushed back to the stack manager.
Since:
8.5.3
Author:
XIMA MEDIA GmbH
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Pushes the dropped component back to the composite component stack manager (if it was dropped).
    javax.faces.component.UIComponent
    Gets the component that was dropped from the stack.
  • Method Details

    • close

      void close()
      Pushes the dropped component back to the composite component stack manager (if it was dropped).
      Specified by:
      close in interface AutoCloseable
    • getDropped

      javax.faces.component.UIComponent getDropped()
      Gets the component that was dropped from the stack. If component was not dropped due to not meeting the criterion, this method returns null.
      Returns:
      The dropped component, or null if no component was dropped.