net.sourceforge.geeboss.model.editors
Class MemoryObjectEditorHandler

java.lang.Object
  extended by net.sourceforge.geeboss.model.editors.EditorHandler
      extended by net.sourceforge.geeboss.model.editors.MemoryObjectEditorHandler
All Implemented Interfaces:
LoadConfigurationSupport

public class MemoryObjectEditorHandler
extends EditorHandler

Helper class for memory object based Editor interface implementation

Author:
Frederic BORRY

Field Summary
 
Fields inherited from class net.sourceforge.geeboss.model.editors.EditorHandler
mContainer
 
Constructor Summary
MemoryObjectEditorHandler(org.apache.avalon.framework.configuration.Configuration configuration, GeebossContainer container)
          Create an new EditorHelper given an editor's configuration
 
Method Summary
 Parameter createParameterInstance(org.apache.avalon.framework.configuration.Configuration configuration, GeebossContainer container)
          Create a parameter instance for this helper given the parameter name
 MemoryObject getMemoryObject()
          Getter for associated memory object
 Parameter getParameter(MemoryValue value)
          Get the parameter associated to a memory value
 void loadConfiguration(org.apache.avalon.framework.configuration.Configuration configuration, GeebossContainer container)
          Load this EditorHandler's configuration
 void requestUpdate()
          Request an update for this editor's values
 
Methods inherited from class net.sourceforge.geeboss.model.editors.EditorHandler
activate, addParameterChangeListener, fireParameterChanged, fireParameterChanged, getEditor, getName, getParameter, getParameters, removeParameterChangeListener, setupEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemoryObjectEditorHandler

public MemoryObjectEditorHandler(org.apache.avalon.framework.configuration.Configuration configuration,
                                 GeebossContainer container)
                          throws org.apache.avalon.framework.configuration.ConfigurationException
Create an new EditorHelper given an editor's configuration

Parameters:
configuration - the editor's configuration
container - the geeboss container
Throws:
org.apache.avalon.framework.configuration.ConfigurationException
Method Detail

getMemoryObject

public MemoryObject getMemoryObject()
Getter for associated memory object

Returns:
the associated memory object

getParameter

public Parameter getParameter(MemoryValue value)
Get the parameter associated to a memory value

Parameters:
value - the memory value
Returns:
the associated parameter

loadConfiguration

public void loadConfiguration(org.apache.avalon.framework.configuration.Configuration configuration,
                              GeebossContainer container)
                       throws org.apache.avalon.framework.configuration.ConfigurationException
Load this EditorHandler's configuration

Specified by:
loadConfiguration in interface LoadConfigurationSupport
Overrides:
loadConfiguration in class EditorHandler
Parameters:
configuration - the configuration object
container - the geeboss container
Throws:
org.apache.avalon.framework.configuration.ConfigurationException

createParameterInstance

public Parameter createParameterInstance(org.apache.avalon.framework.configuration.Configuration configuration,
                                         GeebossContainer container)
                                  throws org.apache.avalon.framework.configuration.ConfigurationException
Create a parameter instance for this helper given the parameter name

Specified by:
createParameterInstance in class EditorHandler
Parameters:
configuration - the parameter configuraion
container - the geeboss container
Returns:
the created Parameter instance
Throws:
org.apache.avalon.framework.configuration.ConfigurationException

requestUpdate

public void requestUpdate()
Request an update for this editor's values

Specified by:
requestUpdate in class EditorHandler


Copyright (c) 2005 The Geeboss team (http://geeboss.sourceforge.net). All Rights Reserved.