public static class TabSheet.SelectedTabChangeEvent extends java.util.EventObject implements HasUserOriginated
Modifier and Type | Field and Description |
---|---|
protected boolean |
userOriginated |
Constructor and Description |
---|
SelectedTabChangeEvent(java.lang.Object source,
TabSheet.Tab selectedTab,
boolean userOriginated) |
SelectedTabChangeEvent(TabSheet tabSheet,
TabSheet.Tab selectedTab) |
Modifier and Type | Method and Description |
---|---|
TabSheet.Tab |
getSelectedTab() |
TabSheet |
getSource() |
boolean |
isUserOriginated()
Returns whether this event was triggered by user interaction or programmatically.
|
public SelectedTabChangeEvent(TabSheet tabSheet, TabSheet.Tab selectedTab)
public SelectedTabChangeEvent(java.lang.Object source, TabSheet.Tab selectedTab, boolean userOriginated)
public TabSheet getSource()
getSource
in class java.util.EventObject
public TabSheet.Tab getSelectedTab()
public boolean isUserOriginated()
HasUserOriginated
isUserOriginated
in interface HasUserOriginated
true
if this event originates by user interaction, false
otherwise.