net.sf.jaxodraw.gui.swing
Class JaxoClosableTabbedPane.ClosingEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.sf.jaxodraw.gui.swing.JaxoClosableTabbedPane.ClosingEvent
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
JaxoClosableTabbedPane

public static class JaxoClosableTabbedPane.ClosingEvent
extends java.util.EventObject

Standard listener pattern.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
JaxoClosableTabbedPane.ClosingEvent(JaxoClosableTabbedPane source, int ind)
          A closing event.
 
Method Summary
 int getIndex()
          Index that was requested to be closed.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JaxoClosableTabbedPane.ClosingEvent

public JaxoClosableTabbedPane.ClosingEvent(JaxoClosableTabbedPane source,
                                           int ind)
A closing event.

Parameters:
source - The source.
ind - The index of the tab.
Method Detail

getIndex

public final int getIndex()
Index that was requested to be closed.

Returns:
The index of the tab.


Licensed under GPL. For more information, see http://jaxodraw.sourceforge.net/license.html or the LICENSE file in the jaxodraw distribution.