|
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E12046-05 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |
org.ecmascript.object.Object | +--oracle.adf.view.js.base.AdfObject | +--oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlShadowDecorator
public class AdfDhtmlShadowDecorator extends AdfObject
Field Summary |
|
---|---|
public static Object |
|
private static Object |
Fields inherited from oracle.adf.view.js.base.AdfObject |
constructor, superclass |
Fields inherited from org.ecmascript.object.Object |
prototype |
Constructor Summary |
|
---|---|
public |
|
Method Summary |
|
---|---|
private Object |
|
public static Object |
|
private static Object |
|
private static Number |
|
public static Number |
|
private static Number |
|
public static Object |
|
protected Object |
|
private Object |
|
public static Object |
|
private Object |
|
public static Object |
|
public static Object |
|
private Object |
|
public static Object |
|
Methods inherited from oracle.adf.view.js.base.AdfObject |
adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toDebugString, toString |
Field Detail |
---|
public static Object SHADOW_ANCHOR_ATTRIBUTE
private static Object _SHADOW_DECORATOR_ATTRIBUTE
Constructor Detail |
---|
public AdfDhtmlShadowDecorator()
Method Detail |
---|
private Object _create(HTMLElement element,
Object appendToElement,
Number shadowOffsetTop,
Number shadowOffsetLeft,
Boolean isRelative,
Number startingBlackPercent)
element |
- | The element for which the decorator needs creation |
appendToElement |
||
shadowOffsetTop |
- | The y offset of the shadow, default value is 3 if null is provided
Default value = 3
|
shadowOffsetLeft |
- | The x offset of the shadow, default value is 3 if null is provided
Default value = 3
|
isRelative |
- | Indicates if the shadow is relatively positioned. |
startingBlackPercent |
- | The starting black percent level for the shade (effects darkness/lighness of drop shadow).
Default value = 100
|
Object
public static Object createShadowDecorator(HTMLElement element,
HTMLElement rootElement,
Boolean isRelative)
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. |
Object
private static Object _getShadowDecorator(Object element)
element |
Object
private static Number _getShadowOffset()
Number
- Pixel size value of the shadowpublic static Number getShadowSize()
Number
- Pixel size value of the shadowprivate static Number _getShadowStartingBlackPercent()
Number
- Starting black percent value for the shadowpublic static Object hasShadowDecorator(Object element)
element |
Object
protected Object Init()
Object
AdfObject.Init()
private Object _move(Object element)
element |
Object
public static Object moveShadowDecorator(Object element)
element |
- | The element for which the decorator needs to be moved |
Object
private Object _remove(Object element)
element |
Object
public static Object removeShadowDecorator(Object element)
element |
- | The element for which the decorator needs to be removed |
Object
public static Object setRelative(Object element,
Object relative)
element |
||
relative |
Object
private Object _show(Object element,
Object show)
element |
||
show |
Object
public static Object showShadowDecorator(Object element,
Object show)
element |
- | The element for which the decorator needs to be hidden |
show |
- | boolean true to show the shadow, else false |
Object
|
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E12046-05 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |