|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.fractal.gui.model.BasicConfiguration
Basic implementation of the Configuration
interface.
Field Summary | |
static java.lang.String |
CONFIGURATION_LISTENERS_BINDING
A collection client interface bound to the listeners of this model. |
static java.lang.String |
VETOABLE_CONFIGURATION_LISTENERS_BINDING
A collection client interface bound to the vetoable listeners of this model. |
Fields inherited from interface org.objectweb.fractal.api.control.LifeCycleController |
STARTED, STOPPED |
Constructor Summary | |
BasicConfiguration()
Constructs a new basic configuration component. |
Method Summary | |
void |
bindFc(java.lang.String clientItfName,
java.lang.Object serverItf)
|
ClientInterface |
createClientInterface(Component owner)
Creates a new external client interface. |
Component |
createComponent()
Creates a new component. |
Component |
createComponent(Component component)
Creates a slave component. |
ServerInterface |
createServerInterface(Component owner)
Creates a new external server interface. |
long |
getChangeCount()
Returns the status of this configuration. |
java.lang.String |
getFcState()
|
Component |
getRootComponent()
Returns the root component of this configuration. |
java.lang.String |
getStorage()
Returns the storage directory of this configuration. |
java.lang.String[] |
listFc()
|
java.lang.Object |
lookupFc(java.lang.String clientItfName)
|
void |
setChangeCount(long changeCount)
Sets the status of this configuration. |
void |
setRootComponent(Component root)
Sets the root component of this configuration. |
void |
setStorage(java.lang.String storage)
Sets the storage directory of this configuration. |
void |
startFc()
|
void |
stopFc()
|
void |
unbindFc(java.lang.String clientItfName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String VETOABLE_CONFIGURATION_LISTENERS_BINDING
vetoable listeners
of this model.
public static final java.lang.String CONFIGURATION_LISTENERS_BINDING
listeners
of this model.
Constructor Detail |
public BasicConfiguration()
Method Detail |
public java.lang.String[] listFc()
listFc
in interface org.objectweb.fractal.api.control.BindingController
public java.lang.Object lookupFc(java.lang.String clientItfName)
lookupFc
in interface org.objectweb.fractal.api.control.BindingController
public void bindFc(java.lang.String clientItfName, java.lang.Object serverItf)
bindFc
in interface org.objectweb.fractal.api.control.BindingController
public void unbindFc(java.lang.String clientItfName)
unbindFc
in interface org.objectweb.fractal.api.control.BindingController
public java.lang.String getFcState()
getFcState
in interface org.objectweb.fractal.api.control.LifeCycleController
public void startFc()
startFc
in interface org.objectweb.fractal.api.control.LifeCycleController
public void stopFc()
stopFc
in interface org.objectweb.fractal.api.control.LifeCycleController
public Component getRootComponent()
Configuration
getRootComponent
in interface Configuration
Configuration.setRootComponent(org.objectweb.fractal.gui.model.Component)
public void setRootComponent(Component root)
Configuration
rootComponentChanged
method.
setRootComponent
in interface Configuration
root
- the new root component of this configuration.Configuration.getRootComponent()
public long getChangeCount()
Configuration
getChangeCount
in interface Configuration
Configuration.setChangeCount(long)
public void setChangeCount(long changeCount)
Configuration
setChangeCount
in interface Configuration
Configuration.getChangeCount()
public java.lang.String getStorage()
Configuration
getStorage
in interface Configuration
Configuration.setStorage(java.lang.String)
public void setStorage(java.lang.String storage)
Configuration
setStorage
in interface Configuration
storage
- the new storage directory of this configuration.Configuration.getStorage()
public Component createComponent()
Factory
createComponent
in interface Factory
public Component createComponent(Component component)
Factory
createComponent
in interface Factory
component
- a master component.
public ClientInterface createClientInterface(Component owner)
Factory
createClientInterface
in interface Factory
owner
- a component.
public ServerInterface createServerInterface(Component owner)
Factory
createServerInterface
in interface Factory
owner
- a component.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |