JavaScript API Reference for Oracle ADF Faces
oracle.adf.view.js.event
Class AdfComponentFocusEvent
org.ecmascript.object.Object
|
+--oracle.adf.view.js.event.AdfComponentFocusEvent
public class AdfComponentFocusEvent
extends Object
Derived class for component sourced events
protected Object PrevComponent
public AdfComponentFocusEvent(AdfUIComponent prevComponent,
Object sourceComponent,
Object type)
Derived class for component sourced events
- Parameters:
-
prevComponent |
- |
The component that previously had focus. This can be null the first time a component on a page receives focus, as there is no component that previously had focus. |
sourceComponent |
|
|
type |
|
|
public AdfUIComponent getNextComponent()
- Return:
AdfUIComponent
- Returns the next component that will obtain the focus, or null if no component on the page is receiving focus. If the focus is moving around within the same component, then getPreviousComponent
can return the same component as getNextComponent
.
public AdfUIComponent getPreviousComponent()
- Return:
AdfUIComponent
- Returns the component that previously had focus, or null if no component previously had focus. If the focus is moving around within the same component, then getPreviousComponent
can return the same component as getNextComponent
.
protected Object Init(Object prevComponent,
Object sourceComponent,
Object type)
- Parameters:
-
prevComponent |
|
|
sourceComponent |
|
|
type |
|
|
- Return:
Object
Generated on 2014.03.27 12:59 UTC
Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.