Serialized Form


Package antlr

Class antlr.ANTLRError extends java.lang.Error implements Serializable

Class antlr.ANTLRException extends java.lang.Exception implements Serializable

Class antlr.BaseAST extends java.lang.Object implements Serializable

Serialized Fields

down

antlr.BaseAST down

right

antlr.BaseAST right

Class antlr.CharStreamException extends antlr.ANTLRException implements Serializable

Class antlr.CharStreamIOException extends antlr.CharStreamException implements Serializable

Serialized Fields

io

java.io.IOException io

Class antlr.CommonAST extends antlr.BaseAST implements Serializable

Serialized Fields

ttype

int ttype

text

java.lang.String text

Class antlr.CommonASTWithHiddenTokens extends antlr.CommonAST implements Serializable

Serialized Fields

hiddenBefore

antlr.CommonHiddenStreamToken hiddenBefore

hiddenAfter

antlr.CommonHiddenStreamToken hiddenAfter

Class antlr.ExtendedCommonASTWithHiddenTokens extends antlr.CommonASTWithHiddenTokens implements Serializable

Class antlr.MismatchedCharException extends antlr.RecognitionException implements Serializable

Serialized Fields

mismatchType

int mismatchType

foundChar

int foundChar

expecting

int expecting

upper

int upper

set

antlr.collections.impl.BitSet set

scanner

antlr.CharScanner scanner

Class antlr.MismatchedTokenException extends antlr.RecognitionException implements Serializable

Serialized Fields

tokenNames

java.lang.String[] tokenNames

token

antlr.Token token

node

antlr.collections.AST node

tokenText

java.lang.String tokenText

mismatchType

int mismatchType

expecting

int expecting

upper

int upper

set

antlr.collections.impl.BitSet set

Class antlr.NoViableAltException extends antlr.RecognitionException implements Serializable

Serialized Fields

token

antlr.Token token

node

antlr.collections.AST node

Class antlr.NoViableAltForCharException extends antlr.RecognitionException implements Serializable

Serialized Fields

foundChar

char foundChar

Class antlr.ParseTree extends antlr.BaseAST implements Serializable

Class antlr.ParseTreeRule extends antlr.ParseTree implements Serializable

Serialized Fields

ruleName

java.lang.String ruleName

altNumber

int altNumber

Class antlr.ParseTreeToken extends antlr.ParseTree implements Serializable

Serialized Fields

token

antlr.Token token

Class antlr.RecognitionException extends antlr.ANTLRException implements Serializable

Serialized Fields

fileName

java.lang.String fileName

line

int line

column

int column

Class antlr.SemanticException extends antlr.RecognitionException implements Serializable

Class antlr.TokenStreamException extends antlr.ANTLRException implements Serializable

Class antlr.TokenStreamIOException extends antlr.TokenStreamException implements Serializable

Serialized Fields

io

java.io.IOException io

Class antlr.TokenStreamRecognitionException extends antlr.TokenStreamException implements Serializable

Serialized Fields

recog

antlr.RecognitionException recog

Class antlr.TokenStreamRetryException extends antlr.TokenStreamException implements Serializable


Package processing.app

Class processing.app.Editor extends javax.swing.JFrame implements Serializable

Serialized Fields

base

Base base

untitled

boolean untitled
true if this file has not yet been given a name by the user


pageFormat

java.awt.print.PageFormat pageFormat

printerJob

java.awt.print.PrinterJob printerJob

fileMenu

javax.swing.JMenu fileMenu

sketchMenu

javax.swing.JMenu sketchMenu

toolbar

EditorToolbar toolbar

header

EditorHeader header

status

EditorStatus status

console

EditorConsole console

splitPane

javax.swing.JSplitPane splitPane

consolePanel

javax.swing.JPanel consolePanel

lineNumberComponent

javax.swing.JLabel lineNumberComponent

sketch

Sketch sketch

lineStatus

EditorLineStatus lineStatus

textarea

JEditTextArea textarea

listener

EditorListener listener

sketchWindowLocation

java.awt.Point sketchWindowLocation

runtime

Runner runtime

exportAppItem

javax.swing.JMenuItem exportAppItem

saveMenuItem

javax.swing.JMenuItem saveMenuItem

saveAsMenuItem

javax.swing.JMenuItem saveAsMenuItem

running

boolean running

presenting

boolean presenting

undoItem

javax.swing.JMenuItem undoItem

redoItem

javax.swing.JMenuItem redoItem

undoAction

processing.app.Editor.UndoAction undoAction

redoAction

processing.app.Editor.RedoAction redoAction

undo

javax.swing.undo.UndoManager undo

compoundEdit

javax.swing.undo.CompoundEdit compoundEdit

find

FindReplace find

Class processing.app.EditorConsole extends javax.swing.JScrollPane implements Serializable

Serialized Fields

editor

Editor editor

consoleTextPane

javax.swing.JTextPane consoleTextPane

consoleDoc

processing.app.BufferedStyledDocument consoleDoc

stdStyle

javax.swing.text.MutableAttributeSet stdStyle

errStyle

javax.swing.text.MutableAttributeSet errStyle

cerror

boolean cerror

maxLineCount

int maxLineCount

Class processing.app.EditorHeader extends javax.swing.JComponent implements Serializable

Serialized Fields

editor

Editor editor

tabLeft

int[] tabLeft

tabRight

int[] tabRight

font

java.awt.Font font

metrics

java.awt.FontMetrics metrics

fontAscent

int fontAscent

menu

javax.swing.JMenu menu

popup

javax.swing.JPopupMenu popup

menuLeft

int menuLeft

menuRight

int menuRight

offscreen

java.awt.Image offscreen

sizeW

int sizeW

sizeH

int sizeH

imageW

int imageW

imageH

int imageH

Class processing.app.EditorLineStatus extends javax.swing.JComponent implements Serializable

Serialized Fields

textarea

JEditTextArea textarea

start

int start

stop

int stop

resize

java.awt.Image resize

foreground

java.awt.Color foreground

background

java.awt.Color background

font

java.awt.Font font

high

int high

text

java.lang.String text

Class processing.app.EditorStatus extends javax.swing.JPanel implements Serializable

Serialized Fields

editor

Editor editor

mode

int mode

message

java.lang.String message

font

java.awt.Font font

metrics

java.awt.FontMetrics metrics

ascent

int ascent

offscreen

java.awt.Image offscreen

sizeW

int sizeW

sizeH

int sizeH

imageW

int imageW

imageH

int imageH

cancelButton

javax.swing.JButton cancelButton

okButton

javax.swing.JButton okButton

editField

javax.swing.JTextField editField

response

int response

Class processing.app.EditorToolbar extends javax.swing.JComponent implements Serializable

Serialized Fields

editor

Editor editor

offscreen

java.awt.Image offscreen

width

int width

height

int height

bgcolor

java.awt.Color bgcolor

currentRollover

int currentRollover

popup

javax.swing.JPopupMenu popup

menu

javax.swing.JMenu menu

buttonCount

int buttonCount

state

int[] state

stateImage

java.awt.Image[] stateImage

which

int[] which

x1

int[] x1

x2

int[] x2

y1

int y1

y2

int y2

status

java.lang.String status

statusFont

java.awt.Font statusFont

statusColor

java.awt.Color statusColor

wasDown

int wasDown

Class processing.app.FindReplace extends javax.swing.JFrame implements Serializable

Serialized Fields

editor

Editor editor

findField

javax.swing.JTextField findField

replaceField

javax.swing.JTextField replaceField

replaceButton

javax.swing.JButton replaceButton

replaceAllButton

javax.swing.JButton replaceAllButton

replaceFindButton

javax.swing.JButton replaceFindButton

findButton

javax.swing.JButton findButton

ignoreCaseBox

javax.swing.JCheckBox ignoreCaseBox

found

boolean found

Package processing.app.debug

Class processing.app.debug.RunnerException extends java.lang.Exception implements Serializable

Serialized Fields

message

java.lang.String message

codeIndex

int codeIndex

codeLine

int codeLine

codeColumn

int codeColumn

showStackTrace

boolean showStackTrace

Package processing.app.syntax

Class processing.app.syntax.JEditTextArea extends javax.swing.JComponent implements Serializable

Serialized Fields

editorListener

EditorListener editorListener
Forwards key events directly to the input handler. This is slightly faster than using a KeyListener because some Swing overhead is avoided.


editorLineStatus

EditorLineStatus editorLineStatus
The component that tracks the current line number.


painter

TextAreaPainter painter

popup

javax.swing.JPopupMenu popup

eventListenerList

javax.swing.event.EventListenerList eventListenerList

caretEvent

processing.app.syntax.JEditTextArea.MutableCaretEvent caretEvent

caretBlinks

boolean caretBlinks

caretVisible

boolean caretVisible

blink

boolean blink

editable

boolean editable

firstLine

int firstLine

visibleLines

int visibleLines

electricScroll

int electricScroll

horizontalOffset

int horizontalOffset

vertical

javax.swing.JScrollBar vertical

horizontal

javax.swing.JScrollBar horizontal

scrollBarsInitialized

boolean scrollBarsInitialized

inputHandler

InputHandler inputHandler

document

SyntaxDocument document

documentHandler

processing.app.syntax.JEditTextArea.DocumentHandler documentHandler

lineSegment

javax.swing.text.Segment lineSegment

selectionStart

int selectionStart

selectionStartLine

int selectionStartLine

selectionEnd

int selectionEnd

selectionEndLine

int selectionEndLine

biasLeft

boolean biasLeft

bracketPosition

int bracketPosition

bracketLine

int bracketLine

magicCaret

int magicCaret

overwrite

boolean overwrite

rectSelect

boolean rectSelect

Class processing.app.syntax.SyntaxDocument extends javax.swing.text.PlainDocument implements Serializable

Serialized Fields

tokenMarker

TokenMarker tokenMarker

Class processing.app.syntax.TextAreaPainter extends javax.swing.JComponent implements Serializable

Serialized Fields

printing

boolean printing
True if inside printing, will handle disabling the highlight


currentLineIndex

int currentLineIndex

currentLineTokens

Token currentLineTokens

currentLine

javax.swing.text.Segment currentLine

textArea

JEditTextArea textArea

styles

SyntaxStyle[] styles

caretColor

java.awt.Color caretColor

selectionColor

java.awt.Color selectionColor

lineHighlightColor

java.awt.Color lineHighlightColor

bracketHighlightColor

java.awt.Color bracketHighlightColor

eolMarkerColor

java.awt.Color eolMarkerColor

blockCaret

boolean blockCaret

lineHighlight

boolean lineHighlight

bracketHighlight

boolean bracketHighlight

paintInvalid

boolean paintInvalid

eolMarkers

boolean eolMarkers

cols

int cols

rows

int rows

tabSize

int tabSize

fm

java.awt.FontMetrics fm

highlights

TextAreaPainter.Highlight highlights

Package processing.app.tools

Class processing.app.tools.ColorSelector.ColorRange extends PApplet implements Serializable

Serialized Fields

lastX

int lastX

lastY

int lastY

Class processing.app.tools.ColorSelector.ColorSlider extends PApplet implements Serializable

Class processing.app.tools.CreateFont extends javax.swing.JFrame implements Serializable

Serialized Fields

editor

Editor editor

windowSize

java.awt.Dimension windowSize

fontSelector

javax.swing.JList fontSelector

sizeSelector

javax.swing.JTextField sizeSelector

allBox

javax.swing.JCheckBox allBox

smoothBox

javax.swing.JCheckBox smoothBox

sample

javax.swing.JTextArea sample

okButton

javax.swing.JButton okButton

filenameField

javax.swing.JTextField filenameField

table

java.util.Hashtable<K,V> table

smooth

boolean smooth

all

boolean all

font

java.awt.Font font

list

java.lang.String[] list

selection

int selection

Package processing.core

Class processing.core.PApplet extends java.applet.Applet implements Serializable

Serialized Fields

g

PGraphics g
The PGraphics renderer associated with this PApplet


frame

java.awt.Frame frame
The frame containing this applet (if any)


screen

java.awt.Dimension screen
The screen size when the applet was started.

Access this via screen.width and screen.height. To make an applet run at full screen, use size(screen.width, screen.height).

If you have multiple displays, this will be the size of the main display. Running full screen across multiple displays isn't particularly supported, and requires more monkeying with the values. This probably can't/won't be fixed until/unless I get a dual head system.

Note that this won't update if you change the resolution of your screen once the the applet is running.

This variable is not static, because future releases need to be better at handling multiple displays.


recorder

PGraphics recorder
A leech graphics object that is echoing all events.


args

java.lang.String[] args
Command line options passed in from main().

This does not include the arguments passed in to PApplet itself.


sketchPath

java.lang.String sketchPath
Path to sketch folder


defaultSize

boolean defaultSize
true if no size() command has been executed. This is used to wait until a size has been set before placing in the window and showing it.


resizeRequest

boolean resizeRequest

resizeWidth

int resizeWidth

resizeHeight

int resizeHeight

pixels

int[] pixels
Pixel buffer from this applet's PGraphics.

When used with OpenGL or Java2D, this value will be null until loadPixels() has been called.


width

int width
width of this applet's associated PGraphics


height

int height
height of this applet's associated PGraphics


mouseX

int mouseX
current x position of the mouse


mouseY

int mouseY
current y position of the mouse


pmouseX

int pmouseX
Previous x/y position of the mouse. This will be a different value when inside a mouse handler (like the mouseMoved() method) versus when inside draw(). Inside draw(), pmouseX is updated once each frame, but inside mousePressed() and friends, it's updated each time an event comes through. Be sure to use only one or the other type of means for tracking pmouseX and pmouseY within your sketch, otherwise you're gonna run into trouble.


pmouseY

int pmouseY
Previous x/y position of the mouse. This will be a different value when inside a mouse handler (like the mouseMoved() method) versus when inside draw(). Inside draw(), pmouseX is updated once each frame, but inside mousePressed() and friends, it's updated each time an event comes through. Be sure to use only one or the other type of means for tracking pmouseX and pmouseY within your sketch, otherwise you're gonna run into trouble.


dmouseX

int dmouseX
previous mouseX/Y for the draw loop, separated out because this is separate from the pmouseX/Y when inside the mouse event handlers.


dmouseY

int dmouseY
previous mouseX/Y for the draw loop, separated out because this is separate from the pmouseX/Y when inside the mouse event handlers.


emouseX

int emouseX
pmouseX/Y for the event handlers (mousePressed(), mouseDragged() etc) these are different because mouse events are queued to the end of draw, so the previous position has to be updated on each event, as opposed to the pmouseX/Y that's used inside draw, which is expected to be updated once per trip through draw().


emouseY

int emouseY
pmouseX/Y for the event handlers (mousePressed(), mouseDragged() etc) these are different because mouse events are queued to the end of draw, so the previous position has to be updated on each event, as opposed to the pmouseX/Y that's used inside draw, which is expected to be updated once per trip through draw().


firstMouse

boolean firstMouse
Used to set pmouseX/Y to mouseX/Y the first time mouseX/Y are used, otherwise pmouseX/Y are always zero, causing a nasty jump.

Just using (frameCount == 0) won't work since mouseXxxxx() may not be called until a couple frames into things.


mouseButton

int mouseButton
Last mouse button pressed, one of LEFT, CENTER, or RIGHT.

If running on Mac OS, a ctrl-click will be interpreted as the righthand mouse button (unlike Java, which reports it as the left mouse).


mousePressed

boolean mousePressed

mouseEvent

java.awt.event.MouseEvent mouseEvent

key

char key
Last key pressed.

If it's a coded key, i.e. UP/DOWN/CTRL/SHIFT/ALT, this will be set to CODED (0xffff or 65535).


keyCode

int keyCode
When "key" is set to CODED, this will contain a Java key code.

For the arrow keys, keyCode will be one of UP, DOWN, LEFT and RIGHT. Also available are ALT, CONTROL and SHIFT. A full set of constants can be obtained from java.awt.event.KeyEvent, from the VK_XXXX variables.


keyPressed

boolean keyPressed
true if the mouse is currently pressed.


keyEvent

java.awt.event.KeyEvent keyEvent
the last KeyEvent object passed into a mouse function.


focused

boolean focused
Gets set to true/false as the applet gains/loses focus.


online

boolean online
true if the applet is online.

This can be used to test how the applet should behave since online situations are different (no file writing, etc).


millisOffset

long millisOffset
Time in milliseconds when the applet was started.

Used by the millis() function.


frameRate

float frameRate
The current value of frames per second.

The initial value will be 10 fps, and will be updated with each frame thereafter. The value is not instantaneous (since that wouldn't be very useful since it would jump around so much), but is instead averaged (integrated) over several frames. As such, this value won't be valid until after 5-10 frames.


frameRateLastNanos

long frameRateLastNanos
Last time in nanoseconds that frameRate was checked


frameRateTarget

float frameRateTarget
As of release 0116, frameRate(60) is called as a default


frameRatePeriod

long frameRatePeriod

looping

boolean looping

redraw

boolean redraw
flag set to true when a redraw is asked for by the user


frameCount

int frameCount
How many frames have been displayed since the applet started.

This value is read-only do not attempt to set it, otherwise bad things will happen.

Inside setup(), frameCount is 0. For the first iteration of draw(), frameCount will equal 1.


finished

boolean finished
true if this applet has had it.


exitCalled

boolean exitCalled
true if exit() has been called so that things shut down once the main thread kicks off.


thread

java.lang.Thread thread

sizeMethods

PApplet.RegisteredMethods sizeMethods

preMethods

PApplet.RegisteredMethods preMethods

drawMethods

PApplet.RegisteredMethods drawMethods

postMethods

PApplet.RegisteredMethods postMethods

mouseEventMethods

PApplet.RegisteredMethods mouseEventMethods

keyEventMethods

PApplet.RegisteredMethods keyEventMethods

disposeMethods

PApplet.RegisteredMethods disposeMethods

external

boolean external
true if this sketch is being run by the PDE


mouseEventQueue

java.awt.event.MouseEvent[] mouseEventQueue

mouseEventCount

int mouseEventCount

keyEventQueue

java.awt.event.KeyEvent[] keyEventQueue

keyEventCount

int keyEventCount

cursorType

int cursorType

cursorVisible

boolean cursorVisible

invisibleCursor

PImage invisibleCursor

internalRandom

java.util.Random internalRandom

perlin_octaves

int perlin_octaves

perlin_amp_falloff

float perlin_amp_falloff

perlin_TWOPI

int perlin_TWOPI

perlin_PI

int perlin_PI

perlin_cosTable

float[] perlin_cosTable

perlin

float[] perlin

perlinRandom

java.util.Random perlinRandom

loadImageFormats

java.lang.String[] loadImageFormats

requestImageMax

int requestImageMax
By trial and error, four image loading threads seem to work best when loading images from online. This is consistent with the number of open connections that web browsers will maintain. The variable is made public (however no accessor has been added since it's esoteric) if you really want to have control over the value used. For instance, when loading local files, it might be better to only have a single thread (or two) loading images so that you're disk isn't simply jumping around.


requestImageCount

int requestImageCount

selectedFile

java.io.File selectedFile

parentFrame

java.awt.Frame parentFrame

Class processing.core.PApplet.RendererChangeException extends java.lang.RuntimeException implements Serializable


Package processing.xml

Class processing.xml.XMLElement extends java.lang.Object implements Serializable

Serialized Fields

parent

XMLElement parent
The parent element.


attributes

java.util.Vector<E> attributes
The attributes of the element.


children

java.util.Vector<E> children
The child elements.


name

java.lang.String name
The name of the element.


fullName

java.lang.String fullName
The full name of the element.


namespace

java.lang.String namespace
The namespace URI.


content

java.lang.String content
The content of the element.


systemID

java.lang.String systemID
The system ID of the source data where this element is located.


lineNr

int lineNr
The line in the source data where this element starts.

Class processing.xml.XMLException extends java.lang.Exception implements Serializable

Serialized Fields

msg

java.lang.String msg
The message of the exception.


systemID

java.lang.String systemID
The system ID of the XML data where the exception occurred.


lineNr

int lineNr
The line number in the XML data where the exception occurred.


encapsulatedException

java.lang.Exception encapsulatedException
Encapsulated exception.

Class processing.xml.XMLParseException extends XMLException implements Serializable

Class processing.xml.XMLValidationException extends XMLException implements Serializable

Serialized Fields

elementName

java.lang.String elementName
The name of the element where the exception occurred.


attributeName

java.lang.String attributeName
The name of the attribute where the exception occurred.


attributeValue

java.lang.String attributeValue
The value of the attribute where the exception occurred.