net.simplace.util.FWObservable




public class FWObservable {
// Public Constructors
public FWObservable(Map aFormInputParameterMap, FWAbstractFunctionality
aFormFunctionality);
public FWObservable();


// Public Instance Methods
public synchronized void addObserver(FWObserver aObserver);

Adds an observer to the set of observers for this object, provided that it is not the same as some observer already in the set. The order in which notifications will be delivered to multiple observers is not specified. See the class comment.
public Map getParameterMap();


returns the parameterMap
public String getStringParameterValue(String aKey);


returns one parameter value for given key - null if key was not set
public Integer getIntegerParameterValue(String aKey);


returns one parameter converted to Integer value for given key - null if key was not set or value not convertible
public Double getDoubleParameterValue(String aKey);


returns one parameter converted to Double value for given key - null if key was not set or value not convertible
public String replaceParamTokens(String aString, Object aDefault);

replaces Parameters
returns aNewValue
public String replaceParamTokens(String aString, Object aDefault, boolean
aIgnoreNull);

replaces Parameters
returns aNewValue
public Object getParameter(String aKey);


returns parameter by aKey
public Object getParameter(String aKey, Object aDefault);


returns parameter by aKey or default value
public void setParameterValue(String aKey, Object aValue);

public void setParameterValue(String aKey, Object aValue, boolean
aShouldNotify);

public String getSystemID();


returns Identifier of this Functionality
public void notifyObservers();

If this object has changed, as indicated by the hasChanged method, then notify all of its observers and then call the clearChanged method to indicate that this object has no longer changed.

Each observer has its update method called with two arguments: this observable object and null. In other words, this method is equivalent to:

notifyObservers(null)
public void notifyObservers(Object arg);

If this object has changed, as indicated by the hasChanged method, then notify all of its observers and then call the clearChanged method to indicate that this object has no longer changed.

Each observer has its update method called with two arguments: this observable object and the arg argument.

public synchronized boolean hasChanged();

Tests if this object has changed.
returns true if and only if the setChanged method has been called more recently than the clearChanged method on this object; false otherwise.
public synchronized int countObservers();

Returns the number of observers of this Observable object.
returns the number of observers of this object.
public FWAbstractFunctionality getFunctionality();

Returns the number of observers of this Observable object.
returns the number of observers of this object.
public FWObservable clone(); // Overrides java.lang.Object

Returns the number of observers of this Observable object.
returns the number of observers of this object.
public boolean getBooleanParameterValue(String aParamKey, boolean aDefault);


returns boolean parameter value
public void removeParameter(String aElement);

public void putAllParameters(Map aParamMap);

public boolean isParameterSet(String aKey);


returns true, is the parameter is set, otherwise returns false
public String toString(); // Overrides java.lang.Object


// Protected Instance Methods
protected synchronized void setChanged();

Marks this Observable object as having been changed; the hasChanged method will now return true.
protected synchronized void clearChanged();

Indicates that this object has no longer changed, or that it has already notified all of its observers of its most recent change, so that the hasChanged method will now return false. This method is called automatically by the notifyObservers methods.


}



Passed to: net.simplace.util.io.AbstractAsciiReader(), net.simplace.util.io.AbstractDataReader(), net.simplace.util.io.AbstractListReader(), net.simplace.ui.formengine.geotools.AbstractMapChooserPanel(), net.simplace.util.pipeline.FWPipeLineHelper.checkIfExpression(), net.simplace.util.io.ColumnData(), net.simplace.simulation.io.resources.FWSimResourceAdapter.createAdapterFromObservable(), net.simplace.ui.formengine.geotools.FWMapPolygonChooserFormComponent.createMapChooserPanel(), net.simplace.ui.formengine.geotools.FWMapPointsChooserFormComponent.createMapChooserPanel(), net.simplace.ui.formengine.geotools.FWMapObjectChooserFormComponent.createMapChooserPanel(), net.simplace.ui.formengine.geotools.FWMapLineChooserFormComponent.createMapChooserPanel(), net.simplace.ui.formengine.geotools.FWMapEnvelopeChooserFormComponent.createMapChooserPanel(), net.simplace.ui.formengine.geotools.FWMapAreaChooserFormComponent.createMapChooserPanel(), net.simplace.ui.formengine.geotools.FWAbstractMapChooserFormComponent.createMapChooserPanel(), net.simplace.simulation.io.output.FWSimOutputAdapter.createOutputFromObservable(), net.simplace.util.hsql.DatabaseAccessPanel(), net.simplace.util.hsql.DatabaseAccessPanel(), net.simplace.util.pipeline.FWPipeLineHelper.filterParameters(), net.simplace.ui.formengine.FWAbstractFormComponent(), net.simplace.ui.formengine.FWAbstractFormComponent(), net.simplace.ui.formengine.FWAbstractFormSubComponent(), net.simplace.ui.formengine.geotools.FWAbstractMapChooserFormComponent(), net.simplace.ui.formengine.result.FWChartFormComponent(), net.simplace.ui.formengine.choice.FWCheckboxChoiceSubComponent(), net.simplace.ui.formengine.choice.FWCheckboxChoiceSubComponent(), net.simplace.ui.formengine.choice.FWCheckboxChoiceSubComponent(), net.simplace.ui.formengine.choice.FWCheckboxChoiceSubComponent(), net.simplace.ui.formengine.FWCheckValueFormComponent(), net.simplace.ui.formengine.choice.FWChoiceFormComponent(), net.simplace.ui.formengine.database.FWDatabaseAccessFormComponent(), net.simplace.ui.formengine.date.FWDateFormComponent(), net.simplace.ui.formengine.date.FWDatePopUpButton(), net.simplace.ui.formengine.date.FWDaySubComponent(), net.simplace.ui.formengine.integer.FWDoubleFormComponent(), net.simplace.ui.formengine.file.FWFileChooserFormComponent(), net.simplace.ui.formengine.FWFormDialog(), net.simplace.ui.panel.FWFormPanel(), net.simplace.ui.formengine.fuzzy.FWFuzzyFormComponent(), net.simplace.ui.formengine.FWGroupFormComponent(), net.simplace.ui.formengine.FWHeaderFormComponent(), net.simplace.ui.formengine.result.FWImageFormComponent(), net.simplace.ui.panel.FWImagePanel(), net.simplace.ui.formengine.integer.FWIntegerFormComponent(), net.simplace.ui.formengine.FWLabelFormComponent(), net.simplace.ui.formengine.geotools.FWMapAreaChooserFormComponent(), net.simplace.ui.formengine.geotools.FWMapChoiceFormComponent(), net.simplace.ui.formengine.geotools.FWMapEnvelopeChooserFormComponent(), net.simplace.ui.formengine.geotools.FWMapLineChooserFormComponent(), net.simplace.ui.formengine.geotools.FWMapObjectChooserFormComponent(), net.simplace.ui.formengine.geotools.FWMapPointsChooserFormComponent(), net.simplace.ui.formengine.geotools.FWMapPolygonChooserFormComponent(), net.simplace.ui.formengine.FWMemoryMonitorFormComponent(), net.simplace.ui.formengine.date.FWMonthSubComponent(), net.simplace.ui.formengine.date.FWMonthSubComponent(), net.simplace.ui.formengine.FWPasswordFormComponent(), net.simplace.util.pipeline.FWPipeLinesContainer(), net.simplace.ui.formengine.button.FWProcessorButtonFormComponent(), net.simplace.ui.formengine.FWProgressFormComponent(), net.simplace.ui.progress.FWProgressTaskEvent(), net.simplace.util.property.FWPropertyContainer(), net.simplace.ui.formengine.result.FWResultFormComponent(), net.simplace.ui.formengine.choice.FWSingleCheckboxChoiceSubComponent(), net.simplace.ui.formengine.choice.FWSingleCheckboxChoiceSubComponent(), net.simplace.ui.formengine.table.FWTableFormComponent(), net.simplace.ui.formengine.FWTextFormComponent(), net.simplace.ui.formengine.FWTreeFormComponent(), net.simplace.ui.formengine.date.FWYearSubComponent(), net.simplace.ui.formengine.date.FWYearSubComponent(), net.simplace.processors.GeoDataLoaderProcessor(), net.simplace.ui.formengine.geotools.GeoObjectChooser(), net.simplace.ui.formengine.geotools.GeoObjectChooser(), net.simplace.ui.formengine.geotools.GeoObjectChooser(), net.simplace.ui.formengine.geotools.GeoObjectChooserPanel(), net.simplace.ui.formengine.geotools.GeoObjectChooserPanel(), net.simplace.util.customize.FWCustomizableLayoutProvider.getChartStyle(), net.simplace.util.system.FWSystemModel.getChartStyle(), net.simplace.util.pipeline.FWPipeLinesContainer.getClonedContainer(), net.simplace.simulation.FWSimSolution.getDynamicForm(), net.simplace.util.io.AbstractDataReader.getIntegerValue(), net.simplace.util.hsql.HSQLAsciiReader(), net.simplace.util.hsql.HSQLListReader(), net.simplace.ui.formengine.FWAbstractFormComponent.init(), net.simplace.ui.formengine.filler.FWAbstractFormComponentFiller.initialize(), net.simplace.ui.formengine.result.FWAbstractResultFormComponentPanel.initialize(), net.simplace.ui.formengine.FWAbstractExtendedFormComponent.initialize(), net.simplace.processors.LoopSystemscenarioProcessor.interveneRunLoop(), net.simplace.processors.LoopScenarioProcessor.interveneRunLoop(), net.simplace.util.pipeline.FWLoopProcessor.interveneRunLoop(), net.simplace.util.jfreechart.JFreeChartAsciiReader(), net.simplace.ui.formengine.geotools.MapAreaChooserPanel(), net.simplace.util.io.MapAsciiReader(), net.simplace.ui.formengine.geotools.MapLineChooserPanel(), net.simplace.ui.formengine.geotools.MapObjectChooserPanel(), net.simplace.ui.formengine.geotools.MapPointsChooserPanel(), net.simplace.util.pipeline.FWPipeLineHelper.performChannelReplacements(), net.simplace.util.pipeline.FWProcessor.pipe(), net.simplace.util.pipeline.FWPipeLine.prepare(), net.simplace.util.service.PrintHelper.print(), net.simplace.util.service.GeotoolsHelper.putGridParametersToParameterMap(), FWFrameworkHelper.replaceParamsInFile(), net.simplace.util.pipeline.FWLoopProcessor.runLoop(), net.simplace.util.pipeline.FWProcessor.setInParameterMap(), net.simplace.ui.formengine.FWAbstractFormComponent.setObservable(), net.simplace.util.functionality.FWAbstractFunctionality.setObservable(), net.simplace.util.jfreechart.ChartStyle.setObservable(), net.simplace.util.jfreechart.AbstractChartStyle.setObservable(), net.simplace.ui.progress.FWProgressTask.setStateOfTask(), net.simplace.ui.usermessage.FWMessageDialog.showFormDialog(), net.simplace.simulation.FWSimSolution.update(), net.simplace.ui.formengine.FWTreeFormComponent.update(), net.simplace.ui.formengine.FWTextFormComponent.update(), net.simplace.ui.formengine.FWProgressFormComponent.update(), net.simplace.ui.formengine.FWPasswordFormComponent.update(), net.simplace.ui.formengine.FWMemoryMonitorFormComponent.update(), net.simplace.ui.formengine.FWLabelFormComponent.update(), net.simplace.ui.formengine.FWHeaderFormComponent.update(), net.simplace.ui.formengine.FWGroupFormComponent.update(), net.simplace.ui.formengine.FWCheckValueFormComponent.update(), net.simplace.ui.formengine.FWAbstractFormComponent.update(), net.simplace.ui.formengine.button.FWProcessorButtonFormComponent.update(), net.simplace.ui.formengine.choice.FWChoiceFormComponent.update(), net.simplace.ui.formengine.database.FWDatabaseAccessFormComponent.update(), net.simplace.ui.formengine.date.FWDateFormComponent.update(), net.simplace.ui.formengine.file.FWFileChooserFormComponent.update(), net.simplace.ui.formengine.geotools.FWMapChoiceFormComponent.update(), net.simplace.ui.formengine.integer.FWIntegerFormComponent.update(), net.simplace.ui.formengine.integer.FWDoubleFormComponent.update(), net.simplace.ui.formengine.result.FWResultFormComponent.update(), net.simplace.ui.formengine.result.FWImageFormComponent.update(), net.simplace.ui.formengine.result.FWChartFormComponent.update(), FWObserver.update(), net.simplace.simulation.io.resources.FWSimResourceTransformer.updateFields(), net.simplace.simulation.io.resources.transformer.DefaultSQLStatementTransformer.updateFields(), net.simplace.simulation.io.resources.transformer.DefaultRuleTransformer.updateFields(), net.simplace.simulation.util.FWSimVariable.updateFields(), net.simplace.util.jfreechart.style.XMLChartStyle()



Returned by: clone(), net.simplace.util.pipeline.FWPipeLineHelper.filterParameters(), net.simplace.util.pipeline.FWProcessor.getInParameters(), net.simplace.ui.formengine.FWFormDialog.getObservable(), net.simplace.ui.formengine.FWAbstractFormComponent.getObservable(), net.simplace.ui.formengine.result.FWAbstractResultFormComponentPanel.getObservable(), net.simplace.ui.panel.FWFormPanel.getObservable(), net.simplace.ui.progress.FWProgressTaskEvent.getObservable(), net.simplace.util.functionality.FWAbstractFunctionality.getObservable(), net.simplace.util.pipeline.FWPipeLinesContainer.getObservable(), net.simplace.util.property.FWPropertyContainer.getObservable(), net.simplace.util.pipeline.FWPipeLine.getResult(), net.simplace.util.pipeline.FWPipeLineHelper.performChannelReplacements(), net.simplace.util.pipeline.FWProcessor.pipe(), net.simplace.util.pipeline.FWPipeLineHelper.processPipeLine(), net.simplace.util.functionality.FWAbstractFunctionality.runFunctionality(), net.simplace.util.pipeline.FWLoopProcessor.runLoop(), net.simplace.util.pipeline.FWFunctionalityPipelineRunner.runPipeline(), net.simplace.util.pipeline.FWFunctionalityPipelineRunner.runPipeline(), net.simplace.ui.usermessage.FWMessageDialog.showFormDialog()



Type of: net.simplace.util.pipeline.FWProcessor.iInObservable, net.simplace.ui.formengine.filler.FWAbstractFormComponentFiller.iObervable, net.simplace.ui.formengine.FWAbstractFormSubComponent.iObservable, net.simplace.ui.formengine.FWAbstractFormComponent.iObservable, net.simplace.ui.formengine.geotools.GeoObjectChooserPanel.iObservable, net.simplace.util.io.AbstractDataReader.iObservable, net.simplace.util.jfreechart.AbstractChartStyle.iObservable, net.simplace.util.pipeline.FWProcessor.iObservable