Class TreeFocusHandler

  • All Implemented Interfaces:
    java.awt.event.FocusListener, java.util.EventListener

    public class TreeFocusHandler
    extends java.lang.Object
    implements java.awt.event.FocusListener
    The Class TreeFocusHandler.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private javax.swing.JTree tree
      The tree.
    • Constructor Summary

      Constructors 
      Constructor Description
      TreeFocusHandler​(javax.swing.JTree tree)
      Instantiates a new tree focus handler.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void focusGained​(java.awt.event.FocusEvent arg0)  
      void focusLost​(java.awt.event.FocusEvent arg0)  
      • Methods inherited from class java.lang.Object

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

      • tree

        private javax.swing.JTree tree
        The tree.
    • Constructor Detail

      • TreeFocusHandler

        public TreeFocusHandler​(javax.swing.JTree tree)
        Instantiates a new tree focus handler.
        Parameters:
        tree - the tree
    • Method Detail

      • focusGained

        public void focusGained​(java.awt.event.FocusEvent arg0)
        Specified by:
        focusGained in interface java.awt.event.FocusListener
      • focusLost

        public void focusLost​(java.awt.event.FocusEvent arg0)
        Specified by:
        focusLost in interface java.awt.event.FocusListener