gov.sandia.ccaffeine.dc.user_iface.MVC.event
Class SetDebugFlagEvent
java.lang.Object
java.util.EventObject
gov.sandia.ccaffeine.dc.user_iface.MVC.event.SetDebugFlagEvent
- All Implemented Interfaces:
- java.io.Serializable
public class SetDebugFlagEvent
- extends java.util.EventObject
Used to notify listeners that the debug flag is set.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
SetDebugFlagEvent(java.lang.Object source)
Construct a SetDebugFlagEvent. |
SetDebugFlagEvent(java.lang.Object source,
boolean debug)
Construct a SetDebugFlagEvent. |
Method Summary |
boolean |
getDebug()
Get the value of the debug flag. |
void |
getDebug(boolean debug)
Set the value of the debug flag. |
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 |
SetDebugFlagEvent
public SetDebugFlagEvent(java.lang.Object source)
- Construct a SetDebugFlagEvent.
- Parameters:
source
- the entity that originated this event.
SetDebugFlagEvent
public SetDebugFlagEvent(java.lang.Object source,
boolean debug)
- Construct a SetDebugFlagEvent.
- Parameters:
source
- the entity that originated this event.debug
- The value of the debug flag.
getDebug
public boolean getDebug()
- Get the value of the debug flag.
- Returns:
- The value of the debug flag.
getDebug
public void getDebug(boolean debug)
- Set the value of the debug flag.
- Parameters:
debug
- The value of the debug flag.