|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.fractal.aokell.lib.control.content.ContentControllerImpl
public class ContentControllerImpl
Implementation for the ContentController
.
Field Summary |
---|
Fields inherited from interface org.objectweb.fractal.aokell.lib.control.content.ContentControllerItf |
---|
NAME, TYPE |
Constructor Summary | |
---|---|
ContentControllerImpl()
|
Method Summary | |
---|---|
void |
addFcController(InterfaceType[] it,
Object ctrl)
Declare a new controller implemented by the component. |
void |
addFcSubComponent(Component arg0)
|
void |
cloneFcCtrl(Component dst,
Object hints)
Clone the controller state from the current component to another one. |
Object |
getFcInternalInterface(String interfaceName)
|
Object[] |
getFcInternalInterfaces()
Return the array of internal Interface instances implemented by this component. |
Component[] |
getFcSubComponents()
|
void |
initFc(Type type,
Object controllerDesc,
Object contentDesc,
Component compctrlimpl,
Object contentPart)
Initialize parameters required for managing internal interfaces associated with this content controller. |
void |
initFcCtrl()
Initialize the controller. |
static boolean |
isFcContainedIn(boolean recurse,
Component src,
Component dst)
Return true if the given src component is contained in the given dst component. |
Interface |
registerFcInterface(String interfaceName)
Register a new collection Interface instance. |
void |
removeFcSubComponent(Component arg0)
|
void |
setFcCompCtrl(Component compctrl)
Set the reference towards the component controller associated to this controller. |
protected void |
testLifeCyleBeforeRemoving(Component arg0)
|
void |
unregisterFcInterface(String interfaceName)
Unregister a collection Interface instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContentControllerImpl()
Method Detail |
---|
public Object[] getFcInternalInterfaces()
getFcInternalInterfaces
in interface ContentController
public Object getFcInternalInterface(String interfaceName) throws NoSuchInterfaceException
getFcInternalInterface
in interface ContentController
NoSuchInterfaceException
public Component[] getFcSubComponents()
getFcSubComponents
in interface ContentController
public void addFcSubComponent(Component arg0) throws IllegalContentException, IllegalLifeCycleException
addFcSubComponent
in interface ContentController
IllegalContentException
IllegalLifeCycleException
public void removeFcSubComponent(Component arg0) throws IllegalContentException, IllegalLifeCycleException
removeFcSubComponent
in interface ContentController
IllegalContentException
IllegalLifeCycleException
public void addFcController(InterfaceType[] it, Object ctrl)
addFcController
in interface ContentControllerItf
public void initFc(Type type, Object controllerDesc, Object contentDesc, Component compctrlimpl, Object contentPart)
initFc
in interface ContentControllerItf
public Interface registerFcInterface(String interfaceName) throws NoSuchInterfaceException
Interface
instance.
The given name must start with an existing collection interface name
decalred in the component type.
registerFcInterface
in interface ContentControllerItf
interfaceName
- the interface name (e.g. foo004)
NoSuchInterfaceException
- if there is no such collection interfacepublic void unregisterFcInterface(String interfaceName) throws NoSuchInterfaceException
Interface
instance.
The given name must start with an existing collection interface name
decalred in the component type.
unregisterFcInterface
in interface ContentControllerItf
interfaceName
- the interface name (e.g. foo004)
NoSuchInterfaceException
- if there is no such collection interfaceprotected void testLifeCyleBeforeRemoving(Component arg0) throws IllegalLifeCycleException
IllegalLifeCycleException
public static boolean isFcContainedIn(boolean recurse, Component src, Component dst)
recurse
- true if the search must be recursivesrc
- the source componentdst
- the destination component
public void setFcCompCtrl(Component compctrl)
setFcCompCtrl
in interface Controller
public void initFcCtrl()
initFcCtrl
in interface Controller
public void cloneFcCtrl(Component dst, Object hints) throws CloneCtrlException
cloneFcCtrl
in interface Controller
dst
- the destination componenthints
- hints for performing the operation
CloneCtrlException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |