|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--quoggles.boxes.Box
|
+--quoggles.stdboxes.output.NormalOutput_Box
Input: anything ( Output: same as input )
| Field Summary | |
private int |
lastRowNr
Save last row assignment before a change in the parameter |
| Fields inherited from class quoggles.boxes.Box |
boxExecuted, iBoxGRep, inputs, outputs, parameters |
| Constructor Summary | |
NormalOutput_Box()
Constructs the box. |
|
| Method Summary | |
void |
execute()
Executes the box, i.e. calculates the output from the input. |
protected java.lang.String |
getClassName()
Used by getId() to retrieve the class name of the box. |
IBoxRepresentation |
getGraphicalRepresentation()
If your subclass has any parameters, you will probably have to design your own representation and implement this method for example as follows:
if (iBoxGRep == null || ! |
protected int |
getLastRowNumber()
Returns the last row number that this box was assigned to. |
void |
setLastRowNumber(int lr)
Sets the last row number that this box was assigned to. |
void |
setParameters(org.graffiti.plugin.parameter.Parameter[] pars,
boolean fromRep)
Sets the parameters of this box. |
| Methods inherited from class quoggles.boxes.Box |
areAllInputsNull, getId, getInputTypes, getNode, getNumberOfInputs, getNumberOfOutputs, getOutputAt, getOutputs, getOutputTypes, getParameters, hasBeenExecuted, ignoreBox, isGraphicalRepNull, isInputSet, isInputSetAt, needsQueryRunner, removeNullValues, reset, reset, setBoxNumber, setCurrentNodesTodo, setCurrentResult, setDefaultParameters, setIgnoreBox, setInputAt, setInputs, setNode, setQueryRunner |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface quoggles.boxes.IBox |
getId, getInputTypes, getNode, getNumberOfInputs, getNumberOfOutputs, getOutputAt, getOutputs, getOutputTypes, getParameters, hasBeenExecuted, ignoreBox, isInputSet, isInputSetAt, needsQueryRunner, reset, reset, setBoxNumber, setCurrentNodesTodo, setCurrentResult, setDefaultParameters, setIgnoreBox, setInputAt, setInputs, setNode, setQueryRunner |
| Field Detail |
private int lastRowNr
| Constructor Detail |
public NormalOutput_Box()
| Method Detail |
public void setLastRowNumber(int lr)
public void setParameters(org.graffiti.plugin.parameter.Parameter[] pars,
boolean fromRep)
IBoxBox does it) call
setParameters on the representation of this box. To avoid
updating several times, this is not done when the given flag
fromRep is true since then the call has originated from
the representation.
setParameters in interface IBoxsetParameters in class Boxpars - the parameters to be setfromRep - true if called from the box's representationIBox.setParameters(org.graffiti.plugin.parameter.Parameter[], boolean)protected int getLastRowNumber()
public IBoxRepresentation getGraphicalRepresentation()
IBox
if (iBoxGRep == null || !(iBoxGRep instanceof MYOWNBOX_Rep)) {
iBoxGRep = new MYOWNBOX_Rep(this);
}
return iBoxGRep;
getGraphicalRepresentation in interface IBoxgetGraphicalRepresentation in class BoxIBox.getGraphicalRepresentation()protected java.lang.String getClassName()
BoxgetId() to retrieve the class name of the box.
getClassName in class BoxBox.getClassName()
public void execute()
throws QueryExecutionException
IBox
execute in interface IBoxexecute in class BoxQueryExecutionExceptionIBox.execute()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||