NextApp Echo3 Extras
v3.0.b4

nextapp.echo.extras.app.event
Class TabPaneEvent

java.lang.Object
  extended by java.util.EventObject
      extended by nextapp.echo.extras.app.event.TabPaneEvent
All Implemented Interfaces:
java.io.Serializable

public class TabPaneEvent
extends java.util.EventObject

An event describing an update to the state of a TabPane.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TabPaneEvent(java.lang.Object source)
          Creates a new TabPaneEvent.
TabPaneEvent(java.lang.Object source, int tabIndex)
          Creates a new TabPaneEvent.
 
Method Summary
 int getTabIndex()
          Returns the index of the tab on which the event occurred.
 
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

TabPaneEvent

public TabPaneEvent(java.lang.Object source)
Creates a new TabPaneEvent.

Parameters:
source - the source of the event

TabPaneEvent

public TabPaneEvent(java.lang.Object source,
                    int tabIndex)
Creates a new TabPaneEvent.

Parameters:
source - the source of the event
tabIndex - the tab index on which the event occurred
Method Detail

getTabIndex

public int getTabIndex()
Returns the index of the tab on which the event occurred.

Returns:
the tab index if the event is tab specific, -1 otherwise.

NextApp Echo3 Extras
v3.0.b4