OracleJavaScript API Reference for Oracle ADF Faces

 

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

oracle.adfinternal.view.js.laf.dhtml.internalWindow
Class AdfDhtmlModalityManager

Warning:

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

public class AdfDhtmlModalityManager
extends AdfObject
AdfDhtmlModalityManager



Field Summary

private Object
_glassPaneStack
private Object
_modalElementStack


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

constructor, superclass


Fields inherited from org.ecmascript.object.Object

prototype


Constructor Summary

public
AdfDhtmlModalityManager()
AdfDhtmlModalityManager


Method Summary

private Object
_createGlassPane()
Builds a glasspane for use by the Modality Manager.
public Object
dispose()
public Number
getElementCount()
public Object
getTopGlassPane()
private Object
_handleResize()
protected Object
Init()
Initializes the instance.
public boolean
isAboveTopGlassPane(HtmlElement element)
Takes a target element and determines if it is located under the modal glass.
public Boolean
isGlassPaneVisible()
Returns true if something modal is up.
public Object
popModal()
Removes modal state from last modal element, and adds the glasspane to the previous modal element - if any.
public Object
pushModal(HTMLElement element)
Make this element modal, place a glasspane underneath and push it on the modality stack.
private Object
_setupEventHandler(Object agent, Object funcName, Object func, Object eventName, Object setup, Object listenElement)


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

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


Field Detail


_glassPaneStack

private Object _glassPaneStack

_modalElementStack

private Object _modalElementStack

Constructor Detail


AdfDhtmlModalityManager

public AdfDhtmlModalityManager()

AdfDhtmlModalityManager

Method Detail


_createGlassPane

private Object _createGlassPane()

Builds a glasspane for use by the Modality Manager.

Return:
Object

dispose

public Object dispose()

Return:
Object

getElementCount

public Number getElementCount()

Return:
Number - the total number of floating elements managed

getTopGlassPane

public Object getTopGlassPane()

Return:
Object

_handleResize

private Object _handleResize()

Return:
Object

Init

protected Object Init()

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

Return:
Object
Overrides:
AdfObject.Init()

isAboveTopGlassPane

public boolean isAboveTopGlassPane(HtmlElement element)

Takes a target element and determines if it is located under the modal glass.

Parameters:
element  -  target dom element
Return:
boolean - null true if the element is above the modal glass or if there is not a modal glass

isGlassPaneVisible

public Boolean isGlassPaneVisible()

Returns true if something modal is up.

Return:
Boolean - true if something modal is up

popModal

public Object popModal()

Removes modal state from last modal element, and adds the glasspane to the previous modal element - if any.

Return:
Object

pushModal

public Object pushModal(HTMLElement element)

Make this element modal, place a glasspane underneath and push it on the modality stack. The glass pane is managed by the zorder manager along with the floating element.

Parameters:
element  -  The element to make modal
Return:
Object

_setupEventHandler

private Object _setupEventHandler(Object agent,
                                  Object funcName,
                                  Object func,
                                  Object eventName,
                                  Object setup,
                                  Object listenElement)

Parameters:
agent    
funcName    
func    
eventName    
setup    
listenElement    
Return:
Object

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

 

Generated on 2014.03.27 12:59 UTC
Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.