Class NodeExpansionChangeEvent

  • All Implemented Interfaces:
    Serializable

    public class NodeExpansionChangeEvent
    extends org.primefaces.event.AbstractAjaxBehaviorEvent
    Event for the Flowchart component, when a node was expanded or collapsed.
    Since:
    7.0.0
    Author:
    XIMA MEDIA GmbH
    See Also:
    Serialized Form
    • Constructor Detail

      • NodeExpansionChangeEvent

        public NodeExpansionChangeEvent​(javax.faces.component.UIComponent component,
                                        javax.faces.component.behavior.Behavior behavior,
                                        Map<NodeKey,​Boolean> nodeExpansionUpdates)
        Creates a new POJO with the given values.
        Parameters:
        component - Value that will be returned by FacesEvent.getComponent().
        behavior - Value that will be returned by BehaviorEvent.getBehavior().
        nodeExpansionUpdates - Value that will be returned by getNodeExpansionUpdates().
    • Method Detail

      • getNodeExpansionUpdates

        public Map<NodeKey,​Boolean> getNodeExpansionUpdates()
        Returns:
        Nodes for which the expansion state as changed, and whether it changed to collapsed (true) or expanded (false).