gov.sandia.ccaffeine.dc.user_iface.MVC.event
Class DisplayComponentEvent
java.lang.Object
java.util.EventObject
gov.sandia.ccaffeine.dc.user_iface.MVC.event.DisplayComponentEvent
- All Implemented Interfaces:
- java.io.Serializable
public class DisplayComponentEvent
- extends java.util.EventObject
This event can be used to notify components
that an entity wants some information on a
cca component.
A view might respond by rendering a cca
component in the main workspace (the arena).
The end-user can drag the component to a
new location, remove the component, draw a
line to/from a different component, view or
edit the component's properties, etc.
A view might respond by rendering a cca
component in the main workspace (the arena).
The end-user can drag the component to a
new location, remove the component, draw a
line to/from a different component, view or
edit the component's properties, etc.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
DisplayComponentEvent(java.lang.Object source,
java.lang.String componentInstanceName)
Create a DisplayComponentEvent. |
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 |
componentInstanceName
protected java.lang.String componentInstanceName
DisplayComponentEvent
public DisplayComponentEvent(java.lang.Object source,
java.lang.String componentInstanceName)
- Create a DisplayComponentEvent.
This event can be used to notify components
that an entity wants some information on a
cca component.
A view might respond by rendering a cca
component in the main workspace (the arena).
The end-user can drag the component to a
new location, remove the component, draw a
line to/from a different component, view or
edit the component's properties, etc.
- Parameters:
source
- The entity that created this event.componentInstanceName
- The name of the
cca component object. The instance
name is usually the name of the component's
java class (without the package name)
concatenated with an index number.
EXAMPLE: "StarterComponent0"
getComponentInstanceName
public java.lang.String getComponentInstanceName()