org.noos.xing.mydoggy.event
Class ToolWindowGroupEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.noos.xing.mydoggy.event.ToolWindowGroupEvent
All Implemented Interfaces:
Serializable

public class ToolWindowGroupEvent
extends EventObject

An event which indicates that an action occurred in a tool window group.

Since:
1.0.0
Author:
Angelo De Caro (angelo.decaro@gmail.com)
See Also:
Serialized Form

Nested Class Summary
static class ToolWindowGroupEvent.ActionId
          An event which indicates that an action occurred in the tool window manager.
 
Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ToolWindowGroupEvent(ToolWindowManager source, ToolWindowGroupEvent.ActionId actionId, ToolWindowGroup toolWindowGroup)
          Constructs a ToolWindowGroupEvent object with the specified source tool window manager, actionId, toolWindowGroup.
ToolWindowGroupEvent(ToolWindowManager source, ToolWindowGroupEvent.ActionId actionId, ToolWindowGroup toolWindowGroup, ToolWindow toolWindow)
          Constructs a ToolWindowGroupEvent object with the specified source tool window manager, actionId, toolWindowGroup, toolWindow.
 
Method Summary
 ToolWindowGroupEvent.ActionId getId()
          Returns the action identifier.
 ToolWindow getToolWindow()
          Returns the tool window involved in the action.
 ToolWindowGroup getToolWindowGroup()
          Returns the tool window group on whiche the action is occured.
 String toString()
           
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ToolWindowGroupEvent

public ToolWindowGroupEvent(ToolWindowManager source,
                            ToolWindowGroupEvent.ActionId actionId,
                            ToolWindowGroup toolWindowGroup)
Constructs a ToolWindowGroupEvent object with the specified source tool window manager, actionId, toolWindowGroup.

This constructor throws an IllegalArgumentException if the source or the toolWindowGroup or the actionId is null.

Parameters:
source - the tool window manager where the action has occured.
actionId - the action identifier
toolWindowGroup - the tool window group on wicht the action is occurred.
See Also:
ToolWindowManager, ToolWindowGroupEvent.ActionId, ToolWindowGroup

ToolWindowGroupEvent

public ToolWindowGroupEvent(ToolWindowManager source,
                            ToolWindowGroupEvent.ActionId actionId,
                            ToolWindowGroup toolWindowGroup,
                            ToolWindow toolWindow)
Constructs a ToolWindowGroupEvent object with the specified source tool window manager, actionId, toolWindowGroup, toolWindow.

This constructor throws an IllegalArgumentException if the source or the toolWindowGroup or the actionId is null.

Parameters:
source - the tool window manager where the action has occured.
actionId - the action identifier
toolWindowGroup - the tool window group on wicht the action is occurred.
toolWindow - the tool window involved in the action.
See Also:
ToolWindowManager, ToolWindowGroupEvent.ActionId, ToolWindowGroup, ToolWindow
Method Detail

getId

public ToolWindowGroupEvent.ActionId getId()
Returns the action identifier.

Returns:
the action identifier.

getToolWindowGroup

public ToolWindowGroup getToolWindowGroup()
Returns the tool window group on whiche the action is occured.

Returns:
the tool window group.

getToolWindow

public ToolWindow getToolWindow()
Returns the tool window involved in the action.

Returns:
the tool window.

toString

public String toString()
Overrides:
toString in class EventObject


Copyright © 2012. All Rights Reserved.