com.vaadin.ui.

Class Tree.ExpandEvent

  • All Implemented Interfaces:

    Serializable

    Enclosing class:

    Tree

    public static class Tree.ExpandEvent
    extends Component.Event

    Event to fired when a node is expanded. ExapandEvent is fired when a node is to be expanded. it can me used to dynamically fill the sub-nodes of the node.

    Since:

    3.0

    Author:

    Vaadin Ltd.

    See Also:

    Serialized Form

    • Constructor Detail

      • ExpandEvent

        public ExpandEvent​(Component source,
                           Object expandedItemId)

        New instance of options change event

        Parameters:

        source - the Source of the event.

        expandedItemId -

    • Method Detail

      • getItemId

        public Object getItemId()

        Node where the event occurred.

        Returns:

        the Source of the event.