org.fife.ui.dockablewindows
Class DockableWindowEvent
java.lang.Object
java.util.EventObject
org.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:
- The dockable window is about to change its preferred position.
- The plugin changes its preferred position.
- Version:
- 0.1
- Author:
- Robert Futrell
- See Also:
DockableWindow,
Serialized Form
| 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 |
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.
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.