org.noos.xing.mydoggy.event
Class ToolWindowTabEvent
java.lang.Object
java.util.EventObject
org.noos.xing.mydoggy.event.ToolWindowTabEvent
- All Implemented Interfaces:
- Serializable
public class ToolWindowTabEvent
- extends EventObject
An event which indicates that an action occurred in a tool window with a tab as object.
- Since:
- 1.3.0
- Author:
- Angelo De Caro (angelo.decaro@gmail.com)
- See Also:
- Serialized Form
ToolWindowTabEvent
public ToolWindowTabEvent(Object source,
ToolWindowTabEvent.ActionId actionId,
ToolWindow toolWindow,
ToolWindowTab toolWindowTab)
- Constructs a
ToolWindowTabEvent object with the
specified source, actionId, tool window and tab.
This constructor throws an
IllegalArgumentException if the source or the actionId
or the toolWindow or the toolWindowTab is null.
- Parameters:
source - the source where the action has occured.actionId - the action identifiertoolWindow - the tool window on wicht the action is occurred.toolWindowTab - the tab involved in the action.- See Also:
ToolWindowTabEvent.ActionId,
ToolWindow,
ToolWindowTab
getActionId
public ToolWindowTabEvent.ActionId getActionId()
- Returns the action identifier.
- Returns:
- the action identifier.
getToolWindow
public ToolWindow getToolWindow()
- Returns the tool window involved in the action.
- Returns:
- the tool window.
getToolWindowTab
public ToolWindowTab getToolWindowTab()
- Returns the tab involved in the action.
- Returns:
- the tool window.
toString
public String toString()
- Overrides:
toString in class EventObject
Copyright © 2012. All Rights Reserved.