| java.lang.Object org.araneaframework.core.BaseComponent org.araneaframework.core.BaseApplicationComponent
addComponent | public void addComponent(Object key, Component child, Environment env)(Code) | | Adds a component with the specified key. Allready initilized component cannot be added.
Duplicate keys not allowed. The child is initialized with the Environment env.
|
addComponent | public void addComponent(Object key, Component child)(Code) | | Adds a component with the specified key. Allready initilized components cannot be added.
Duplicate keys not allowed. The child is initialized with the Environment from
getChildComponentEnvironment() .
throws: Exception - |
disableComponent | public void disableComponent(Object key)(Code) | | Disables the component with the specified key. Only a enabled component can be disabled.
|
enableComponent | public void enableComponent(Object key)(Code) | | Enables the component with the specified key. Only a disabled componet can be enabled.
|
getChildComponentEnvironment | protected Environment getChildComponentEnvironment()(Code) | | Returns the the Environment of this Component by default. Usually overridden.
|
getChildren | public Map getChildren()(Code) | | Returns a unmodifiable map of all the child components under this Component.
a map of child components |
getViewModel | protected Object getViewModel() throws Exception(Code) | | Returns the view model. Usually overridden.
|
relocateComponent | public void relocateComponent(Composite parent, Environment newEnv, Object keyFrom, Object keyTo)(Code) | | Relocates parent's child with keyFrom to this component with a new key keyTo. The child
will get the Environment specified by newEnv.
Parameters: parent - is the current parent of the child to be relocated. Parameters: newEnv - the new Environment of the child. Parameters: keyFrom - is the key of the child to be relocated. Parameters: keyTo - is the the key, with which the child will be added to this StandardService. |
relocateComponent | public void relocateComponent(Composite parent, Object keyFrom, Object keyTo)(Code) | | Relocates parent's child with keyFrom to this service with a new key keyTo. The child
will get the Environment of this StandardService.
Parameters: parent - is the current parent of the child to be relocated. Parameters: keyFrom - is the key of the child to be relocated. Parameters: keyTo - is the the key, with which the child will be added to this StandardService. |
removeComponent | public void removeComponent(Object key)(Code) | | Removes the component with the specified key.
|
|
|