public class RoutingFrame.RoutingParameter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
TYPEBOOLEAN |
static int |
TYPEDOUBLE |
static int |
TYPEINTEGER |
static int |
TYPESTRING |
Constructor and Description |
---|
RoutingFrame.RoutingParameter(java.lang.String name,
java.lang.String title,
boolean factory)
Constructor to create a boolean routing parameter.
|
RoutingFrame.RoutingParameter(java.lang.String name,
java.lang.String title,
double factory)
Constructor to create a double routing parameter.
|
RoutingFrame.RoutingParameter(java.lang.String name,
java.lang.String title,
int factory)
Constructor to create an integer routing parameter.
|
RoutingFrame.RoutingParameter(java.lang.String name,
java.lang.String title,
java.lang.String factory)
Constructor to create a String routing parameter.
|
Modifier and Type | Method and Description |
---|---|
void |
clearTempValue() |
boolean |
getBooleanValue()
Method to get the current Parameter value for a boolean.
|
double |
getDoubleValue()
Method to get the current Parameter value for a double.
|
int |
getIntValue()
Method to get the current Parameter value for an integer.
|
java.lang.String |
getName() |
RoutingFrame |
getOwner() |
java.lang.String |
getStringValue()
Method to get the current Parameter value for a String.
|
boolean |
getTempBooleanValue() |
double |
getTempDoubleValue() |
int |
getTempIntValue()
TEMP VALUES DURING THE PREFERENCES DIALOG
|
java.lang.String |
getTempStringValue() |
int |
getType() |
boolean |
hasTempValue() |
void |
setTempBooleanValue(boolean d) |
void |
setTempDoubleValue(double d) |
void |
setTempIntValue(int i) |
void |
setTempStringValue(java.lang.String s) |
public static final int TYPEINTEGER
public static final int TYPESTRING
public static final int TYPEDOUBLE
public static final int TYPEBOOLEAN
public RoutingFrame.RoutingParameter(java.lang.String name, java.lang.String title, int factory)
name
- the parameter name (should be simple, no spaces).title
- the title of the parameter (used in the Preferences dialog).factory
- the default value of the parameter.public RoutingFrame.RoutingParameter(java.lang.String name, java.lang.String title, java.lang.String factory)
name
- the parameter name (should be simple, no spaces).title
- the title of the parameter (used in the Preferences dialog).factory
- the default value of the parameter.public RoutingFrame.RoutingParameter(java.lang.String name, java.lang.String title, double factory)
name
- the parameter name (should be simple, no spaces).title
- the title of the parameter (used in the Preferences dialog).factory
- the default value of the parameter.public RoutingFrame.RoutingParameter(java.lang.String name, java.lang.String title, boolean factory)
name
- the parameter name (should be simple, no spaces).title
- the title of the parameter (used in the Preferences dialog).factory
- the default value of the parameter.public RoutingFrame getOwner()
public java.lang.String getName()
public int getType()
public int getIntValue()
public java.lang.String getStringValue()
public double getDoubleValue()
public boolean getBooleanValue()
public int getTempIntValue()
public java.lang.String getTempStringValue()
public double getTempDoubleValue()
public boolean getTempBooleanValue()
public void setTempIntValue(int i)
public void setTempStringValue(java.lang.String s)
public void setTempDoubleValue(double d)
public void setTempBooleanValue(boolean d)
public boolean hasTempValue()
public void clearTempValue()