com.irisel.oms.guiom.control
Class OMSEventSourceImpl

java.lang.Object
  extended by com.irisel.oms.guiom.control.OMSEventSourceImpl
All Implemented Interfaces:
OMSEventSource

public class OMSEventSourceImpl
extends java.lang.Object
implements OMSEventSource


Constructor Summary
OMSEventSourceImpl()
           
 
Method Summary
 void addOMSEventListener(OMSEventListener l)
           
static OMSEventSourceImpl getSingleton()
          Returns the global event source.
 void removeAllListeners()
           
 void removeOMSEventListener(OMSEventListener l)
           
 void send(int type, java.lang.String name, java.lang.Object value)
           
 void send(int type, java.lang.String name, java.lang.Object[] value)
           
 void send(OMSAction action)
           
 void send(OMSEvent event)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OMSEventSourceImpl

public OMSEventSourceImpl()
Method Detail

removeAllListeners

public void removeAllListeners()

getSingleton

public static OMSEventSourceImpl getSingleton()
Returns the global event source. The UI Controller is registered as listener of this source.

Returns:

send

public void send(int type,
                 java.lang.String name,
                 java.lang.Object[] value)

send

public void send(int type,
                 java.lang.String name,
                 java.lang.Object value)

addOMSEventListener

public void addOMSEventListener(OMSEventListener l)

removeOMSEventListener

public void removeOMSEventListener(OMSEventListener l)

send

public void send(OMSEvent event)
          throws java.lang.Exception
Specified by:
send in interface OMSEventSource
Throws:
java.lang.Exception

send

public void send(OMSAction action)
          throws java.lang.Exception
Throws:
java.lang.Exception

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object