OracleJavaScript API Reference for Oracle ADF Faces

 

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

oracle.adfinternal.view.js.laf.dhtml.screenReader
Class AdfDhtmlShadowDecorator

Warning:

org.ecmascript.object.Object
   |
   +--oracle.adf.view.js.base.AdfObject
         |
         +--oracle.adfinternal.view.js.laf.dhtml.screenReader.AdfDhtmlShadowDecorator

public class AdfDhtmlShadowDecorator
extends AdfObject
No-op implemenation for screen reader mode.



Field Summary

public static Object
SHADOW_ANCHOR_ATTRIBUTE
private static Object
_SHADOW_DECORATOR_ATTRIBUTE


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

constructor, superclass


Fields inherited from org.ecmascript.object.Object

prototype


Constructor Summary

public
AdfDhtmlShadowDecorator()
No-op implemenation for screen reader mode.


Method Summary

public static Object
createShadowDecorator(HTMLElement element, HTMLElement rootElement, Boolean isRelative)
Create the shadow decorator for a floating dom element.
private static Object
_getShadowDecorator(Object element)
Returns the shadow decorator for the element
public static Number
getShadowSize()
Get the pixel size of the shadow.
public static Object
hasShadowDecorator(Object element)
returns if a dom element is associated with the shadow decorator
protected Object
Init()
Initializes the instance.
public static Object
moveShadowDecorator(Object element)
Moves the shadow decorator for a dom element
public static Object
removeShadowDecorator(Object element)
Removes the shadow decorators for a dom element
public static Object
setRelative(Object element, Object relative)
public static Object
showShadowDecorator(Object element, Object show)
Hides/Shows the shadow decorators for a dom element


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

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


Field Detail


SHADOW_ANCHOR_ATTRIBUTE

public static Object SHADOW_ANCHOR_ATTRIBUTE

_SHADOW_DECORATOR_ATTRIBUTE

private static Object _SHADOW_DECORATOR_ATTRIBUTE

Constructor Detail


AdfDhtmlShadowDecorator

public AdfDhtmlShadowDecorator()

No-op implemenation for screen reader mode.

Method Detail


createShadowDecorator

public static Object createShadowDecorator(HTMLElement element,
                                           HTMLElement rootElement,
                                           Boolean isRelative)

Create the shadow decorator for a floating dom element. Also creates a masking iframe to clip any OS drawn controls under the element

Parameters:
element  -  The element for which the decorator needs creation
rootElement  -  The element to append the shadow to, if omitted this will be the body
isRelative  -  Indicates if the shadow is relatively positioned.
Return:
Object

_getShadowDecorator

private static Object _getShadowDecorator(Object element)

Returns the shadow decorator for the element

Parameters:
element    
Return:
Object

getShadowSize

public static Number getShadowSize()

Get the pixel size of the shadow. This value is retrieved from the skinning file.

Return:
Number - Pixel size value of the shadow

hasShadowDecorator

public static Object hasShadowDecorator(Object element)

returns if a dom element is associated with the shadow decorator

Parameters:
element    
Return:
Object

Init

protected Object Init()

Initializes the instance. Subclasses of AdfObject must call their superclass' Init

Return:
Object
Overrides:
AdfObject.Init()

moveShadowDecorator

public static Object moveShadowDecorator(Object element)

Moves the shadow decorator for a dom element

Parameters:
element  -  The element for which the decorator needs to be moved
Return:
Object

removeShadowDecorator

public static Object removeShadowDecorator(Object element)

Removes the shadow decorators for a dom element

Parameters:
element  -  The element for which the decorator needs to be removed
Return:
Object

setRelative

public static Object setRelative(Object element,
                                 Object relative)

Parameters:
element    
relative    
Return:
Object

showShadowDecorator

public static Object showShadowDecorator(Object element,
                                         Object show)

Hides/Shows the shadow decorators for a dom element

Parameters:
element  -  The element for which the decorator needs to be hidden
show  -  boolean true to show the shadow, else false
Return:
Object

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

 

Generated on 2009.04.27 01:06 UTC
Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved.