gov.sandia.ccaffeine.dc.user_iface.MVC.event
Class DisplayStateEvent
java.lang.Object
java.util.EventObject
gov.sandia.ccaffeine.dc.user_iface.MVC.event.DisplayStateEvent
- All Implemented Interfaces:
- java.io.Serializable
public class DisplayStateEvent
- extends java.util.EventObject
This event can be used to notify components
that an entity wants to know what components
are in the arena and what connections exist
between the component. The arena is the workspace
canvas; the end-user can drag components
from the palette to the arena. The end-user
can connect components by drawing lines
between the components.
A view might respond
by rendering cca components in the main
workspace (the arena) and by rendering lines between
components that are connected togeter. The
end-user can drag components to a new location,
remove components, draw lines between
components, view or edit the properties of
components, etc.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
DisplayStateEvent(java.lang.Object source)
Create a DisplayArenaEvent. |
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 |
DisplayStateEvent
public DisplayStateEvent(java.lang.Object source)
- Create a DisplayArenaEvent.
This event can be used to notify components
that an entity wants to know what components
are in the arena and what connections exist
between the components. The arena is the workspace
canvas; the end-user can drag components
from the palette to the arena. The end-user
can connect components by drawing lines
between the components.
A view might respond
by rendering cca components in the main
workspace (the arena) and by rendering lines between
components that are connected togeter. The
end-user can drag components to a new location,
remove components, draw lines between
components, view or edit the properties of
components, etc.
- Parameters:
source
- The entity that created this event.