@Editable

Description

Mark variables with this annotation in order to add them to the Tinker panel. @Editable is the most basic annotation available in the Tinker package. It cannot specify constraints. Tinker will make assumptions about the best type of control used to manipulate the variable depending on the data type in question.

As the Processing grammar does not yet recognize Annotations, this feature is only available to programmers using a separate IDE such as Eclipse.

Syntax

@Editable public float amount;
@Editable public String message;
@Editable public int counter;
@Editable public boolean toggle;
Parameters
None
Returns
None
Usage
Web & Applications
Related
Last Modified: March 3, 2010

No Comments

You must be logged in to post a comment.