org.noos.xing.mydoggy.event
Class DockableManagerEvent

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

public class DockableManagerEvent
extends EventObject

An event which indicates that an action occurred for a dockable.

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

Nested Class Summary
static class DockableManagerEvent.ActionId
           
 
Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DockableManagerEvent(Object source, DockableManagerEvent.ActionId actionId, Dockable dockable)
          Constructs a DockableEvent object with the specified source, actionId and dockable.
 
Method Summary
 DockableManagerEvent.ActionId getActionId()
          Returns the action identifier.
 Dockable getDockable()
          Returns the dockable window involved in the action.
 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

DockableManagerEvent

public DockableManagerEvent(Object source,
                            DockableManagerEvent.ActionId actionId,
                            Dockable dockable)
Constructs a DockableEvent object with the specified source, actionId and dockable.

This constructor throws an IllegalArgumentException if the source or the actionId or the dockable are null.

Parameters:
source - the source where the action has occured.
actionId - the action identifier
dockable - the dockable on which the action is occurred.
See Also:
DockableManagerEvent.ActionId, Dockable
Method Detail

getActionId

public DockableManagerEvent.ActionId getActionId()
Returns the action identifier.

Returns:
the action identifier.

getDockable

public Dockable getDockable()
Returns the dockable window involved in the action.

Returns:
the dockable window.

toString

public String toString()
Overrides:
toString in class EventObject


Copyright © 2012. All Rights Reserved.