public interface ControllerCallback
extends java.rmi.Remote
Modifier and Type | Method and Description |
---|---|
java.io.Serializable |
getInput(int rowNumber,
int columnNumber)
Returns the input from the input data table with the given row, and the given column.
|
java.io.Serializable |
getInput(int rowNumber,
java.lang.String columnName)
Returns the input from the input data table with the given row, and from the column with the given header.
|
boolean |
getInputAsBoolean(int rowNumber,
int columnNumber)
Returns the input from the input data table with the given row, and the given column.
|
boolean |
getInputAsBoolean(int rowNumber,
java.lang.String columnName)
Returns the input from the input data table with the given row, and from the column with the given header.
|
double |
getInputAsDouble(int rowNumber,
int columnNumber)
Returns the input from the input data table with the given row, and the given column.
|
double |
getInputAsDouble(int rowNumber,
java.lang.String columnName)
Returns the input from the input data table with the given row, and from the column with the given header.
|
float |
getInputAsFloat(int rowNumber,
int columnNumber)
Returns the input from the input data table with the given row, and the given column.
|
float |
getInputAsFloat(int rowNumber,
java.lang.String columnName)
Returns the input from the input data table with the given row, and from the column with the given header.
|
int |
getInputAsInteger(int rowNumber,
int columnNumber)
Returns the input from the input data table with the given row, and the given column.
|
int |
getInputAsInteger(int rowNumber,
java.lang.String columnName)
Returns the input from the input data table with the given row, and from the column with the given header.
|
long |
getInputAsLong(int rowNumber,
int columnNumber)
Returns the input from the input data table with the given row, and the given column.
|
long |
getInputAsLong(int rowNumber,
java.lang.String columnName)
Returns the input from the input data table with the given row, and from the column with the given header.
|
java.lang.String |
getInputAsString(int rowNumber,
int columnNumber)
Returns the input from the input data table with the given row, and the given column.
|
java.lang.String |
getInputAsString(int rowNumber,
java.lang.String columnName)
Returns the input from the input data table with the given row, and from the column with the given header.
|
int |
getNumInputColumns()
Returns the number of columns in the input data table.
|
int |
getNumInputRows()
Returns the number of rows in the input data table.
|
int |
getNumOutputColumns()
Returns the number of columns in the output data table.
|
double |
getStateAsDouble(java.lang.String state,
double defaultValue)
Returns the value of the state with the given name.
|
int |
getStateAsInteger(java.lang.String state,
int defaultValue)
Returns the value of the state with the given name.
|
java.lang.String |
getStateAsString(java.lang.String state,
java.lang.String defaultValue)
Returns the value of the state with the given name.
|
void |
setOutput(int columnNumber,
double value)
Sets the output in the first row of the output data table with the given column number to the given value.
|
void |
setOutput(int columnNumber,
int value)
Sets the output in the first row of the output data table with the given column number to the given value.
|
void |
setOutput(int rowNumber,
int columnNumber,
boolean value)
Sets the output in the given row of the output data table with the given column number to the given value.
|
void |
setOutput(int rowNumber,
int columnNumber,
double value)
Sets the output in the given row of the output data table with the given column number to the given value.
|
void |
setOutput(int rowNumber,
int columnNumber,
float value)
Sets the output in the given row of the output data table with the given column number to the given value.
|
void |
setOutput(int rowNumber,
int columnNumber,
int value)
Sets the output in the given row of the output data table with the given column number to the given value.
|
void |
setOutput(int rowNumber,
int columnNumber,
long value)
Sets the output in the given row of the output data table with the given column number to the given value.
|
void |
setOutput(int rowNumber,
int columnNumber,
java.io.Serializable value)
Sets the output in the given row of the output data table with the given column number to the given value.
|
void |
setOutput(int rowNumber,
int columnNumber,
java.lang.String value)
Sets the output in the given row of the output data table with the given column number to the given value.
|
void |
setOutput(int columnNumber,
java.lang.String value)
Sets the output in the first row of the output data table with the given column number to the given value.
|
void |
setOutput(int rowNumber,
java.lang.String columnName,
boolean value)
Sets the output in the given row of the output data table with the given column header to the given value.
|
void |
setOutput(int rowNumber,
java.lang.String columnName,
double value)
Sets the output in the given row of the output data table with the given column header to the given value.
|
void |
setOutput(int rowNumber,
java.lang.String columnName,
float value)
Sets the output in the given row of the output data table with the given column header to the given value.
|
void |
setOutput(int rowNumber,
java.lang.String columnName,
int value)
Sets the output in the given row of the output data table with the given column header to the given value.
|
void |
setOutput(int rowNumber,
java.lang.String columnName,
long value)
Sets the output in the given row of the output data table with the given column header to the given value.
|
void |
setOutput(int rowNumber,
java.lang.String columnName,
java.io.Serializable value)
Sets the output in the given row of the output data table with the given column header to the given value.
|
void |
setOutput(int rowNumber,
java.lang.String columnName,
java.lang.String value)
Sets the output in the given row of the output data table with the given column header to the given value.
|
void |
setOutput(java.lang.String columnName,
double value)
Sets the output in the first row of the output data table with the given column header to the given value.
|
void |
setOutput(java.lang.String columnName,
int value)
Sets the output in the first row of the output data table with the given column header to the given value.
|
void |
setOutput(java.lang.String columnName,
java.lang.String value)
Sets the output in the first row of the output data table with the given column header to the given value.
|
void |
setState(java.lang.String state,
double value)
Sets the state with the given name to the given value.
|
void |
setState(java.lang.String state,
int value)
Sets the state with the given name to the given value.
|
void |
setState(java.lang.String state,
java.lang.String value)
Sets the state with the given name to the given value.
|
void setOutput(int rowNumber, java.lang.String columnName, java.lang.String value) throws java.rmi.RemoteException, ControllerException
rowNumber
- The number of the row to set. If the row does not exist, it it created. If also smaller row numbers do not exist, also these rows are created..columnName
- The column header of the output to set.value
- The value of the output.java.rmi.RemoteException
ControllerException
void setOutput(int rowNumber, java.lang.String columnName, int value) throws java.rmi.RemoteException, ControllerException
rowNumber
- The number of the row to set. If the row does not exist, it it created. If also smaller row numbers do not exist, also these rows are created..columnName
- The column header of the output to set.value
- The value of the output.java.rmi.RemoteException
ControllerException
void setOutput(int rowNumber, java.lang.String columnName, float value) throws java.rmi.RemoteException, ControllerException
rowNumber
- The number of the row to set. If the row does not exist, it it created. If also smaller row numbers do not exist, also these rows are created..columnName
- The column header of the output to set.value
- The value of the output.java.rmi.RemoteException
ControllerException
void setOutput(int rowNumber, java.lang.String columnName, boolean value) throws java.rmi.RemoteException, ControllerException
rowNumber
- The number of the row to set. If the row does not exist, it it created. If also smaller row numbers do not exist, also these rows are created..columnName
- The column header of the output to set.value
- The value of the output.java.rmi.RemoteException
ControllerException
void setOutput(int rowNumber, java.lang.String columnName, long value) throws java.rmi.RemoteException, ControllerException
rowNumber
- The number of the row to set. If the row does not exist, it it created. If also smaller row numbers do not exist, also these rows are created..columnName
- The column header of the output to set.value
- The value of the output.java.rmi.RemoteException
ControllerException
void setOutput(int rowNumber, java.lang.String columnName, double value) throws java.rmi.RemoteException, ControllerException
rowNumber
- The number of the row to set. If the row does not exist, it it created. If also smaller row numbers do not exist, also these rows are created..columnName
- The column header of the output to set.value
- The value of the output.java.rmi.RemoteException
ControllerException
void setOutput(int rowNumber, java.lang.String columnName, java.io.Serializable value) throws java.rmi.RemoteException, ControllerException
rowNumber
- The number of the row to set. If the row does not exist, it it created. If also smaller row numbers do not exist, also these rows are created..columnName
- The column header of the output to set.value
- The value of the output.java.rmi.RemoteException
ControllerException
void setOutput(int rowNumber, int columnNumber, java.lang.String value) throws java.rmi.RemoteException, ControllerException
rowNumber
- The number of the row to set. If the row does not exist, it it created. If also smaller row numbers do not exist, also these rows are created..columnNumber
- The number of the column of the output to set.value
- The value of the output.java.rmi.RemoteException
ControllerException
void setOutput(int rowNumber, int columnNumber, java.io.Serializable value) throws java.rmi.RemoteException, ControllerException
rowNumber
- The number of the row to set. If the row does not exist, it it created. If also smaller row numbers do not exist, also these rows are created..columnNumber
- The number of the column of the output to set.value
- The value of the output.java.rmi.RemoteException
ControllerException
void setOutput(int rowNumber, int columnNumber, float value) throws java.rmi.RemoteException, ControllerException
rowNumber
- The number of the row to set. If the row does not exist, it it created. If also smaller row numbers do not exist, also these rows are created..columnNumber
- The number of the column of the output to set.value
- The value of the output.java.rmi.RemoteException
ControllerException
void setOutput(int rowNumber, int columnNumber, boolean value) throws java.rmi.RemoteException, ControllerException
rowNumber
- The number of the row to set. If the row does not exist, it it created. If also smaller row numbers do not exist, also these rows are created..columnNumber
- The number of the column of the output to set.value
- The value of the output.java.rmi.RemoteException
ControllerException
void setOutput(int rowNumber, int columnNumber, long value) throws java.rmi.RemoteException, ControllerException
rowNumber
- The number of the row to set. If the row does not exist, it it created. If also smaller row numbers do not exist, also these rows are created..columnNumber
- The number of the column of the output to set.value
- The value of the output.java.rmi.RemoteException
ControllerException
void setOutput(int rowNumber, int columnNumber, int value) throws java.rmi.RemoteException, ControllerException
rowNumber
- The number of the row to set. If the row does not exist, it it created. If also smaller row numbers do not exist, also these rows are created..columnNumber
- The number of the column of the output to set.value
- The value of the output.java.rmi.RemoteException
ControllerException
void setOutput(int rowNumber, int columnNumber, double value) throws java.rmi.RemoteException, ControllerException
rowNumber
- The number of the row to set. If the row does not exist, it it created. If also smaller row numbers do not exist, also these rows are created..columnNumber
- The number of the column of the output to set.value
- The value of the output.java.rmi.RemoteException
ControllerException
void setOutput(java.lang.String columnName, java.lang.String value) throws java.rmi.RemoteException, ControllerException
columnName
- The column header of the output to set.value
- The value of the output.java.rmi.RemoteException
ControllerException
void setOutput(java.lang.String columnName, int value) throws java.rmi.RemoteException, ControllerException
columnName
- The column header of the output to set.value
- The value of the output.java.rmi.RemoteException
ControllerException
void setOutput(java.lang.String columnName, double value) throws java.rmi.RemoteException, ControllerException
columnName
- The column header of the output to set.value
- The value of the output.java.rmi.RemoteException
ControllerException
void setOutput(int columnNumber, java.lang.String value) throws java.rmi.RemoteException, ControllerException
columnNumber
- The number of the column of the output to set.value
- The value of the output.java.rmi.RemoteException
ControllerException
void setOutput(int columnNumber, int value) throws java.rmi.RemoteException, ControllerException
columnNumber
- The number of the column of the output to set.value
- The value of the output.java.rmi.RemoteException
ControllerException
void setOutput(int columnNumber, double value) throws java.rmi.RemoteException, ControllerException
columnNumber
- The number of the column of the output to set.value
- The value of the output.java.rmi.RemoteException
ControllerException
java.lang.String getInputAsString(int rowNumber, java.lang.String columnName) throws java.rmi.RemoteException, ControllerException
columnName
- The header of the column which should be returned.rowNumber
- The number of the row which should be returned.java.rmi.RemoteException
ControllerException
java.io.Serializable getInput(int rowNumber, java.lang.String columnName) throws java.rmi.RemoteException, ControllerException
columnName
- The header of the column which should be returned.rowNumber
- The number of the row which should be returned.java.rmi.RemoteException
ControllerException
float getInputAsFloat(int rowNumber, java.lang.String columnName) throws java.rmi.RemoteException, ControllerException, java.lang.NumberFormatException
columnName
- The header of the column which should be returned.rowNumber
- The number of the row which should be returned.java.rmi.RemoteException
ControllerException
java.lang.NumberFormatException
long getInputAsLong(int rowNumber, java.lang.String columnName) throws java.rmi.RemoteException, ControllerException, java.lang.NumberFormatException
columnName
- The header of the column which should be returned.rowNumber
- The number of the row which should be returned.java.rmi.RemoteException
ControllerException
java.lang.NumberFormatException
boolean getInputAsBoolean(int rowNumber, java.lang.String columnName) throws java.rmi.RemoteException, ControllerException
columnName
- The header of the column which should be returned.rowNumber
- The number of the row which should be returned.java.rmi.RemoteException
ControllerException
java.lang.String getInputAsString(int rowNumber, int columnNumber) throws java.rmi.RemoteException, ControllerException
columnNumber
- The number of the column which should be returned.rowNumber
- The number of the row which should be returned.java.rmi.RemoteException
ControllerException
java.io.Serializable getInput(int rowNumber, int columnNumber) throws java.rmi.RemoteException, ControllerException
columnNumber
- The number of the column which should be returned.rowNumber
- The number of the row which should be returned.java.rmi.RemoteException
ControllerException
boolean getInputAsBoolean(int rowNumber, int columnNumber) throws java.rmi.RemoteException, ControllerException
columnNumber
- The number of the column which should be returned.rowNumber
- The number of the row which should be returned.java.rmi.RemoteException
ControllerException
float getInputAsFloat(int rowNumber, int columnNumber) throws java.rmi.RemoteException, ControllerException, java.lang.NumberFormatException
columnNumber
- The number of the column which should be returned.rowNumber
- The number of the row which should be returned.java.rmi.RemoteException
ControllerException
java.lang.NumberFormatException
long getInputAsLong(int rowNumber, int columnNumber) throws java.rmi.RemoteException, ControllerException, java.lang.NumberFormatException
columnNumber
- The number of the column which should be returned.rowNumber
- The number of the row which should be returned.java.rmi.RemoteException
ControllerException
java.lang.NumberFormatException
double getInputAsDouble(int rowNumber, java.lang.String columnName) throws java.rmi.RemoteException, ControllerException, java.lang.NumberFormatException
columnName
- The header of the column which should be returned.rowNumber
- The number of the row which should be returned.java.rmi.RemoteException
ControllerException
java.lang.NumberFormatException
double getInputAsDouble(int rowNumber, int columnNumber) throws java.rmi.RemoteException, ControllerException, java.lang.NumberFormatException
columnNumber
- The number of the column which should be returned.rowNumber
- The number of the row which should be returned.java.rmi.RemoteException
ControllerException
java.lang.NumberFormatException
int getInputAsInteger(int rowNumber, java.lang.String columnName) throws java.rmi.RemoteException, ControllerException, java.lang.NumberFormatException
columnName
- The header of the column which should be returned.rowNumber
- The number of the row which should be returned.java.rmi.RemoteException
ControllerException
java.lang.NumberFormatException
int getInputAsInteger(int rowNumber, int columnNumber) throws java.rmi.RemoteException, ControllerException, java.lang.NumberFormatException
columnNumber
- The number of the column which should be returned.rowNumber
- The number of the row which should be returned.java.rmi.RemoteException
ControllerException
java.lang.NumberFormatException
int getNumInputRows() throws java.rmi.RemoteException
java.rmi.RemoteException
int getNumInputColumns() throws java.rmi.RemoteException
java.rmi.RemoteException
int getNumOutputColumns() throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getStateAsString(java.lang.String state, java.lang.String defaultValue) throws java.rmi.RemoteException
state
- Name of the state.defaultValue
- Default value of the state. Typically used to set an initial value for the state when the controller is executed the first time.java.rmi.RemoteException
double getStateAsDouble(java.lang.String state, double defaultValue) throws java.rmi.RemoteException, java.lang.NumberFormatException
state
- Name of the state.defaultValue
- Default value of the state. Typically used to set an initial value for the state when the controller is executed the first time.java.rmi.RemoteException
java.lang.NumberFormatException
int getStateAsInteger(java.lang.String state, int defaultValue) throws java.rmi.RemoteException, java.lang.NumberFormatException
state
- Name of the state.defaultValue
- Default value of the state. Typically used to set an initial value for the state when the controller is executed the first time.java.rmi.RemoteException
java.lang.NumberFormatException
void setState(java.lang.String state, java.lang.String value) throws java.rmi.RemoteException
state
- Name of the state.value
- Value to set the state tojava.rmi.RemoteException
void setState(java.lang.String state, int value) throws java.rmi.RemoteException
state
- Name of the state.value
- Value to set the state tojava.rmi.RemoteException
void setState(java.lang.String state, double value) throws java.rmi.RemoteException
state
- Name of the state.value
- Value to set the state tojava.rmi.RemoteException