OracleJavaScript API Reference for Oracle ADF Faces

 

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

oracle.adf.view.js.base
Class AdfClientBehavior

org.ecmascript.object.Object
   |
   +--oracle.adf.view.js.base.AdfObject
         |
         +--oracle.adf.view.js.base.AdfClientBehavior
Direct Known Subclasses:
AdfAutoSuggestBehavior, AdfCheckRegionUncommittedDataBehavior, AdfCheckUncommittedDataBehavior, AdfInitializationBehavior, AdfInsertTextBehavior, AdfJsfClientBehavior, AdfMasonryLayoutBehavior, AdfMatchMediaBehavior, AdfPanelDashboardBehavior, AdfRichTextEditorBehavior, AdfScrollComponentIntoViewBehavior, AdfShowPopupBehavior, AdfShowPrintablePageBehavior

public class AdfClientBehavior
extends AdfObject
Contract for client behaviors. AdfClientBehavior objects add pre-canned behavior to AdfUIComponent instances, typically be registering event listeners on the component. The AdfClientBehavior instance is given the opportunity to register event listeners during component creation via the AdfClientBehavior.initialize() callback. AdfClientBehavior is an abstract class. Subclasses must provide an implementation of initialize().


Field Summary


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

constructor, superclass

Fields inherited from org.ecmascript.object.Object

prototype

Constructor Summary

public
AdfClientBehavior()
Contract for client behaviors.

Method Summary

public Object
destroy(Object component)
The uninitialize method is called back to notify the AdfClientBehavior when the component is removed.
public Object
initialize(Object component)
The initialize method is called back to notify the AdfClientBehavior that it is time to perform any required initialization work on the component.

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

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

Field Detail


Constructor Detail


AdfClientBehavior

public AdfClientBehavior()

Contract for client behaviors. AdfClientBehavior objects add pre-canned behavior to AdfUIComponent instances, typically be registering event listeners on the component. The AdfClientBehavior instance is given the opportunity to register event listeners during component creation via the AdfClientBehavior.initialize() callback. AdfClientBehavior is an abstract class. Subclasses must provide an implementation of initialize().

Method Detail


destroy

public Object destroy(Object component)

The uninitialize method is called back to notify the AdfClientBehavior when the component is removed. This is left as non abstract to be backward compatibile.

Parameters:
component  
Return:
Object

initialize

public Object initialize(Object component)

The initialize method is called back to notify the AdfClientBehavior that it is time to perform any required initialization work on the component. Typically this means registering event handlers.

Parameters:
component  
Return:
Object

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

 

Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.