Class AbstractTabbedUI.TabChangeHandler

  • All Implemented Interfaces:
    java.util.EventListener, javax.swing.event.ChangeListener
    Enclosing class:
    AbstractTabbedUI

    private class AbstractTabbedUI.TabChangeHandler
    extends java.lang.Object
    implements javax.swing.event.ChangeListener
    A tab change handler.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private javax.swing.JTabbedPane pane
      The tabbed pane to which this handler is registered.
    • Constructor Summary

      Constructors 
      Constructor Description
      TabChangeHandler​(javax.swing.JTabbedPane pane)
      Creates a new handler.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void stateChanged​(javax.swing.event.ChangeEvent e)
      Invoked when the target of the listener has changed its state.
      • Methods inherited from class java.lang.Object

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

      • pane

        private final javax.swing.JTabbedPane pane
        The tabbed pane to which this handler is registered.
    • Constructor Detail

      • TabChangeHandler

        public TabChangeHandler​(javax.swing.JTabbedPane pane)
        Creates a new handler.
        Parameters:
        pane - the pane.
    • Method Detail

      • stateChanged

        public void stateChanged​(javax.swing.event.ChangeEvent e)
        Invoked when the target of the listener has changed its state.
        Specified by:
        stateChanged in interface javax.swing.event.ChangeListener
        Parameters:
        e - a ChangeEvent object