|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--quoggles.boxes.Box
|
+--quoggles.stdboxes.connectors.TwoSplitConnector_Box
Input: anything
Output: two times the input (unchanged)
| Field Summary |
| Fields inherited from class quoggles.boxes.Box |
boxExecuted, iBoxGRep, inputs, outputs, parameters |
| Constructor Summary | |
TwoSplitConnector_Box()
|
|
| Method Summary | |
void |
execute()
"Duplicates" the input. |
IBoxRepresentation |
getGraphicalRepresentation()
This implementation returns a new instance of DefaultBoxRepresentation.
|
int |
getNumberOfOutputs()
Returns 2. |
int[] |
getOutputTypes()
"Duplicates" the input type. |
| Methods inherited from class quoggles.boxes.Box |
areAllInputsNull, getClassName, getId, getInputTypes, getNode, getNumberOfInputs, getOutputAt, getOutputs, getParameters, hasBeenExecuted, ignoreBox, isGraphicalRepNull, isInputSet, isInputSetAt, needsQueryRunner, removeNullValues, reset, reset, setBoxNumber, setCurrentNodesTodo, setCurrentResult, setDefaultParameters, setIgnoreBox, setInputAt, setInputs, setNode, setParameters, setQueryRunner |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TwoSplitConnector_Box()
| Method Detail |
public IBoxRepresentation getGraphicalRepresentation()
BoxDefaultBoxRepresentation.
If your subclass has any parameters, you will probably have to design
your own representation and override this method for example as follows:
if (iBoxGRep == null || !(iBoxGRep instanceof MYOWNBOX_Rep)) {
iBoxGRep = new MYOWNBOX_Rep(this);
}
return iBoxGRep;
getGraphicalRepresentation in interface IBoxgetGraphicalRepresentation in class BoxIBox.getGraphicalRepresentation()
public void execute()
throws QueryExecutionException
execute in interface IBoxexecute in class BoxQueryExecutionExceptionIBox.execute()public int[] getOutputTypes()
getOutputTypes in interface IBoxgetOutputTypes in class BoxIBox.getOutputTypes()public int getNumberOfOutputs()
getNumberOfOutputs in interface IBoxgetNumberOfOutputs in class Boxquoggles.boxes.IBox#hasSeveralOutputs()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||