Package net.infonode.tabbedpanel
Class TabEvent
- java.lang.Object
-
- java.util.EventObject
-
- net.infonode.tabbedpanel.TabEvent
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
TabDragEvent,TabRemovedEvent,TabStateChangedEvent
public class TabEvent extends java.util.EventObjectTabEvent is the root event for all tab events. It contains information about the source, i.e. the object (tab or tabbedPanel) that generated this event and the tab that was affected by this event.- Version:
- $Revision: 1.10 $
- See Also:
TabListener,TabbedPanel,Tab, Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TabgetTab()Gets the tab that is the source for this event
-
-
-
Field Detail
-
tab
private Tab tab
-
-
Constructor Detail
-
TabEvent
TabEvent(java.lang.Object source, Tab tab)Constructs a TabEvent- Parameters:
source- the Tab or TabbedPanel that is the source for this eventtab- the tab on which the event occurred
-
-
Method Detail
-
getTab
public Tab getTab()
Gets the tab that is the source for this event- Returns:
- the Tab affected by this event or null if no tab was affected
-
-