Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.3.0)

E17483-04


oracle.binding.util
Class DataChangeMultiCaster

java.lang.Object
  extended by oracle.binding.util.DataChangeMultiCaster

All Implemented Interfaces:
DataChangeListener

public class DataChangeMultiCaster
extends java.lang.Object
implements DataChangeListener

Field Summary
protected  DataChangeListener a
           
protected  DataChangeListener b
           

 

Constructor Summary
protected DataChangeMultiCaster(DataChangeListener a, DataChangeListener b)
          A new instance of this class can only be constructed by this class itself.

 

Method Summary
static DataChangeListener add(DataChangeListener a, DataChangeListener b)
          Adds a listener to the end of a list of listeners.
protected static DataChangeListener addInternal(DataChangeListener a, DataChangeListener b)
           
 void dataChanged(DataChangeEvent e)
          Transmits an event to all the listeners in this list.
 boolean exists(DataChangeListener l)
           
 void handleDataException(DataExceptionEvent event)
          raised when exception is encountered by the datacontrol implementation and needs to be notified to the bindings and the UI layers.
protected  DataChangeListener remove(DataChangeListener oldl)
           
static DataChangeListener remove(DataChangeListener l, DataChangeListener oldl)
          Remove a listener from a list of listeners.
protected static DataChangeListener removeInternal(DataChangeListener a, DataChangeListener b)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

a

protected DataChangeListener a

b

protected DataChangeListener b

Constructor Detail

DataChangeMultiCaster

protected DataChangeMultiCaster(DataChangeListener a,
                                DataChangeListener b)
A new instance of this class can only be constructed by this class itself.

Method Detail

exists

public boolean exists(DataChangeListener l)

add

public static DataChangeListener add(DataChangeListener a,
                                     DataChangeListener b)
Adds a listener to the end of a list of listeners.
Parameters:
a - a listener or a list of listeners.
b - a listener.
Returns:
a new list of listeners consisting of b appended to the end of a.

remove

public static DataChangeListener remove(DataChangeListener l,
                                        DataChangeListener oldl)
Remove a listener from a list of listeners.
Parameters:
l - a listener or list of listeners.
oldl - the listener to be removed.
Returns:
a a copy of l with a excised, or l itself if a is not found, or null if the resulting list is empty.

dataChanged

public void dataChanged(DataChangeEvent e)
Transmits an event to all the listeners in this list.
Specified by:
dataChanged in interface DataChangeListener
Parameters:
e - the event to be transmitted.

handleDataException

public void handleDataException(DataExceptionEvent event)
Description copied from interface: DataChangeListener
raised when exception is encountered by the datacontrol implementation and needs to be notified to the bindings and the UI layers.
Specified by:
handleDataException in interface DataChangeListener

addInternal

protected static DataChangeListener addInternal(DataChangeListener a,
                                                DataChangeListener b)

removeInternal

protected static DataChangeListener removeInternal(DataChangeListener a,
                                                   DataChangeListener b)

remove

protected DataChangeListener remove(DataChangeListener oldl)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.3.0)

E17483-04


Copyright © 1997, 2012, Oracle. All rights reserved.