public class JboMultiCaster extends java.lang.Object implements JboEventListener
Each instance of this class contains an event listener and a pointer to the next instance. Sets of listeners are implemented as linked lists.
This class is used by the JDeveloper wizards to implement event publishing logic.
| Modifier and Type | Field and Description | 
|---|---|
| protected JboEventListener | a | 
| protected JboEventListener | b | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | JboMultiCaster(JboEventListener a,
              JboEventListener b)A new instance of this class can only be constructed by this class
 itself. | 
| Modifier and Type | Method and Description | 
|---|---|
| static JboEventListener | add(JboEventListener a,
   JboEventListener b)Adds a listener to the end of a list of listeners. | 
| protected static JboEventListener | addInternal(JboEventListener a,
           JboEventListener b) | 
| void | JboEvent(JboEventObject e)Transmits an event to all the listeners in this list. | 
| protected JboEventListener | remove(JboEventListener oldl) | 
| static JboEventListener | remove(JboEventListener l,
      JboEventListener oldl)Remove a listener from a list of listeners. | 
| protected static JboEventListener | removeInternal(JboEventListener a,
              JboEventListener b) | 
protected JboEventListener a
protected JboEventListener b
protected JboMultiCaster(JboEventListener a, JboEventListener b)
public static JboEventListener add(JboEventListener a, JboEventListener b)
a - a listener or a list of listeners.b - a listener.public static JboEventListener remove(JboEventListener l, JboEventListener oldl)
l - a listener or list of listeners.oldl - the listener to be removed.public void JboEvent(JboEventObject e)
JboEvent in interface JboEventListenere - the event to be transmitted.protected static JboEventListener addInternal(JboEventListener a, JboEventListener b)
protected static JboEventListener removeInternal(JboEventListener a, JboEventListener b)
protected JboEventListener remove(JboEventListener oldl)