public class OutputAction extends DefaultAction
Modifier and Type | Field and Description |
---|---|
java.lang.String |
_outputTemplate
Description of the Field
|
Constructor and Description |
---|
OutputAction()
Constructor for the OutputAction object
|
OutputAction(java.lang.String output)
Constructor for the OutputAction object
|
Modifier and Type | Method and Description |
---|---|
IAction |
bind(VariableBindings bindings)
Bind is called during the creation of an instantiation of a produciton.
|
double |
fire(IInstantiation instantiation,
double firingTime)
Description of the Method
|
java.lang.String |
getText()
Gets the text attribute of the OutputAction object
|
static java.lang.String |
replaceVariables(java.lang.String template,
VariableBindings variableBindings)
Description of the Method
|
protected void |
replaceVariables(VariableBindings bindings) |
void |
setText(java.lang.String text)
Sets the text attribute of the OutputAction object
|
bindSlotValues, dispose, resolve, updateSlots
public OutputAction()
public OutputAction(java.lang.String output)
output
- Description of the Parameterpublic void setText(java.lang.String text)
text
- The new text valuepublic java.lang.String getText()
public IAction bind(VariableBindings bindings)
IAction
protected void replaceVariables(VariableBindings bindings)
public double fire(IInstantiation instantiation, double firingTime)
fire
in interface IAction
fire
in class DefaultAction
instantiation
- Description of the ParameterfiringTime
- when this production was firedpublic static java.lang.String replaceVariables(java.lang.String template, VariableBindings variableBindings)
variableBindings
- Description of the Parameter