public static class Tabs.SelectedChangeEvent extends ComponentEvent<Tabs>
source
Constructor and Description |
---|
SelectedChangeEvent(Tabs source,
boolean fromClient)
Deprecated.
use
#SelectedChangeEvent(Tabs source, Tab previousTab, boolean fromClient)
instead. |
SelectedChangeEvent(Tabs source,
Tab previousTab,
boolean fromClient)
Creates a new selected change event.
|
Modifier and Type | Method and Description |
---|---|
Tab |
getPreviousTab()
Get previous selected tab for this event.
|
Tab |
getSelectedTab()
Get selected tab for this event.
|
boolean |
isInitialSelection()
Checks if this event is initial tabs selection.
|
getSource, isFromClient, unregisterListener
toString
@Deprecated public SelectedChangeEvent(Tabs source, boolean fromClient)
#SelectedChangeEvent(Tabs source, Tab previousTab, boolean fromClient)
instead.source
- The tabs that fired the event.fromClient
- true
for client-side events,
false
otherwise.public Tab getSelectedTab()
null
when autoselect
is set to false.public Tab getPreviousTab()
null
when
autoselect is set to false.public boolean isInitialSelection()
true
if the event is initial tabs selection,
false
otherwiseCopyright © 2023. All rights reserved.