com.irisel.oms.guiom.control
Class OMSEventSourceImpl
java.lang.Object
com.irisel.oms.guiom.control.OMSEventSourceImpl
- All Implemented Interfaces:
- OMSEventSource
public class OMSEventSourceImpl
- extends java.lang.Object
- implements OMSEventSource
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OMSEventSourceImpl
public OMSEventSourceImpl()
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