|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
gov.sandia.ccaffeine.dc.user_iface.MVC.event.NukeAllEvent
public class NukeAllEvent
Used to notify components that an entity wants to delete all components. A view might respond by removing all components from the main workspace (the arena).
| Field Summary | |
|---|---|
protected java.lang.String |
entity
The entity that is to be removed. |
protected int |
numberOfArguments
|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
NukeAllEvent(java.lang.Object source)
Create a NukeEvent. |
|
NukeAllEvent(java.lang.Object source,
int numberOfArguments,
java.lang.String entity)
Create a NukeEvent. |
|
NukeAllEvent(java.lang.Object source,
java.lang.String entity)
Create a NukeEvent. |
|
| Method Summary | |
|---|---|
java.lang.String |
getEntity()
Get the entity that is to be removed. |
int |
getNumberOfArguments()
Retrieve the number of arguments in the nuke command. |
| 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 |
| Field Detail |
|---|
protected int numberOfArguments
protected java.lang.String entity
| Constructor Detail |
|---|
public NukeAllEvent(java.lang.Object source)
source - The entity that created
this event.
public NukeAllEvent(java.lang.Object source,
java.lang.String entity)
source - The entity that created
this event.entity - The entity that is to be removed.
NOTE: As of Oct 2003, "all" is the
only entity that can be nuked.
public NukeAllEvent(java.lang.Object source,
int numberOfArguments,
java.lang.String entity)
source - The entity that created
this event.numberOfArguments - The number of
arguments in the nuke command.entity - The entity that is to be removed.
NOTE: As of Oct 2003, "all" is the
only entity that can be nuked.| Method Detail |
|---|
public int getNumberOfArguments()
public java.lang.String getEntity()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||