|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface TabContainerContext.TabSwitchListener
An interface for tab switch listeners. Tab switch occurs when the currently selected tab changes.
| Method Summary | |
|---|---|
boolean |
onSwitch(TabWidget selectedTab,
TabWidget newTab,
org.apache.commons.collections.Closure switchClosure)
A listener for tab switching. |
| Method Detail |
|---|
boolean onSwitch(TabWidget selectedTab,
TabWidget newTab,
org.apache.commons.collections.Closure switchClosure)
selectedTab parameter may be
null if no tab is currently selected.
The last parameter is a tab switch closure that is executed only when the
listener returns true or when the listener executes it
itself. Therefore, this closure can also be used with
ConfirmationContext.confirm(Closure, String).
selectedTab - The currently selected tab. May be null.newTab - The tab that will replace the current one.switchClosure - A closure that handles tab switch.
true, if the switch is allowed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||