org.grinvin.generators.graphs

Class AbstractGraphGenerator

Implemented Interfaces:
Factory, GraphGenerator, NamedFactory

public abstract class AbstractGraphGenerator
extends AbstractNamedFactory
implements GraphGenerator

Common superclass of various graph generator classes. Provides support for internationalization and some helper methods.

Field Summary

Fields inherited from class org.grinvin.factories.AbstractNamedFactory

factoryProps

Fields inherited from class org.grinvin.factories.AbstractFactory

list, valueStrings, values

Constructor Summary

AbstractGraphGenerator()
Default constructor.

Method Summary

protected String
getInstanceDescription()
get the description for the instance from the internal factory properties.
String
getInstanceId()
protected String
getInstanceName()
Get the name for the instance from the internal factory properties.

Methods inherited from class org.grinvin.factories.AbstractNamedFactory

getDescription, getIconPath, getId, getLongName, getName, getSelectedIconPath

Methods inherited from class org.grinvin.factories.AbstractFactory

checkParameters, getParameterValues, getParameters, getParametersAsString, setParameterValues

Constructor Details

AbstractGraphGenerator

public AbstractGraphGenerator()
Default constructor.

Method Details

getInstanceDescription

protected String getInstanceDescription()
get the description for the instance from the internal factory properties.

getInstanceId

public String getInstanceId()
Specified by:
getInstanceId in interface GraphGenerator

getInstanceName

protected String getInstanceName()
Get the name for the instance from the internal factory properties.