net.sf.jaxodraw.gui.swing
Class TabClosingEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.sf.jaxodraw.gui.swing.TabClosingEvent
All Implemented Interfaces:
Serializable

public class TabClosingEvent
extends EventObject

An EventObject for a closing tab.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TabClosingEvent(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

TabClosingEvent

public TabClosingEvent(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.


Copyright © 2003-2011 The JaxoDraw team. All Rights Reserved.