OracleJavaScript API Reference for Oracle ADF Faces

 

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

oracle.adfinternal.view.js.behavior
Class AdfScrollComponentIntoViewBehavior

Warning:

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

public class AdfScrollComponentIntoViewBehavior
extends AdfClientBehavior
Client behavior implementation for scrolling a component into view



Field Summary

private Object
_componentId
private Object
_focus
private Object
_subTargetId


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

constructor, superclass


Fields inherited from org.ecmascript.object.Object

prototype


Constructor Summary

public
AdfScrollComponentIntoViewBehavior(Object componentId, Object focus, Object subTargetId)
Client behavior implementation for scrolling a component into view


Method Summary

public Object
fire(Object event)
The fire method is called back when the event has been fired.
protected Object
Init(String componentId, Object focus, String subTargetId)
Behavior constructor.
public Object
initialize(AdfUIComponent component)
As part of the client behavior contract, initialize is called when the component is created to give the behavior a chance to register event listeners.


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

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


Field Detail


_componentId

private Object _componentId

_focus

private Object _focus

_subTargetId

private Object _subTargetId

Constructor Detail


AdfScrollComponentIntoViewBehavior

public AdfScrollComponentIntoViewBehavior(Object componentId,
                                          Object focus,
                                          Object subTargetId)

Client behavior implementation for scrolling a component into view

Parameters:
componentId    
focus    
subTargetId    

Method Detail


fire

public Object fire(Object event)

The fire method is called back when the event has been fired.

Parameters:
event  -  The event that has been fired
Return:
Object

Init

protected Object Init(String componentId,
                      Object focus,
                      String subTargetId)

Behavior constructor.

Parameters:
componentId  -  clientId of the target popup
focus    
subTargetId  -  optional component dependent DOM sub-id that needs to be scrolled/focused into view
Default value = null
Return:
Object
Overrides:
AdfObject.Init()

initialize

public Object initialize(AdfUIComponent component)

As part of the client behavior contract, initialize is called when the component is created to give the behavior a chance to register event listeners.

Parameters:
component  -  command family component
Return:
Object
Overrides:
AdfClientBehavior.initialize(Object)

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

 

Generated on 2011.04.05 23:36 UTC
Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.