org.indy
Class IndyStatusEvent
java.lang.Object
|
+--java.util.EventObject
|
+--org.indy.IndyStatusEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class IndyStatusEvent
- extends java.util.EventObject
Represents a state change in an IndyComponent
.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Method Summary |
Status |
getStatus()
Returns the new Status of source . |
java.lang.String |
toString()
Produces a string representation of this event, using the args it was
constructed with, if avialable. |
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 |
IndyStatusEvent
public IndyStatusEvent(IndyComponent source,
Status s,
java.lang.Object[] args)
- Constructs a new
IndyStatusEvent
.
- Parameters:
source
- The sender of the events
- The new Status
.args
- Any arguments to be included in a string representation of this event. May be null
.
IndyStatusEvent
public IndyStatusEvent(IndyComponent source,
Status s)
- Constructs a new
IndyStatusEvent
.
This is the equivalent of
new IndyStatusEvent(source,s,null);
- Parameters:
source
- The source of this events
- The new Status
getStatus
public Status getStatus()
- Returns the new
Status
of source
.
- Returns:
- The new
Status
of the event source.
toString
public java.lang.String toString()
- Produces a string representation of this event, using the
args
it was
constructed with, if avialable.
- Overrides:
toString
in class java.util.EventObject
- Returns:
- A string representing this event.
Copyright © 2002-2002 IndyJ. All Rights Reserved.