wt.clients.beans
Class RapidFindEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bywt.clients.beans.RapidFindEvent
All Implemented Interfaces:
Serializable

public class RapidFindEvent
extends EventObject

The rapid find event emitted by RapidFind objects when a retrieve is beginning or completed.

See Also:
Serialized Form

Field Summary
private  Object myDetail
           
private  String myStatus
           
private  int myType
           
static int RETRIEVE_BEGIN
          The command type.
static int RETRIEVE_COMPLETE
          The select type.
static int STATUS
          The status type.
static int UNKNOWN
           
private static String versionID
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
RapidFindEvent(RapidFind rapid_find, int a_type)
          Constructs a WTQueryEvent object with the specified source component, type, and value.
RapidFindEvent(RapidFind rapid_find, int a_type, Object the_details)
          Constructs a WTQueryEvent object with the specified source component, type, and object.
 
Method Summary
 Object getDetail()
          Returns the target object.
 String getStatus()
          Returns the status message.
 int getType()
          Returns the type of WTQueryEvent.
 void setStatus(String aValue)
          For internal use only.
 String toString()
           
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

versionID

private static final String versionID
See Also:
Constant Field Values

UNKNOWN

public static final int UNKNOWN
See Also:
Constant Field Values

RETRIEVE_BEGIN

public static final int RETRIEVE_BEGIN
The command type.

See Also:
Constant Field Values

RETRIEVE_COMPLETE

public static final int RETRIEVE_COMPLETE
The select type.

See Also:
Constant Field Values

STATUS

public static final int STATUS
The status type.

See Also:
Constant Field Values

myType

private int myType

myDetail

private Object myDetail

myStatus

private String myStatus
Constructor Detail

RapidFindEvent

public RapidFindEvent(RapidFind rapid_find,
                      int a_type)
Constructs a WTQueryEvent object with the specified source component, type, and value. For COMMAND type events, the value will be a button as defined in WTQuery. For STATUS type events, the value will be the status message string.


RapidFindEvent

public RapidFindEvent(RapidFind rapid_find,
                      int a_type,
                      Object the_details)
Constructs a WTQueryEvent object with the specified source component, type, and object.

Method Detail

getType

public int getType()
Returns the type of WTQueryEvent.

Returns:
the type of WTQueryEvent.

getStatus

public String getStatus()
Returns the status message.

Returns:
the status message.

setStatus

public void setStatus(String aValue)
For internal use only.


getDetail

public Object getDetail()
Returns the target object.

Returns:
the target object.

toString

public String toString()