|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PixelSource
Abstract interface for modules that can deliver pixes to Perceptron. Note : it may be good to have all PixelSources share a buffer. This might be implemented as either an interface method that provides a drawing buffer, Or an enforced constructor or generator that takes a buffer.
Method Summary | |
---|---|
java.awt.image.BufferedImage |
getSource()
Returns a BufferedImage |
void |
keyPressed(java.awt.event.KeyEvent e)
Tells the modules to process a keystroke |
void |
step()
Informs the module to advance frames |
Method Detail |
---|
java.awt.image.BufferedImage getSource()
void step()
void keyPressed(java.awt.event.KeyEvent e)
e
- a KeyEvent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |