Uses of Interface
org.eclipse.swt.events.TreeListener
Packages that use TreeListener
Package
Description
Provides a framework for viewers, which are model-based
content adapters for SWT widgets.
SWT typed listener support.
SWT widget public API classes.
-
Uses of TreeListener in org.eclipse.jface.viewers
Methods in org.eclipse.jface.viewers with parameters of type TreeListenerModifier and TypeMethodDescriptionprotected abstract void
AbstractTreeViewer.addTreeListener
(Control control, TreeListener listener) Adds the given SWT tree listener to the given SWT control.protected void
TreeViewer.addTreeListener
(Control c, TreeListener listener) -
Uses of TreeListener in org.eclipse.swt.events
Classes in org.eclipse.swt.events that implement TreeListenerModifier and TypeClassDescriptionclass
This adapter class provides default implementations for the methods described by theTreeListener
interface.Methods in org.eclipse.swt.events that return TreeListenerModifier and TypeMethodDescriptionstatic TreeListener
TreeListener.treeCollapsedAdapter
(Consumer<TreeEvent> c) Static helper method to create aTreeListener
for thetreeCollapsed(TreeEvent e)
) method, given a lambda expression or a method reference.static TreeListener
TreeListener.treeExpandedAdapter
(Consumer<TreeEvent> c) Static helper method to create aTreeListener
for thetreeExpanded(TreeEvent e)
) method, given a lambda expression or a method reference. -
Uses of TreeListener in org.eclipse.swt.widgets
Methods in org.eclipse.swt.widgets with parameters of type TreeListenerModifier and TypeMethodDescriptionvoid
Tree.addTreeListener
(TreeListener listener) Adds the listener to the collection of listeners who will be notified when an item in the receiver is expanded or collapsed by sending it one of the messages defined in theTreeListener
interface.void
Tree.removeTreeListener
(TreeListener listener) Removes the listener from the collection of listeners who will be notified when items in the receiver are expanded or collapsed.