com.irisel.oms.guiom.control
Class UIDelegate

java.lang.Object
  extended by com.irisel.oms.guiom.control.UIDelegate
All Implemented Interfaces:
OMSEventListener, java.util.EventListener

public class UIDelegate
extends java.lang.Object
implements OMSEventListener


Constructor Summary
UIDelegate()
           
 
Method Summary
 void about()
           
 void exitApp()
          Exit the Application
 void flush()
           
static java.lang.String getExtension(java.io.File f)
           
 void invokeById(int frameId, OMSEvent ev)
          The event MUST encapsulate: Object[] args = (Object[]) ev.value; String methodName = (String) args[0]; Class[] methodClasses = (Class[]) args[1]; Object[] methodArgs = (Object[]) args[2]; And the resulting method MUST exist in the implementation class.
 java.lang.String onEvent(OMSEvent e)
           
 java.lang.Integer openForm(OMSEvent e)
           
 void toggleDeskMode(OMSEvent e)
           
 void uncaughtException(java.lang.Thread t, java.lang.Throwable e)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIDelegate

public UIDelegate()
Method Detail

onEvent

public java.lang.String onEvent(OMSEvent e)
                         throws GuiException
Specified by:
onEvent in interface OMSEventListener
Throws:
GuiException

openForm

public java.lang.Integer openForm(OMSEvent e)
                           throws GuiException
Throws:
GuiException

invokeById

public void invokeById(int frameId,
                       OMSEvent ev)
The event MUST encapsulate: Object[] args = (Object[]) ev.value; String methodName = (String) args[0]; Class[] methodClasses = (Class[]) args[1]; Object[] methodArgs = (Object[]) args[2]; And the resulting method MUST exist in the implementation class.


toggleDeskMode

public void toggleDeskMode(OMSEvent e)

about

public void about()

exitApp

public void exitApp()
Exit the Application


uncaughtException

public void uncaughtException(java.lang.Thread t,
                              java.lang.Throwable e)

getExtension

public static java.lang.String getExtension(java.io.File f)

flush

public void flush()