|
SpringGUI
introduction download reference examples faq
Reference
Name
|
handleEvent()
|
Examples
|
void handleEvent(String[] parameters) {
// This will print a message whenever any of the buttons in
// SpringGUI has been pushed.
if ( parameters[0].equals("Button") &&
parameters[2].equals("mouseClicked") ) {
println("You have clicked any Button!");
}
}
|
Description
|
handleEvent() is the method you must implement in your Processing sketches for SpringGUI to work.
|
Syntax
|
|
Parameters
|
String[] parameters
|
This is the array of parameters your event-handling method will receive.
|
|
Returns
|
|
Related
|
|
back to the top of the page
|
| |
| | |