gov.sandia.ccaffeine.dc.user_iface.MVC.event
Class PathEvent

java.lang.Object
  extended by java.util.EventObject
      extended by gov.sandia.ccaffeine.dc.user_iface.MVC.event.PathEvent
All Implemented Interfaces:
java.io.Serializable

public class PathEvent
extends java.util.EventObject

Tell the cca server to change the path or tell the cca server to retrieve the path.

See Also:
Serialized Form

Field Summary
static java.lang.String APPEND
          One of the commands than can be used to alter the path.
protected  java.lang.String commandToAlterPath
           
protected  java.lang.String directory
          To alter the path, specify the value that will be used to alter the path.
static java.lang.String INIT
          One of the commands than can be used to alter the path.
protected  int numberOfArguments
           
static java.lang.String PREPEND
          One of the commands than can be used to alter the path.
static java.lang.String SET
          One of the commands than can be used to alter the path.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PathEvent(java.lang.Object source)
          Tell the cca server to change the path or tell the cca server to retrieve the path.
PathEvent(java.lang.Object source, int numberOfArguments)
          Tell the cca server to change the path or tell the cca server to retrieve the path.
PathEvent(java.lang.Object source, int numberOfArguments, java.lang.String commandToAlterPath)
          Tell the cca server to change the path or tell the cca server to retrieve the path.
PathEvent(java.lang.Object source, int numberOfArguments, java.lang.String commandToAlterPath, java.lang.String directory)
          Tell the cca server to change the path or tell the cca server to retrieve the path.
PathEvent(java.lang.Object source, java.lang.String commandToAlterPath)
          Tell the cca server to change the path or tell the cca server to retrieve the path.
PathEvent(java.lang.Object source, java.lang.String commandToAlterPath, java.lang.String directory)
          Tell the cca server to change the path or tell the cca server to retrieve the path.
 
Method Summary
 java.lang.String getCommandToAlterPath()
           
 java.lang.String getDirectory()
          To alter the path, retrieve the value that will be used to alter the path.
 int getNumberOfArguments()
          Retrieve the number of arguments in the path command.
 
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
 

Field Detail

numberOfArguments

protected int numberOfArguments

INIT

public static final java.lang.String INIT
One of the commands than can be used to alter the path.

See Also:
Constant Field Values

APPEND

public static final java.lang.String APPEND
One of the commands than can be used to alter the path.

See Also:
Constant Field Values

PREPEND

public static final java.lang.String PREPEND
One of the commands than can be used to alter the path.

See Also:
Constant Field Values

SET

public static final java.lang.String SET
One of the commands than can be used to alter the path.

See Also:
Constant Field Values

commandToAlterPath

protected java.lang.String commandToAlterPath

directory

protected java.lang.String directory
To alter the path, specify the value that will be used to alter the path.

Constructor Detail

PathEvent

public PathEvent(java.lang.Object source)
Tell the cca server to change the path or tell the cca server to retrieve the path.

Parameters:
source - The entity that created this event.

PathEvent

public PathEvent(java.lang.Object source,
                 int numberOfArguments)
Tell the cca server to change the path or tell the cca server to retrieve the path.

Parameters:
source - The entity that created this event.
numberOfArguments - The number of arguments in the path command.

PathEvent

public PathEvent(java.lang.Object source,
                 java.lang.String commandToAlterPath)
Tell the cca server to change the path or tell the cca server to retrieve the path.

Parameters:
source - The entity that created this event.
commandToAlterPath - To alter the path, specify how the path is to be changed by issuing any of the following commands: INIT, APPEND, PREPEND, SET. Can be set to null.

PathEvent

public PathEvent(java.lang.Object source,
                 int numberOfArguments,
                 java.lang.String commandToAlterPath)
Tell the cca server to change the path or tell the cca server to retrieve the path.

Parameters:
source - The entity that created this event.
numberOfArguments - The number of arguments in the path command.
commandToAlterPath - To alter the path, specify how the path is to be changed by issuing any of the following commands: INIT, APPEND, PREPEND, SET. Can be set to null.

PathEvent

public PathEvent(java.lang.Object source,
                 java.lang.String commandToAlterPath,
                 java.lang.String directory)
Tell the cca server to change the path or tell the cca server to retrieve the path.

Parameters:
source - The entity that created this event.
commandToAlterPath - To alter the path, specify how the path is to be changed by issuing any of the following commands: INIT, APPEND, PREPEND, SET. Can be set to null.
directory - To alter the path, specify the new path value that is to be used.

PathEvent

public PathEvent(java.lang.Object source,
                 int numberOfArguments,
                 java.lang.String commandToAlterPath,
                 java.lang.String directory)
Tell the cca server to change the path or tell the cca server to retrieve the path.

Parameters:
source - The entity that created this event.
numberOfArguments - The number of arguments in the path command.
commandToAlterPath - To alter the path, specify how the path is to be changed by issuing any of the following commands: INIT, APPEND, PREPEND, SET. Can be set to null.
directory - To alter the path, specify the new path value.
Method Detail

getNumberOfArguments

public int getNumberOfArguments()
Retrieve the number of arguments in the path command.


getCommandToAlterPath

public java.lang.String getCommandToAlterPath()

getDirectory

public java.lang.String getDirectory()
To alter the path, retrieve the value that will be used to alter the path.