|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.dream.control.content.BasicContentControllerMixin
public abstract class BasicContentControllerMixin
Provides a basic implementation of the BasicContentController
interface.
Field Summary | |
---|---|
Component |
_this_weaveableOptC
The weaveableOptC field required by this mixin. |
Map<String,Object> |
fcInternalInterfaces
The internal interfaces of the component to which this controller object belongs. |
List<Object> |
fcSubComponents
The sub components of the component to which this controller object belongs. |
Method Summary | |
---|---|
abstract void |
_super_initFcController(InitializationContext ic)
The initFcController method overridden
by this mixin. |
void |
addFcSubComponent(Object subComponent)
Adds a sub-component to this component. |
Object |
getFcInternalInterface(String interfaceName)
Returns an internal interface of the component to which this interface belongs. |
Object[] |
getFcInternalInterfaces()
Returns the internal interfaces of the component to which this interface belongs. |
Object[] |
getFcSubComponents()
Returns the sub-components of this component. |
void |
initFcController(InitializationContext ic)
Initializes the fields of this mixin and then calls the overridden method. |
void |
removeFcSubComponent(Object subComponent)
Removes a sub-component from this component. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Map<String,Object> fcInternalInterfaces
public List<Object> fcSubComponents
public Component _this_weaveableOptC
Component
interface of the component to
which this controller object belongs.
Method Detail |
---|
public void initFcController(InitializationContext ic) throws InstantiationException
initFcController
in interface Controller
ic
- information about the component to which this controller object
belongs.
InstantiationException
- if the initialization fails.public Object[] getFcInternalInterfaces()
BasicContentController
getFcInternalInterfaces
in interface BasicContentController
BasicContentController.getFcInternalInterfaces()
public Object getFcInternalInterface(String interfaceName) throws NoSuchInterfaceException
BasicContentController
getFcInternalInterface
in interface BasicContentController
interfaceName
- the name of the internal interface that must be
returned.
NoSuchInterfaceException
- if there is no such interface.BasicContentController.getFcInternalInterface(String)
public Object[] getFcSubComponents()
BasicContentController
getFcSubComponents
in interface BasicContentController
BasicContentController.getFcSubComponents()
public void addFcSubComponent(Object subComponent) throws IllegalContentException, IllegalLifeCycleException
BasicContentController
getFcSubComponents
just before a call to this method,
and C' is the sub-component set just after this call, then
subComponent is guaranteed to be in C' , but C'
is not guaranted to be the union of C and {subComponent}
, nor to contain all the elements of C .
addFcSubComponent
in interface BasicContentController
subComponent
- the component to be added inside this component.
IllegalContentException
- if the given component cannot be added
inside this component.
IllegalLifeCycleException
- if this component has a
LifeCycleController
interface, but it is not in an appropriate state to perform this
operation.BasicContentController.addFcSubComponent(Object)
public void removeFcSubComponent(Object subComponent) throws IllegalContentException, IllegalLifeCycleException
BasicContentController
getFcSubComponents
just before a call to this method,
and C' is the sub-component set just after this call, then
subComponent is guaranteed not to be in C' , but C'
is not guaranted to be the difference of C and
{subComponent} , nor to contain all the elements of C
distinct from subComponent.
removeFcSubComponent
in interface BasicContentController
subComponent
- the component to be removed from this component.
IllegalContentException
- if the given component cannot be removed
from this component.
IllegalLifeCycleException
- if this component has a
LifeCycleController
interface, but it is not in an appropriate state to perform this
operation.BasicContentController.removeFcSubComponent(Object)
public abstract void _super_initFcController(InitializationContext ic) throws InstantiationException
initFcController
method overridden
by this mixin.
ic
- information about the component to which this controller object
belongs.
InstantiationException
- if the initialization fails.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |