|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.simBio.core.Initializer
public class Initializer
Keep values to initialize Component.
初期値をComponentに受け渡す
Field Summary | |
---|---|
static String |
CLASS_NAME
attribute name of the class |
static String |
INITIAL_VALUE
attribute name of the initial value |
static String |
NAME
attribute name of the name |
static String |
UNITS
attribute name of the units |
Method Summary | |
---|---|
void |
clear()
clear all attributes. |
String |
getClassName()
Returns the className. |
String |
getInitialValue()
Returns the initialValue. |
static Initializer |
getInstance(Composite composite,
Attributes attributes)
return the only initializer in which parent and attributes are set. |
static Initializer |
getInstance(String className)
|
String |
getName()
Returns the name. |
Composite |
getParent()
Returns the parent. |
String |
getUnits()
Returns the units. |
void |
setClassName(String className)
Sets the className. |
void |
setInitialValue(String initialValue)
Sets the initialValue. |
void |
setName(String name)
Sets the name. |
void |
setParent(Composite parent)
Sets the parent. |
void |
setUnits(String units)
Sets the units. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String NAME
public static final String INITIAL_VALUE
public static final String UNITS
public static final String CLASS_NAME
Method Detail |
---|
public static Initializer getInstance(Composite composite, Attributes attributes)
composite
- parent Nodeattributes
- read from XML
public String getClassName()
public String getInitialValue()
public String getName()
public Composite getParent()
public String getUnits()
public void setClassName(String className)
className
- The className to setpublic void setInitialValue(String initialValue)
initialValue
- The initialValue to setpublic void setName(String name)
name
- The name to setpublic void setParent(Composite parent)
parent
- The parent to setpublic void setUnits(String units)
units
- The units to setpublic void clear()
public static Initializer getInstance(String className)
className
- complete class name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |