Class 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.TreeSelectionListener
    Listens 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
      private Listener()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void propertyChange​(java.beans.PropertyChangeEvent e)
      Called whenever the text area's syntax style changes, as well as when it is re-parsed.
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Listener

        private Listener()
    • 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:
        propertyChange in interface java.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:
        valueChanged in interface javax.swing.event.TreeSelectionListener