Package de.xima.fc.gui.util
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
- See Also:
ComponentHelper.dropComponentFromCompositeStackManager(FacesContext, UIComponent)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Pushes the dropped component back to the composite component stack manager (if it was dropped).javax.faces.component.UIComponentgetDropped()Gets the component that was dropped from the stack.
-
-
-
Method Detail
-
close
void close()
Pushes the dropped component back to the composite component stack manager (if it was dropped).- Specified by:
closein interfaceAutoCloseable
-
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 returnsnull.- Returns:
- The dropped component, or
nullif no component was dropped.
-
-