gov.sandia.ccaffeine.dc.user_iface.MVC.event
Class LoadEvent
java.lang.Object
java.util.EventObject
gov.sandia.ccaffeine.dc.user_iface.MVC.event.LoadEvent
- All Implemented Interfaces:
- java.io.Serializable
public class LoadEvent
- extends java.util.EventObject
Used to notify components that the cca server
loaded the class of a cca component.
The class can be used to instantiate
cca components.
A view might respond by rendering components
in the palette. The end-user can drag-and-drop
components from the palett to the main
workspace (the arena).
- See Also:
- Serialized Form
Field Summary |
protected java.util.Vector |
arguments
|
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
LoadEvent(java.lang.Object source,
java.lang.String className,
java.util.Vector arguments)
Create a LoadEvent. |
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 |
arguments
protected java.util.Vector arguments
LoadEvent
public LoadEvent(java.lang.Object source,
java.lang.String className,
java.util.Vector arguments)
- Create a LoadEvent.
The event can be used to notify components
that the cca server loaded the class of a cca widget.
The class can be used to instantiate
cca widgets.
A view might respond by rendering components
in the palette. The end-user can drag-and-drop
components from the palett to the main
workspace (the arena).
- Parameters:
source
- The entity that created this event.className
- The name of a cca widget class.
The name is actually the name of the widget's
java class.
EXAMPLE: "gov.sandia.ccaffeine.dc.component.PrinterComponent"arguments
- There must always be one
argument: the class name of the widget itself, other special
purpose arguments may follow.
getClassName
public java.lang.String getClassName()
getArguments
public java.util.Vector getArguments()