go
Class GoInterfaceE

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Canvas
              |
              +--go.GoInterfaceE

public abstract class GoInterfaceE
extends java.awt.Canvas
implements java.lang.Runnable

See Also:
Serialized Form

Field Summary
 go.E e
           
 go.ExecuteFunc executeFunc
           
 Go go
          Variable containing the Go context that was created with this interface.
 go.EventQE head
           
 double[] keyTypedArg
           
 int keyTypedIndex
           
 double[] mouseDraggedArg
           
 int mouseDraggedIndex
           
 double[] mousePressedArg
           
 int mousePressedIndex
           
 double[] mouseReleasedArg
           
 int mouseReleasedIndex
           
 int renderIndex
           
 boolean scriptGood
           
 double[] sizeArg
           
 int sizeIndex
           
 java.lang.Thread thread
           
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Constructor Summary
GoInterfaceE()
           
 
Method Summary
 void addCompileExecute(java.lang.String script, java.lang.String scriptName)
           
 void addExecuteCode()
           
 void addExecuteFunc(int funcIndex, int argCount, double[] arg)
           
 void compileError(java.lang.String file, int line, java.lang.String message)
           
 void compileMessage(java.lang.String message)
           
 void compileSuccess()
           
 void execute()
           
 void initEventFuncIndex()
           
 void initEventQE()
           
 void initializeGo()
           
 void keyTyped(char key)
           
 void mouseDragged(int x, int y)
           
 void mousePressed(int x, int y)
           
 void mouseReleased(int x, int y)
           
 void paint(java.awt.Graphics g)
           
 void render()
           
 void rerender()
           
 void run()
           
 void runtimeError(java.lang.String file, int line, java.lang.String message)
           
 void size(int width, int height)
           
 void swap()
           
 void update(java.awt.Graphics g)
           
 
Methods inherited from class java.awt.Canvas
addNotify
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getName, getParent, getPeer, getPreferredSize, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFont, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

thread

public java.lang.Thread thread

head

public go.EventQE head

e

public go.E e

scriptGood

public boolean scriptGood

executeFunc

public go.ExecuteFunc executeFunc

renderIndex

public int renderIndex

sizeIndex

public int sizeIndex

keyTypedIndex

public int keyTypedIndex

mousePressedIndex

public int mousePressedIndex

mouseReleasedIndex

public int mouseReleasedIndex

mouseDraggedIndex

public int mouseDraggedIndex

go

public Go go
Variable containing the Go context that was created with this interface.

sizeArg

public double[] sizeArg

keyTypedArg

public double[] keyTypedArg

mousePressedArg

public double[] mousePressedArg

mouseReleasedArg

public double[] mouseReleasedArg

mouseDraggedArg

public double[] mouseDraggedArg
Constructor Detail

GoInterfaceE

public GoInterfaceE()
Method Detail

initEventFuncIndex

public void initEventFuncIndex()

initEventQE

public void initEventQE()

initializeGo

public void initializeGo()

rerender

public void rerender()

render

public void render()
            throws go.ExecuteException

size

public void size(int width,
                 int height)
          throws go.ExecuteException

keyTyped

public void keyTyped(char key)
              throws go.ExecuteException

mousePressed

public void mousePressed(int x,
                         int y)
                  throws go.ExecuteException

mouseReleased

public void mouseReleased(int x,
                          int y)
                   throws go.ExecuteException

mouseDragged

public void mouseDragged(int x,
                         int y)
                  throws go.ExecuteException

swap

public void swap()

compileSuccess

public void compileSuccess()

execute

public void execute()
             throws go.ExecuteException

compileMessage

public void compileMessage(java.lang.String message)

compileError

public void compileError(java.lang.String file,
                         int line,
                         java.lang.String message)

runtimeError

public void runtimeError(java.lang.String file,
                         int line,
                         java.lang.String message)

run

public void run()
Specified by:
run in interface java.lang.Runnable

addCompileExecute

public void addCompileExecute(java.lang.String script,
                              java.lang.String scriptName)

addExecuteCode

public void addExecuteCode()

addExecuteFunc

public void addExecuteFunc(int funcIndex,
                           int argCount,
                           double[] arg)
                    throws go.ExecuteException

update

public void update(java.awt.Graphics g)
Overrides:
update in class java.awt.Component

paint

public void paint(java.awt.Graphics g)
Overrides:
paint in class java.awt.Canvas