net.dpml.component
Class ControllerContextEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bynet.dpml.component.ControllerContextEvent
All Implemented Interfaces:
Serializable

public abstract class ControllerContextEvent
extends EventObject

The ControllerContextEvent is an abstract base class for working and temporty directory change notification events.

Version:
1.0.0
Author:
Digital Product Meta Library
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ControllerContextEvent(ControllerContext source, File oldDir, File newDir)
          Creation of a new controller context event object.
 
Method Summary
 ControllerContext getContext()
          Return the controller context that this event is related to.
 File getNewDirectory()
          Return the new directory value.
 File getOldDirectory()
          Return the old directory value.
 
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

ControllerContextEvent

public ControllerContextEvent(ControllerContext source,
                              File oldDir,
                              File newDir)
Creation of a new controller context event object.

Parameters:
source - the controller context initiating the event
oldDir - the original directory value
newDir - the new directory value
Method Detail

getContext

public ControllerContext getContext()
Return the controller context that this event is related to.

Returns:
the controller context

getOldDirectory

public File getOldDirectory()
Return the old directory value.

Returns:
the directory

getNewDirectory

public File getNewDirectory()
Return the new directory value.

Returns:
the directory