MDACC
Biostatistics

org.mdanderson.biostat.util
Class StatusEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.mdanderson.biostat.util.StatusEvent
All Implemented Interfaces:
Serializable

public class StatusEvent
extends EventObject

StatusEvent - Event to notify listener of status change.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
StatusEvent(Object source, Object value, boolean status)
          Class constructor specifying source, value, and status
 
Method Summary
 boolean getStatus()
          Returns the status of the data that was checked
 Object getValue()
          Returns the data that was checked
 
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

StatusEvent

public StatusEvent(Object source,
                   Object value,
                   boolean status)
Class constructor specifying source, value, and status

Parameters:
source - component whose value was checked
value - data that was checked
status - true if data is valid; otherwise, false
Method Detail

getValue

public Object getValue()
Returns the data that was checked

Returns:
data that was checked

getStatus

public boolean getStatus()
Returns the status of the data that was checked

Returns:
true if data is valid; otherwise, false

MDACC
Biostatistics

Copyright © 2002 M.D. Anderson Cancer Center. All Rights Reserved.