JMACS

org.jmacs
Interface IControlsGui.IContext

Enclosing interface:
IControlsGui

public static interface IControlsGui.IContext

passed to IControlGuis, allowing them to submit commands. Note that, in contrast to when using IMonitorGui.IContext, any command submitted before the previous one has been executed will be discarded, without throwing any exception.


Method Summary
 void submitCmd(Serializable cmd)
          submits cmd.
 void submitCmd(Serializable cmd, boolean reloadClass)
          for use where the classloading is to be specified.
 void submitCmd(Serializable cmd, boolean reloadClass, IResultHandler resHandler)
          for use where the classloading is to be specified, and the result is of interest.
 void submitCmd(Serializable cmd, IResultHandler resHandler)
          for use where the result is of interest.
 

Method Detail

submitCmd

void submitCmd(Serializable cmd)
submits cmd. Only to be called from the Swing dispatch thread. The class of cmd will not be reloaded, and the result will be ignored.


submitCmd

void submitCmd(Serializable cmd,
               boolean reloadClass)
for use where the classloading is to be specified.


submitCmd

void submitCmd(Serializable cmd,
               IResultHandler resHandler)
for use where the result is of interest.


submitCmd

void submitCmd(Serializable cmd,
               boolean reloadClass,
               IResultHandler resHandler)
for use where the classloading is to be specified, and the result is of interest.


JMACS

jmacs.org