SpringGUI

introduction    download    reference    examples    faq


Reference

Name

isAdvancedMode()

Examples

// Checks whether SpringGUI is in advanced mode.
if ( gui.isAdvancedMode() ) {
  // do something.
}

Description

Checks whether SpringGUI is in advanced mode. If you implement the method
void handleEvent(Object[] parameters)
instead of
void handleEvent(String[] parameters)
SpringGUI will automatically switch to advanced mode (if you implement both, only the former method will receive events). In advanced mode, handleEvent will receive additional information about the underlying java.awt classes firing events, but you have to cast all parameters to the correct types manually.

Syntax

boolean result = gui.isAdvancedMode();

Parameters

none.

Returns

true if SpringGUI is in advanced mode.

Related

handleEvent()
table of events
absolute beginner in Processing?
getComponentByName()


back to the top of the page


tinkering with codetools and docsscrapbookabout