OracleJavaScript API Reference for Oracle ADF Faces

 

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

oracle.adfinternal.view.js.behavior
Class AdfRichTextEditorBehaviorManager

Warning:

org.ecmascript.object.Object
   |
   +--oracle.adf.view.js.base.AdfObject
         |
         +--oracle.adfinternal.view.js.behavior.AdfRichTextEditorBehaviorManager

public class AdfRichTextEditorBehaviorManager
extends AdfObject
This class manages the subscribing of richTextEditorBehaviors to an richTextEditor component. The richTextEditor component is not necessarily always initialized when the behaviors are initializing, so this class queues the behaviors until the richTextEditor is there. The class is a singleton, use #getInstance to get an instance.



Field Summary


Fields inherited from oracle.adf.view.js.base.AdfObject

constructor, superclass


Fields inherited from org.ecmascript.object.Object

prototype


Constructor Summary

public
AdfRichTextEditorBehaviorManager()
This class manages the subscribing of richTextEditorBehaviors to an richTextEditor component.


Method Summary

public Boolean
addBinding(String componentClientId, String boundComponentId, Object behaviorComponent, String command, String commandParameter, String propertyName, String eventType)
Adds a binding to the specified richTextEditor-component.
public static AdfRichTextEditorBehaviorManager
getInstance()
Gets the instance of this class.
public Object
isComponentIdRegistered(String componentId)
Retrieves whether the component with the specified ID is registered with this manager.
public Object
registerComponent(AdfRichTextEditor component)
Lets the manager the the component is available.
public Object
unregisterComponent(AdfRichTextEditor component)
Unregisters a component.


Methods inherited from oracle.adf.view.js.base.AdfObject

adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, Init, toDebugString, toString


Field Detail


Constructor Detail


AdfRichTextEditorBehaviorManager

public AdfRichTextEditorBehaviorManager()

This class manages the subscribing of richTextEditorBehaviors to an richTextEditor component. The richTextEditor component is not necessarily always initialized when the behaviors are initializing, so this class queues the behaviors until the richTextEditor is there. The class is a singleton, use #getInstance to get an instance.

Method Detail


addBinding

public Boolean addBinding(String componentClientId,
                          String boundComponentId,
                          Object behaviorComponent,
                          String command,
                          String commandParameter,
                          String propertyName,
                          String eventType)

Adds a binding to the specified richTextEditor-component.

Parameters:
componentClientId  -  The clientId of the richTextEditor component.
boundComponentId  -  The id of the peer that registers with the richTextEditor.
behaviorComponent    
command  -  The command to use for binding.
commandParameter  -  Null or the optional parameter for the command.
propertyName  -  The name of the property on the boundComponent to bind to.
eventType  -  The type of events on the boundComponent to listen to.
Return:
Boolean - true if successfully bound, false if queued

getInstance

public static AdfRichTextEditorBehaviorManager getInstance()

Gets the instance of this class.

Return:
AdfRichTextEditorBehaviorManager - the instance.

isComponentIdRegistered

public Object isComponentIdRegistered(String componentId)

Retrieves whether the component with the specified ID is registered with this manager.

Parameters:
componentId  -  a non-null richTextEditor component ID
Return:
Object

registerComponent

public Object registerComponent(AdfRichTextEditor component)

Lets the manager the the component is available. If there is a queue for the component, it will be emptied.

Parameters:
component  -  A richTextEditor component.
Return:
Object

unregisterComponent

public Object unregisterComponent(AdfRichTextEditor component)

Unregisters a component.

Parameters:
component  -  A richTextEditor component.
Return:
Object

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

 

Generated on 2012.03.28 02:21 UTC
Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.