G4P (GUI for Processing)  4.3.8
A set of GUI controls for your Processing sketch.
 All Classes Functions Variables Pages
g4p_controls.Util Class Reference
Inheritance diagram for g4p_controls.Util:

Static Public Member Functions

static String event_flavor (int ef)
 
static String key_action (int action)
 
static String key_event_desc (KeyEvent event)
 
static String mod (int modifiers)
 
static String mouse_action (int action)
 

Detailed Description

Simple utikity class with various methods to help in debugging.

Author
Peter Lager

Member Function Documentation

static String g4p_controls.Util.event_flavor ( int  ef)
static

Provide a text description of the event flavour

Parameters
efevent flavour id
Returns
the flavour as text
static String g4p_controls.Util.key_action ( int  action)
static

Provide a text description of the KeyEvent action

Parameters
actionthe action id
Returns
the action as text
static String g4p_controls.Util.key_event_desc ( KeyEvent  event)
static

Get a textual description of a KeyEvent object

Parameters
eventthe event to describe
Returns
event description
static String g4p_controls.Util.mod ( int  modifiers)
static

Provide a textual list of modifiers associated with an event

Parameters
modifiersthe bit encoded modifiers
Returns
the modifiers as text
static String g4p_controls.Util.mouse_action ( int  action)
static

Provide a text description of the MouseEvent action

Parameters
actionthe action id
Returns
action the action as text