org.xnap.plugin.gift.net.event
Class ControlEvent

java.lang.Object
  extended by org.xnap.plugin.gift.net.event.Event
      extended by org.xnap.plugin.gift.net.event.ControlEvent
Direct Known Subclasses:
SearchControlEvent, SharesControlEvent

public class ControlEvent
extends Event

ControlEvent

Version:
CVS $Id: ControlEvent.java,v 1.1 2003/10/05 00:20:32 squig Exp $
Author:
Tammo van Lessen

Field Summary
static java.lang.String[] ACTIONS
           
static int FINISHED
           
static int STARTED
           
 
Constructor Summary
ControlEvent(int action)
          Constructor for ControlEvent.
ControlEvent(int action, java.lang.String status)
          Creates a new ControlEvent object.
 
Method Summary
 int getAction()
          Returns the action.
 java.lang.String getStatus()
          Returns the status.
 void setAction(int action)
          Sets the action.
 void setStatus(java.lang.String status)
          Sets the status.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STARTED

public static final int STARTED
See Also:
Constant Field Values

FINISHED

public static final int FINISHED
See Also:
Constant Field Values

ACTIONS

public static final java.lang.String[] ACTIONS
Constructor Detail

ControlEvent

public ControlEvent(int action)
Constructor for ControlEvent.

Parameters:
action - the action

ControlEvent

public ControlEvent(int action,
                    java.lang.String status)
Creates a new ControlEvent object.

Parameters:
action - DOCUMENT ME!
status - DOCUMENT ME!
Method Detail

setAction

public void setAction(int action)
Sets the action.

Parameters:
action - The action to set

getAction

public int getAction()
Returns the action.

Returns:
int

setStatus

public void setStatus(java.lang.String status)
Sets the status.

Parameters:
status - The status to set

getStatus

public java.lang.String getStatus()
Returns the status.

Returns:
String

toString

public java.lang.String toString()
Overrides:
toString in class Event
See Also:
Object.toString()


Copyright © 2001-2005 XNap Team. All Rights Reserved.