org.basex.gui.layout
Class GUICode

java.lang.Object
  extended by org.basex.gui.layout.GUICode

public abstract class GUICode
extends java.lang.Object

This class can be overwritten to define code snippets that are to be evaluated after all pending events.

Author:
BaseX Team 2005-12, BSD License, Christian Gruen

Constructor Summary
GUICode()
           
 
Method Summary
abstract  void eval(java.lang.Object arg)
          Code to be run.
 void invokeLater()
          Invokes the specified thread after all other threads.
 void invokeLater(java.lang.Object arg)
          Invokes the specified thread after all other threads.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GUICode

public GUICode()
Method Detail

eval

public abstract void eval(java.lang.Object arg)
Code to be run.

Parameters:
arg - argument (may be null)

invokeLater

public final void invokeLater()
Invokes the specified thread after all other threads.


invokeLater

public final void invokeLater(java.lang.Object arg)
Invokes the specified thread after all other threads.

Parameters:
arg - optional argument