aokell.lib.control.superc
Class SuperControllerImpl

java.lang.Object
  extended by aokell.lib.control.superc.SuperControllerImpl
All Implemented Interfaces:
Controller, SuperControllerItf, SuperController

public class SuperControllerImpl
extends Object
implements SuperControllerItf, Controller

Implementation of the super controller.

Author:
Lionel Seinturier

Field Summary
 
Fields inherited from interface aokell.lib.control.superc.SuperControllerItf
NAME, TYPE
 
Constructor Summary
SuperControllerImpl()
           
 
Method Summary
 void addFcSuperComponent(Component c)
           
 void cloneFcCtrl(Component dst, Object hints)
          Clone the controller state from the current component to another one.
 Component[] getFcSuperComponents()
           
 void initFcCtrl()
          Initialize the controller.
 void removeFcSuperComponent(Component c)
           
 void setFcCompCtrl(Component compctrl)
          Set the reference towards the component controller associated to this controller.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SuperControllerImpl

public SuperControllerImpl()
Method Detail

getFcSuperComponents

public Component[] getFcSuperComponents()
Specified by:
getFcSuperComponents in interface SuperController

addFcSuperComponent

public void addFcSuperComponent(Component c)
Specified by:
addFcSuperComponent in interface SuperControllerItf

removeFcSuperComponent

public void removeFcSuperComponent(Component c)
Specified by:
removeFcSuperComponent in interface SuperControllerItf

setFcCompCtrl

public void setFcCompCtrl(Component compctrl)
Set the reference towards the component controller associated to this controller.

Specified by:
setFcCompCtrl in interface Controller

initFcCtrl

public void initFcCtrl()
Initialize the controller.

Specified by:
initFcCtrl in interface Controller

cloneFcCtrl

public void cloneFcCtrl(Component dst,
                        Object hints)
                 throws CloneCtrlException
Clone the controller state from the current component to another one. This method may receive some hints on how to do this, or provide some hints on how this has been done. For instance, the hints may be a map that is read and/or written by the controller. The raison d'etre of these hints is that when its state is cloned, a controller may produce results that are needed by other controllers.

Specified by:
cloneFcCtrl in interface Controller
Parameters:
dst - the destination component
hints - hints for performing the operation
Throws:
CloneCtrlException