|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
net.infonode.tabbedpanel.TabEvent
net.infonode.tabbedpanel.TabStateChangedEvent
public class TabStateChangedEvent
TabStateChangedEvent is a state changed event. A change could mean that the selected tab has been deselcted and another tab has been selected.
Example: Tab 1 is the selected tab. The user selects tab 2 and tab 1 will be deselected. A change event will then be triggered where tab 1 will be the previous tab (getPreviousTab()) and tab 2 will be the curent tab (getCurrentTab()).
TabListener,
TabbedPanel,
Tab,
Serialized Form| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
TabStateChangedEvent(java.lang.Object source,
TabbedPanel tabbedPanel,
Tab tab,
Tab previousTab,
Tab currentTab)
Constructs a TabStateChangedEvent |
|
| Method Summary | |
|---|---|
Tab |
getCurrentTab()
Gets the current Tab |
Tab |
getPreviousTab()
Gets the previous Tab |
TabbedPanel |
getTabbedPanel()
Gets the TabbedPanel in which the state change occured |
| Methods inherited from class net.infonode.tabbedpanel.TabEvent |
|---|
getTab |
| 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 |
|---|
public TabStateChangedEvent(java.lang.Object source,
TabbedPanel tabbedPanel,
Tab tab,
Tab previousTab,
Tab currentTab)
source - the tabbed panel or tab that is the source for this
eventtabbedPanel - the tabbep panel in which the state change occuredtab - the tab that is effectd by this eventpreviousTab - the tab that was previously in this statecurrentTab - the tab that is now in this state| Method Detail |
|---|
public TabbedPanel getTabbedPanel()
public Tab getPreviousTab()
public Tab getCurrentTab()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||