Package org.fife.rsta.ac.java.tree
Class JavaOutlineTree.Listener
- java.lang.Object
-
- org.fife.rsta.ac.java.tree.JavaOutlineTree.Listener
-
- All Implemented Interfaces:
java.beans.PropertyChangeListener,java.util.EventListener,javax.swing.event.TreeSelectionListener
- Enclosing class:
- JavaOutlineTree
private class JavaOutlineTree.Listener extends java.lang.Object implements java.beans.PropertyChangeListener, javax.swing.event.TreeSelectionListenerListens for events this tree is interested in (events in the associated editor, for example), as well as events in this tree.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpropertyChange(java.beans.PropertyChangeEvent e)Called whenever the text area's syntax style changes, as well as when it is re-parsed.voidvalueChanged(javax.swing.event.TreeSelectionEvent e)Selects the corresponding element in the text editor when a user clicks on a node in this tree.
-
-
-
Method Detail
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent e)
Called whenever the text area's syntax style changes, as well as when it is re-parsed.- Specified by:
propertyChangein interfacejava.beans.PropertyChangeListener
-
valueChanged
public void valueChanged(javax.swing.event.TreeSelectionEvent e)
Selects the corresponding element in the text editor when a user clicks on a node in this tree.- Specified by:
valueChangedin interfacejavax.swing.event.TreeSelectionListener
-
-