processing.core
Class PApplet.RegisteredMethods

java.lang.Object
  extended by processing.core.PApplet.RegisteredMethods
Enclosing class:
PApplet

public class PApplet.RegisteredMethods
extends java.lang.Object

This returns the last width and height specified by the user via the size() command.


Constructor Summary
PApplet.RegisteredMethods()
           
 
Method Summary
 void add(java.lang.Object object, java.lang.reflect.Method method)
           
 void handle()
           
 void handle(java.lang.Object[] oargs)
           
 void remove(java.lang.Object object, java.lang.reflect.Method method)
          Removes first object/method pair matched (and only the first, must be called multiple times if object is registered multiple times).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PApplet.RegisteredMethods

public PApplet.RegisteredMethods()
Method Detail

handle

public void handle()

handle

public void handle(java.lang.Object[] oargs)

add

public void add(java.lang.Object object,
                java.lang.reflect.Method method)

remove

public void remove(java.lang.Object object,
                   java.lang.reflect.Method method)
Removes first object/method pair matched (and only the first, must be called multiple times if object is registered multiple times). Does not shrink array afterwards, silently returns if method not found.