net.dpml.component
Class ControllerContextEvent
java.lang.Object
java.util.EventObject
net.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
ControllerContextEvent
public ControllerContextEvent(ControllerContext source,
File oldDir,
File newDir)
- Creation of a new controller context event object.
- Parameters:
source
- the controller context initiating the eventoldDir
- the original directory valuenewDir
- the new directory value
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