|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--operator | +--operator2DInt | +--kernel3x3ThreeState
Fields inherited from class operator |
box,
name,
panel,
parameters,
type |
Constructor Summary | |
kernel3x3ThreeState(javax.swing.JPanel panel,
linkData links)
Constructor taking the parent panel (for the UI) and information about the links in the system |
Method Summary | |
int |
getNumber()
Returns the number of this operator. |
void |
go()
Runs the kernel by simply generating an image from the current state of the buttons and propagating it to the next operators |
void |
loadParameters(java.io.StreamTokenizer tokenizer)
Loads the required parameters from the input stream, so the operator can be recreated just as it was saved. |
java.lang.String |
saveParameters()
Returns a String representing all the parameters for this operator for the purpose of saving the system setup (and being able to load it again at a future date). |
Methods inherited from class operator2DInt |
getInput1,
getInput2,
getOutput1,
getOutput2,
link1To1,
link1To2,
link2To1,
link2To2,
setInput1,
setInput2 |
Methods inherited from class operator |
getBox,
getName,
getParameters,
getType,
propagate,
propagateSingleLink,
saveOperator,
setBox,
setName,
setType,
showParameters,
updateParameters |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public kernel3x3ThreeState(javax.swing.JPanel panel, linkData links)
panel
- the panel that the UI for the operators is based aroundlinks
- the information about the system's linksMethod Detail |
public int getNumber()
public java.lang.String saveParameters()
public void loadParameters(java.io.StreamTokenizer tokenizer) throws java.io.IOException
tokenizer
- the input stream split into tokenspublic void go()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |