gov.sandia.ccaffeine.dc.user_iface.MVC
Class ControllerPython

java.lang.Object
  extended by gov.sandia.ccaffeine.dc.user_iface.MVC.ControllerPython
All Implemented Interfaces:
PythonControllerListener, java.util.EventListener

public class ControllerPython
extends java.lang.Object
implements PythonControllerListener


Constructor Summary
ControllerPython(PythonStub pythonStub)
          Create an MVC controller.
 
Method Summary
 void addAccessGuiListener(ControllerListener listener)
           
 void addControllerListener(ControllerListener listener)
           
protected  void broadcastAddProvidesPorts(AddProvidesPortsEvent event)
          Add uses ports to a component.
protected  void broadcastAddProvidesPorts(java.lang.String componentInstanceName, java.util.Vector classNameAndInstanceNameOfAllPorts)
          Add provides ports to a component.
protected  void broadcastAddUsesPorts(AddUsesPortsEvent event)
          Add uses ports to a component.
protected  void broadcastAddUsesPorts(java.lang.String componentInstanceName, java.util.Vector classNameAndInstanceNameOfAllPorts)
          Add uses ports to a component.
protected  void broadcastCcaPortParameterCurrentValue(CcaPortParameterCurrentValue x)
          Tell the GUI to display the current value of a specific port parameter
protected  void broadcastCcaPortParameterCurrentValue(ParamCurrentEvent event)
          Tell the GUI to display the current value of a specific port parameter
protected  void broadcastCcaPortParameterDefaultValue(CcaPortParameterDefaultValue x)
          Tell the GUI the default value of a specific port parameter.
protected  void broadcastCcaPortParameterDefaultValue(ParamDefaultEvent event)
          Tell the GUI the default value of a specific port parameter.
protected  void broadcastCcaPortParameterDialog(CcaPortParameterDialogBox x)
          Tell the GUI to create an empty dialog box.
protected  void broadcastCcaPortParameterDialog(ParamDialogEvent event)
          Tell the GUI to create an empty dialog box.
protected  void broadcastCcaPortParameterEndDialog(CcaPortParameterEndDialogBox x)
          Tell the GUI that the cca server is finished creating all of the parameters that belong to a port.
protected  void broadcastCcaPortParameterEndDialog(ParamEndDialogEvent event)
          Tell the GUI that the cca server is finished creating all of the parameters that belong to a port.
protected  void broadcastCcaPortParameterHelp(CcaPortParameterHelp x)
          Tell the GUI to construct a tooltip for a port parameter.
protected  void broadcastCcaPortParameterHelp(ParamHelpEvent event)
          Tell the GUI to construct a tooltip for a port parameter.
protected  void broadcastCcaPortParameterNewField(CcaPortParameterNewField x)
          Tell the GUI to create a field to hold a new port parameter.
protected  void broadcastCcaPortParameterNewField(ParamFieldEvent event)
          Tell the GUI to create a field to hold a new port parameter.
protected  void broadcastCcaPortParameterPrompt(CcaPortParameterPrompt x)
          Tell the GUI the value of the prompt of a specific port parameter.
protected  void broadcastCcaPortParameterPrompt(ParamPromptEvent event)
          Tell the GUI the value of the prompt of a specific port parameter.
protected  void broadcastCcaPortParameterRangeOfValues(CcaPortParameterRangeOfValues x)
          Tell the GUI the lower and upper bounds that the value of a specific port parameter is allowed to have.
protected  void broadcastCcaPortParameterRangeOfValues(ParamNumberRangeEvent event)
          Tell the GUI the lower and upper bounds that the value of a specific port parameter is allowed to have.
protected  void broadcastCcaPortParameterTab(CcaPortParameterTab x)
          Tell the GUI to create a tabbed pane.
protected  void broadcastCcaPortParameterTab(ParamTabEvent event)
          Tell the GUI to create a tabbed pane.
protected  void broadcastComponentPropertyValue(CcaComponentPropertyValue ccaComponentPropertyValue)
          Tell the GUI to write the value of the component property to stdout.
protected  void broadcastComponentPropertyValue(GetComponentPropertyEvent event)
          Tell the GUI to write, to stdout, the current value of a specific component property.
protected  void broadcastComponentPropertyValues(CcaComponentPropertyValue[] ccaComponentPropertyValues)
          Tell the GUI to display information on several properties.
protected  void broadcastConnection(ConnectEvent event)
          Connect two components.
protected  void broadcastConnection(java.lang.String sourceComponentName, java.lang.String sourcePortName, java.lang.String targetComponentName, java.lang.String targetPortName)
          Connect two components by drawing a line from a port on one of the components to a port on the other component.
protected  void broadcastDisconnectTwoPorts(CcaDisconnectTwoPortsEvent event)
          Disconnect two ports.
protected  void broadcastDisconnectTwoPorts(DisconnectEvent event)
          Disconnect two ports.
protected  void broadcastInstantiateComponentInArena(InstantiateEvent event)
          Add a component instance to the arena.
protected  void broadcastInstantiateComponentInArena(java.lang.String componentClassName, java.lang.String componentInstanceName)
          Add a component instance to the arena.
protected  void broadcastMessage(MessageEvent event)
          Tell the GUI to write a message to stdout.
protected  void broadcastMessage(java.lang.String message)
          Tell the GUI to write a message to stdout.
protected  void broadcastRemovedInstantiateComponentFromArena(RemoveEvent event)
          Remove an instantiated component from the arena.
protected  void broadcastRemovedInstantiateComponentFromArena(java.lang.String componentInstanceName)
          Remove an instantiated component from the arena.
protected  void broadcastSetComponentClass(AddComponentClassEvent event)
          Add a class to the palette.
protected  void broadcastSetComponentClass(java.lang.String componentClassName)
          Add a component class to the palette.
protected  void broadcastSetComponentPropertyValue(CcaComponentPropertyValue ccaComponentPropertyValue)
          Tell the GUI the value of a component property.
protected  void broadcastSetComponentPropertyValue(SetComponentPropertyEvent event)
          Tell the GUI the value of a component property.
 void closeCcaFramework(CloseCcaFrameworkEvent event)
          The cca framework is closed
 void closeComponent(CloseComponentEvent event)
          The cca server has closed a component.
 void connectTwoPorts(CcaConnectTwoPortsEvent event)
          The cca server is connecting two ports.
 void disconnectTwoPorts(CcaDisconnectTwoPortsEvent event)
          The cca server is disconnecting two ports.
 void fixSharedLibrary(FixSharedLibraryEvent event)
          The cca's python server has fixed the shared library problem.
 void instantiateComponent(InstantiateComponentEvent event)
          the cca server is sending this client one instantiated component.
 void launchGoOnAllComponents(LaunchGoOnAllComponentsEvent event)
          The cca server is launching the go command on all components
 void launchGoOnOneComponent(LaunchGoOnOneComponentEvent event)
          The cca server is launching the go command from one component.
 void loadComponent(LoadComponentEvent event)
          The cca's python server has loaded a component.
 void openCcaFramework(OpenCcaFrameworkEvent event)
          The cca's python server has opened the cca framework.
 void receivedCcaConnectionsBetweenTwoPorts(CcaConnectionsBetweenTwoPortsEvent event)
          The cca server is sending us info on all connections that are between two ports.
 void receivedComponentClassNames(ComponentClassNamesEvent event)
          the cca server is sending this client the class names of some components.
 void receivedComponentInstances(ComponentInstancesEvent event)
          The cca server is sending this client some component instances.
 void receivedComponentPropertyValue(CcaComponentPropertyValueEvent event)
          The server wants the GUI to write the current value of a component property to stdout.
 void receivedComponentPropertyValues(CcaComponentPropertyValuesEvent event)
          The server wants the GUI to write the values of all component properties to stdout.
 void receivedPortParameters(CcaPortParametersEvent event)
          The cca server is sending us all of the parameters for a port.
 void removeAccessGuiListener(ControllerListener listener)
           
 void removeControllerListener(ControllerListener listener)
           
 void removeInstantiatedComponent(RemoveInstantiatedComponentEvent event)
          The cca server is removing an instantiated component.
 void removeInstantiatedComponents(RemoveInstantiatedComponentsEvent event)
          The cca server is removing all instantiated components.
 void setComponentPropertyValue(CcaComponentPropertySetValueEvent event)
          The cca server has set the value of a component property.
 void setDebugFlag(SetDebugFlagEvent event)
          The serer has set the value of the debug flag.
 void setPathsToCcaComponents(SetPathsToCcaComponentsEvent event)
          The cca's python server has set the paths to the cca components.
 void setPathToCcaComponents(SetPathToCcaComponentsEvent event)
          The cca's python server has set the path to the cca components.
 void setPortParameterValue(CcaPortParameterSetValueEvent event)
          The server has set the value of a port parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControllerPython

public ControllerPython(PythonStub pythonStub)
Create an MVC controller. This controller receives input from the cca server.

Parameters:
pythonStub - The stub for a python client
Method Detail

openCcaFramework

public void openCcaFramework(OpenCcaFrameworkEvent event)
The cca's python server has opened the cca framework.

Specified by:
openCcaFramework in interface PythonControllerListener
Parameters:
event - The event that is generated whenever the python server is finished opening the cca framework.

setPathToCcaComponents

public void setPathToCcaComponents(SetPathToCcaComponentsEvent event)
The cca's python server has set the path to the cca components.

Specified by:
setPathToCcaComponents in interface PythonControllerListener
Parameters:
event - The event that is generated whenever the python server is finished setting the path to the cca components.

loadComponent

public void loadComponent(LoadComponentEvent event)
The cca's python server has loaded a component. A GUI might respond by displaying the component in a palette.

Specified by:
loadComponent in interface PythonControllerListener
Parameters:
event - The event that is generated whenever the python server is finished loading a component.

instantiateComponent

public void instantiateComponent(InstantiateComponentEvent event)
the cca server is sending this client one instantiated component. A GUI might respond by displaying the component in an arena(i.e workspace).

Specified by:
instantiateComponent in interface PythonControllerListener
Parameters:
event - The event that is generated whenever the python server instantiates a component.

removeInstantiatedComponent

public void removeInstantiatedComponent(RemoveInstantiatedComponentEvent event)
The cca server is removing an instantiated component. A GUI might respond by removing the component from the arena (i.e. workspace).

Specified by:
removeInstantiatedComponent in interface PythonControllerListener
Parameters:
event - The event that is generated whenever the python server removes an instantiated component.

removeInstantiatedComponents

public void removeInstantiatedComponents(RemoveInstantiatedComponentsEvent event)
The cca server is removing all instantiated components. A GUI might respond by removing the components from the arena (i.e. workspace).

Specified by:
removeInstantiatedComponents in interface PythonControllerListener
Parameters:
event - The event that is generated whenever the python server removes an instantiated component.

connectTwoPorts

public void connectTwoPorts(CcaConnectTwoPortsEvent event)
The cca server is connecting two ports. A GUI might respond by drawing a line between the two ports.

Specified by:
connectTwoPorts in interface PythonControllerListener

disconnectTwoPorts

public void disconnectTwoPorts(CcaDisconnectTwoPortsEvent event)
The cca server is disconnecting two ports. A GUI might respond by removing the line that connects the two ports.

Specified by:
disconnectTwoPorts in interface PythonControllerListener

receivedPortParameters

public void receivedPortParameters(CcaPortParametersEvent event)
The cca server is sending us all of the parameters for a port. The GUI will display the parameters inside a dialog box.

Specified by:
receivedPortParameters in interface PythonControllerListener

setPortParameterValue

public void setPortParameterValue(CcaPortParameterSetValueEvent event)
The server has set the value of a port parameter. The GUI will write the value to stdout.

Specified by:
setPortParameterValue in interface PythonControllerListener

receivedComponentPropertyValue

public void receivedComponentPropertyValue(CcaComponentPropertyValueEvent event)
The server wants the GUI to write the current value of a component property to stdout.

Specified by:
receivedComponentPropertyValue in interface PythonControllerListener
Parameters:
event - The event that is generated whenever the cca server sends the value of component property.

receivedComponentPropertyValues

public void receivedComponentPropertyValues(CcaComponentPropertyValuesEvent event)
The server wants the GUI to write the values of all component properties to stdout.

Specified by:
receivedComponentPropertyValues in interface PythonControllerListener
Parameters:
event - The event that is generated whenever the cca server sends the values of one or more component properties.

setComponentPropertyValue

public void setComponentPropertyValue(CcaComponentPropertySetValueEvent event)
The cca server has set the value of a component property.

Specified by:
setComponentPropertyValue in interface PythonControllerListener
Parameters:
event - The event that is generated whenever the cca server sets the value of component property.

setDebugFlag

public void setDebugFlag(SetDebugFlagEvent event)
The serer has set the value of the debug flag.

Specified by:
setDebugFlag in interface PythonControllerListener

fixSharedLibrary

public void fixSharedLibrary(FixSharedLibraryEvent event)
The cca's python server has fixed the shared library problem.

Specified by:
fixSharedLibrary in interface PythonControllerListener
Parameters:
event - The event that is generated whenever the python server is finished fixing the shared library problem.

setPathsToCcaComponents

public void setPathsToCcaComponents(SetPathsToCcaComponentsEvent event)
The cca's python server has set the paths to the cca components.

Specified by:
setPathsToCcaComponents in interface PythonControllerListener
Parameters:
event - The event that is generated whenever the python server is finished setting the paths to the cca components.

receivedComponentClassNames

public void receivedComponentClassNames(ComponentClassNamesEvent event)
the cca server is sending this client the class names of some components. A GUI might respond by displaying the components in a palette.

Specified by:
receivedComponentClassNames in interface PythonControllerListener
Parameters:
event - The event that is generated whenever the python server sends the class names of components.

receivedComponentInstances

public void receivedComponentInstances(ComponentInstancesEvent event)
The cca server is sending this client some component instances. A GUI might respond by displaying the components in the arena (i.e workspace).

Specified by:
receivedComponentInstances in interface PythonControllerListener

receivedCcaConnectionsBetweenTwoPorts

public void receivedCcaConnectionsBetweenTwoPorts(CcaConnectionsBetweenTwoPortsEvent event)
The cca server is sending us info on all connections that are between two ports.

Specified by:
receivedCcaConnectionsBetweenTwoPorts in interface PythonControllerListener

launchGoOnOneComponent

public void launchGoOnOneComponent(LaunchGoOnOneComponentEvent event)
The cca server is launching the go command from one component.

Specified by:
launchGoOnOneComponent in interface PythonControllerListener

launchGoOnAllComponents

public void launchGoOnAllComponents(LaunchGoOnAllComponentsEvent event)
The cca server is launching the go command on all components

Specified by:
launchGoOnAllComponents in interface PythonControllerListener

closeComponent

public void closeComponent(CloseComponentEvent event)
The cca server has closed a component.

Specified by:
closeComponent in interface PythonControllerListener

closeCcaFramework

public void closeCcaFramework(CloseCcaFrameworkEvent event)
The cca framework is closed

Specified by:
closeCcaFramework in interface PythonControllerListener

broadcastConnection

protected void broadcastConnection(java.lang.String sourceComponentName,
                                   java.lang.String sourcePortName,
                                   java.lang.String targetComponentName,
                                   java.lang.String targetPortName)
Connect two components by drawing a line from a port on one of the components to a port on the other component.

Parameters:
sourceComponent - The source component
sourcePort - The source port
targetComponent - The target component
targetPort - The target port

broadcastConnection

protected void broadcastConnection(ConnectEvent event)
Connect two components.

Parameters:
event - The event that is generated whenever uses ports are to be added to a component.

broadcastAddProvidesPorts

protected void broadcastAddProvidesPorts(java.lang.String componentInstanceName,
                                         java.util.Vector classNameAndInstanceNameOfAllPorts)
Add provides ports to a component.

Parameters:
componentInstanceName - The name of the component that is getting the new ports.
classNameAndNameOfAllPorts. - A vector that contains the (className,instanceName) pair of every new port.

broadcastAddUsesPorts

protected void broadcastAddUsesPorts(java.lang.String componentInstanceName,
                                     java.util.Vector classNameAndInstanceNameOfAllPorts)
Add uses ports to a component.

Parameters:
componentInstanceName - The name of the component that is getting the new ports.
classNameAndNameOfAllPorts. - A vector that contains the (className,instanceName) pair of every new port.

broadcastAddProvidesPorts

protected void broadcastAddProvidesPorts(AddProvidesPortsEvent event)
Add uses ports to a component.

Parameters:
event - The event that is generated whenever uses ports are to be added to a component.

broadcastAddUsesPorts

protected void broadcastAddUsesPorts(AddUsesPortsEvent event)
Add uses ports to a component.

Parameters:
event - The event that is generated whenever uses ports are to be added to a component.

broadcastInstantiateComponentInArena

protected void broadcastInstantiateComponentInArena(java.lang.String componentClassName,
                                                    java.lang.String componentInstanceName)
Add a component instance to the arena.

Parameters:
componentIntanceName - The name of the component that will be placed on the arena.

broadcastInstantiateComponentInArena

protected void broadcastInstantiateComponentInArena(InstantiateEvent event)
Add a component instance to the arena.

Parameters:
event - The event that is generated whenever a component is instantiated.

broadcastRemovedInstantiateComponentFromArena

protected void broadcastRemovedInstantiateComponentFromArena(java.lang.String componentInstanceName)
Remove an instantiated component from the arena.

Parameters:
componentIntanceName - The name of the component that will be removed from the arena.

broadcastRemovedInstantiateComponentFromArena

protected void broadcastRemovedInstantiateComponentFromArena(RemoveEvent event)
Remove an instantiated component from the arena.

Parameters:
event - The event that is generated whenever an instantiated component is removed.

broadcastSetComponentClass

protected void broadcastSetComponentClass(java.lang.String componentClassName)
Add a component class to the palette.

Parameters:
componentClassName - The name of the class that will be placed on the palette.

broadcastSetComponentClass

protected void broadcastSetComponentClass(AddComponentClassEvent event)
Add a class to the palette.

Parameters:
event - The event that is generated whenever a class is to be added to the palette.

broadcastDisconnectTwoPorts

protected void broadcastDisconnectTwoPorts(CcaDisconnectTwoPortsEvent event)
Disconnect two ports.

Parameters:
sourceComponentName - the component where the disconnect originated from.
sourcePortName - the port where the disconnect originated from.
targetComponentName - the component that is at the other end of the connection.
targetPortName - the port that is at the other end of the connection

broadcastDisconnectTwoPorts

protected void broadcastDisconnectTwoPorts(DisconnectEvent event)
Disconnect two ports.

Parameters:
DisconnectEvent - The event that is generated whenever a connection is to be broken.

broadcastCcaPortParameterCurrentValue

protected void broadcastCcaPortParameterCurrentValue(CcaPortParameterCurrentValue x)
Tell the GUI to display the current value of a specific port parameter

Parameters:
x - Contains information on the port parameter.

broadcastCcaPortParameterCurrentValue

protected void broadcastCcaPortParameterCurrentValue(ParamCurrentEvent event)
Tell the GUI to display the current value of a specific port parameter

Parameters:
event - The event that is generated whenever the cca server wants the GUI to display the current value of a port parameter.

broadcastCcaPortParameterDefaultValue

protected void broadcastCcaPortParameterDefaultValue(CcaPortParameterDefaultValue x)
Tell the GUI the default value of a specific port parameter.

Parameters:
x - Contains information on the port parameter.

broadcastCcaPortParameterDefaultValue

protected void broadcastCcaPortParameterDefaultValue(ParamDefaultEvent event)
Tell the GUI the default value of a specific port parameter.

Parameters:
event - The event that is generated whenever the cca server generates the default value of a port parameter.

broadcastCcaPortParameterTab

protected void broadcastCcaPortParameterTab(CcaPortParameterTab x)
Tell the GUI to create a tabbed pane. The cca server will later use the tabbed pane to dispay the values of port parameters.

Parameters:
x - Contains information about the tabbed pane.

broadcastCcaPortParameterTab

protected void broadcastCcaPortParameterTab(ParamTabEvent event)
Tell the GUI to create a tabbed pane. The cca server will later use the tabbed pane to dispay the values of port parameters.

Parameters:
event - The event that is generated whenever the cca server wants the GUI to create a tabbed pane.

broadcastCcaPortParameterRangeOfValues

protected void broadcastCcaPortParameterRangeOfValues(CcaPortParameterRangeOfValues x)
Tell the GUI the lower and upper bounds that the value of a specific port parameter is allowed to have.

Parameters:
x - Contains information about the parameter.

broadcastCcaPortParameterRangeOfValues

protected void broadcastCcaPortParameterRangeOfValues(ParamNumberRangeEvent event)
Tell the GUI the lower and upper bounds that the value of a specific port parameter is allowed to have.

Parameters:
event - The event that is generated whenever the cca server determines the lower and upper bounds of a port parameter.

broadcastCcaPortParameterNewField

protected void broadcastCcaPortParameterNewField(CcaPortParameterNewField x)
Tell the GUI to create a field to hold a new port parameter.

Parameters:
x - Contains information on the parameter.

broadcastCcaPortParameterNewField

protected void broadcastCcaPortParameterNewField(ParamFieldEvent event)
Tell the GUI to create a field to hold a new port parameter.

Parameters:
event - The event that is created whenever the cca server creates a new port parameter.

broadcastCcaPortParameterPrompt

protected void broadcastCcaPortParameterPrompt(CcaPortParameterPrompt x)
Tell the GUI the value of the prompt of a specific port parameter. The GUI will display the prompt to the left of the parameter.

Parameters:
x - Contains information on the parameter.

broadcastCcaPortParameterPrompt

protected void broadcastCcaPortParameterPrompt(ParamPromptEvent event)
Tell the GUI the value of the prompt of a specific port parameter. The GUI will display the prompt to the left of the parameter.

Parameters:
event - The event that is generated whenever the cca server creates a prompt for a port parameter.

broadcastCcaPortParameterEndDialog

protected void broadcastCcaPortParameterEndDialog(CcaPortParameterEndDialogBox x)
Tell the GUI that the cca server is finished creating all of the parameters that belong to a port. The GUI will finish constructing the dialog box (i.e. the dialog box contains information on the parameters).

Parameters:
x - Information on the port parameters.

broadcastCcaPortParameterEndDialog

protected void broadcastCcaPortParameterEndDialog(ParamEndDialogEvent event)
Tell the GUI that the cca server is finished creating all of the parameters that belong to a port. The GUI will finish constructing the dialog box (i.e. the dialog box contains information on the parameters).

Parameters:
event - The event that is generated whenever the cca server is finished creating all of the parameters of a specific port.

broadcastCcaPortParameterDialog

protected void broadcastCcaPortParameterDialog(CcaPortParameterDialogBox x)
Tell the GUI to create an empty dialog box. The cca server will later use the dialog box to display the values of all the parameters that belong to a port.

Parameters:
x - Information about the dialog box

broadcastCcaPortParameterDialog

protected void broadcastCcaPortParameterDialog(ParamDialogEvent event)
Tell the GUI to create an empty dialog box. The cca server will later use the dialog box to display the values of all the parameters that belong to a port.

Parameters:
event - The event that is created whenever the cca server wants the GUI to display the values of all the paramters of a specific port.

broadcastCcaPortParameterHelp

protected void broadcastCcaPortParameterHelp(CcaPortParameterHelp x)
Tell the GUI to construct a tooltip for a port parameter.

Parameters:
x - Contains information about the parameter.

broadcastCcaPortParameterHelp

protected void broadcastCcaPortParameterHelp(ParamHelpEvent event)
Tell the GUI to construct a tooltip for a port parameter.

Parameters:
event - The event that is created whenever the cca server constructs a helpful message for a port parameter.

broadcastMessage

protected void broadcastMessage(java.lang.String message)
Tell the GUI to write a message to stdout.

Parameters:
message - The contents of the message.

broadcastMessage

protected void broadcastMessage(MessageEvent event)
Tell the GUI to write a message to stdout.

Parameters:
event - The event that is generated whenever the cca server wants the GUI to write a message to stdout.

broadcastSetComponentPropertyValue

protected void broadcastSetComponentPropertyValue(CcaComponentPropertyValue ccaComponentPropertyValue)
Tell the GUI the value of a component property.

Parameters:
ccaComponentPropertyValue - Contains information on a component property.

broadcastSetComponentPropertyValue

protected void broadcastSetComponentPropertyValue(SetComponentPropertyEvent event)
Tell the GUI the value of a component property.

Parameters:
event - The event that is generated whenever the cca server constructs a new component property or whenever the server changes the value of the component property.

broadcastComponentPropertyValue

protected void broadcastComponentPropertyValue(CcaComponentPropertyValue ccaComponentPropertyValue)
Tell the GUI to write the value of the component property to stdout.

Parameters:
ccaComponentPropertyValue - Contains the name of the property that we are interested in.

broadcastComponentPropertyValue

protected void broadcastComponentPropertyValue(GetComponentPropertyEvent event)
Tell the GUI to write, to stdout, the current value of a specific component property.

Parameters:
event - The event that is generated whenever the cca server wants the GUI to display the current value of a component property.

broadcastComponentPropertyValues

protected void broadcastComponentPropertyValues(CcaComponentPropertyValue[] ccaComponentPropertyValues)
Tell the GUI to display information on several properties.

Parameters:
ccaComponentPropertyValues - Contains the names of several properties.

addControllerListener

public void addControllerListener(ControllerListener listener)

removeControllerListener

public void removeControllerListener(ControllerListener listener)

addAccessGuiListener

public void addAccessGuiListener(ControllerListener listener)

removeAccessGuiListener

public void removeAccessGuiListener(ControllerListener listener)