Package com.vaadin.ui

Interface Tree.ItemClickListener<T>

  • Type Parameters:
    T - the tree item type
    All Superinterfaces:
    java.util.EventListener, java.io.Serializable, SerializableEventListener
    Enclosing class:
    Tree<T>
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface Tree.ItemClickListener<T>
    extends SerializableEventListener
    A listener for item click events.
    Since:
    8.1
    See Also:
    Tree.ItemClick, Registration
    • Method Detail

      • itemClick

        void itemClick​(Tree.ItemClick<T> event)
        Invoked when this listener receives a item click event from a Tree to which it has been added.
        Parameters:
        event - the received event, not null