org.fife.ui.dockablewindows
Class DockableWindowEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.fife.ui.dockablewindows.DockableWindowEvent
All Implemented Interfaces:
java.io.Serializable

public class DockableWindowEvent
extends java.util.EventObject

Event fired by DockableWindows. These events are fired when:

Version:
0.1
Author:
Robert Futrell
See Also:
DockableWindow, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DockableWindowEvent(java.lang.Object source, int oldPos, int newPos)
          Constructor.
 
Method Summary
 int getNewPosition()
          Returns the new location of the dockable window.
 int getOldPosition()
          Returns the old location of the dockable window.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DockableWindowEvent

public DockableWindowEvent(java.lang.Object source,
                           int oldPos,
                           int newPos)
Constructor.

Parameters:
source - The dockable window.
oldPos - The old location of the dockable window.
newPos - The new location of the dockable window.
Method Detail

getNewPosition

public int getNewPosition()
Returns the new location of the dockable window.

Returns:
The new location.

getOldPosition

public int getOldPosition()
Returns the old location of the dockable window.

Returns:
The old location.