net.sourceforge.geeboss.model.editors
Class AbstractParameter

java.lang.Object
  extended by net.sourceforge.geeboss.model.editors.AbstractParameter
All Implemented Interfaces:
LoadConfigurationSupport, Parameter
Direct Known Subclasses:
MemoryValueParameter

public abstract class AbstractParameter
extends java.lang.Object
implements Parameter, LoadConfigurationSupport

Base class for parameters in the geeboss application

Author:
Frederic BORRY

Field Summary
protected  EditorHandler mParent
          Reference to the parent editor handler
 
Constructor Summary
AbstractParameter(EditorHandler parent, org.apache.avalon.framework.configuration.Configuration configuration, GeebossContainer container)
          Create a new Parameter given it's configuration
 
Method Summary
 java.lang.String getName()
          Getter for parameter name
 void loadConfiguration(org.apache.avalon.framework.configuration.Configuration configuration, GeebossContainer container)
          Load the configuration of this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sourceforge.geeboss.model.editors.Parameter
getMax, getMin, getNumberValue, getStringValue, isNumber, isString, setNumberValue, setStringValue
 

Field Detail

mParent

protected EditorHandler mParent
Reference to the parent editor handler

Constructor Detail

AbstractParameter

public AbstractParameter(EditorHandler parent,
                         org.apache.avalon.framework.configuration.Configuration configuration,
                         GeebossContainer container)
                  throws org.apache.avalon.framework.configuration.ConfigurationException
Create a new Parameter given it's configuration

Parameters:
parent - the parent editor
configuration - this parameter's configuration
container - a reference to the GeebossContainer
Throws:
org.apache.avalon.framework.configuration.ConfigurationException
Method Detail

getName

public java.lang.String getName()
Getter for parameter name

Specified by:
getName in interface Parameter
Returns:
the name of the parameter

loadConfiguration

public void loadConfiguration(org.apache.avalon.framework.configuration.Configuration configuration,
                              GeebossContainer container)
                       throws org.apache.avalon.framework.configuration.ConfigurationException
Load the configuration of this object

Specified by:
loadConfiguration in interface LoadConfigurationSupport
Parameters:
configuration - this object's configuration
container - a reference to the GeebossContainer
Throws:
org.apache.avalon.framework.configuration.ConfigurationException


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