|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.fractal.julia.control.content.CheckContentMixin
public abstract class CheckContentMixin
Provides basic checks to a ContentController
.
Requirements
Component
interface.
Field Summary | |
---|---|
Component |
_this_weaveableC
The weaveableC field required by this mixin. |
Method Summary | |
---|---|
abstract void |
_super_addFcSubComponent(Component subComponent)
The addFcSubComponent method
overriden by this mixin. |
abstract void |
_super_removeFcSubComponent(Component subComponent)
The removeFcSubComponent
method overriden by this mixin. |
abstract Component[] |
_this_getFcSubComponents()
The getFcSubComponents method
required by this mixin. |
void |
addFcSubComponent(Component subComponent)
Checks that the given component is not already a sub component, and then calls the overriden method. |
boolean |
containsFcSubComponent(Component subComponent)
Tests if this component contains the given sub component. |
void |
removeFcSubComponent(Component subComponent)
Checks that the given component is really a sub component, and then calls the overriden method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.fractal.api.control.ContentController |
---|
getFcInternalInterface, getFcInternalInterfaces, getFcSubComponents |
Field Detail |
---|
public Component _this_weaveableC
Component
interface of the component to
which this controller object belongs.
Method Detail |
---|
public void addFcSubComponent(Component subComponent) throws IllegalContentException, IllegalLifeCycleException
addFcSubComponent
in interface ContentController
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.public void removeFcSubComponent(Component subComponent) throws IllegalContentException, IllegalLifeCycleException
removeFcSubComponent
in interface ContentController
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.public boolean containsFcSubComponent(Component subComponent)
subComponent
- a component.
public abstract Component[] _this_getFcSubComponents()
getFcSubComponents
method
required by this mixin.
Component
interfaces of the sub-components of the
component to which this interface belongs.public abstract void _super_addFcSubComponent(Component subComponent) throws IllegalContentException, IllegalLifeCycleException
addFcSubComponent
method
overriden by this mixin.
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.public abstract void _super_removeFcSubComponent(Component subComponent) throws IllegalContentException, IllegalLifeCycleException
removeFcSubComponent
method overriden by this mixin.
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |