ADF Designtime

oracle.adf.dt
Class DataControlManager

java.lang.Object
  extended byoracle.adf.dt.DataControlManager

public class DataControlManager
extends java.lang.Object

Main class for registering listeners or providers. Listeners listen to DataControl creation\deletion. Providers are used to provide data control definitions from other sources such as xml files or database tables.


Method Summary
 void addControlProvider(DataControlProvider provider)
          Registers a new Data Control provider.
 void addListener(DataControlListener listener)
          Register a new listener to be notified when the set of data controls has changed.
 JUDTDataControl findDataControl(java.lang.String sName)
          Finds a data control by its name.
 java.util.ArrayList getAllDataControls()
          Returns the list of all the Data Controls published by the registered Data Control Providers.
 java.util.ArrayList getAllDataControls(boolean visible)
          Returns the list of all the Data Controls published by the registered Data Control Providers.
static DataControlManager getInstance()
          Returns the singleton instance of the DataControlManager
 void notifyDataControlSetChanged()
          This function is used to notify listeners that the set of data controls has changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static DataControlManager getInstance()
Returns the singleton instance of the DataControlManager

Returns:

notifyDataControlSetChanged

public void notifyDataControlSetChanged()
This function is used to notify listeners that the set of data controls has changed. The notification is only sent when the binding window is visible.


addControlProvider

public void addControlProvider(DataControlProvider provider)
Registers a new Data Control provider. This new provider will be consulted when the list of Data Controls need to be consulted.

Parameters:
provider -

addListener

public void addListener(DataControlListener listener)
Register a new listener to be notified when the set of data controls has changed.

Parameters:
listener -

getAllDataControls

public java.util.ArrayList getAllDataControls()
Returns the list of all the Data Controls published by the registered Data Control Providers. This call will only return a data control list when the binding window is visible.

Returns:

getAllDataControls

public java.util.ArrayList getAllDataControls(boolean visible)
Returns the list of all the Data Controls published by the registered Data Control Providers.

Returns:

findDataControl

public JUDTDataControl findDataControl(java.lang.String sName)
Finds a data control by its name. This call works regardless of the binding window visibility.

Parameters:
sName -
Returns:

ADF Designtime

 

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