OracleJavaScript API Reference for Oracle ADF Faces

 

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

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

Warning:

org.ecmascript.object.Object
   |
   +--oracle.adf.view.js.base.AdfObject
         |
         +--oracle.adfinternal.view.js.laf.dhtml.internalWindow.AdfAbstractFloatingElement
               |
               +--oracle.adfinternal.view.js.laf.dhtml.internalWindow.AdfDhtmlPopupWindow
                     |
                     +--oracle.adfinternal.view.js.laf.dhtml.internalWindow.AdfDhtmlPopupSelector
                           |
                           +--oracle.adfinternal.view.js.laf.dhtml.internalWindow.AdfDhtmlNoteWindowPopupSelector

public class AdfDhtmlNoteWindowPopupSelector
extends AdfDhtmlPopupSelector
Class for a note window implementation of a popup selector. This differs from other note windows which are for information only, this implementation allows user action within the note window.



Field Summary

private Object
_autoDismissType
private static Object
_CONE_BORDER_RIGHT_STYLE_CLASS
private static Object
_CONE_BORDER_STYLE_CLASS
private static Object
_CONE_STYLE_CLASS
private static Object
_CONE_STYLE_CLASS_BL
private static Object
_CONE_STYLE_CLASS_BR
private static Object
_CONE_STYLE_CLASS_TR
private static Object
_CONTENT_STYLE_CLASS
private static Object
_RIGHT_STYLE_CLASS
public Object
setShadowAnchor
private static Object
_STYLE_CLASS


Fields inherited from oracle.adfinternal.view.js.laf.dhtml.internalWindow.AdfDhtmlPopupWindow

__CANCELED_EXPANDO, HINT_ALIGN, HINT_ALIGN_ELEMENT, HINT_ANIMATE, HINT_AUTODISMISS, HINT_AUTODISMISS_ALWAYS, HINT_AUTODISMISS_INACTIVATE, HINT_AUTODISMISS_MENU, HINT_AUTODISMISS_MOUSEOUT, HINT_AUTODISMISS_MOUSEOUT_ID, HINT_AUTODISMISS_NEVER, HINT_AUTODISMISS_TIMEOUT, HINT_CLOSE_HANDLER, HINT_CLOSE_HANDLER_PARAM, HINT_CLOSE_ON_ESCAPE, HINT_COMPONENT_CLIENT_ID, HINT_CONTENT, HINT_DETACH_DRAG_END_HANDLER, HINT_DETACH_DRAG_START_HANDLER, HINT_DRAG_ELEMENT, HINT_FOCUS, HINT_LAUNCH_SOURCE_ID, HINT_LEFT_POSITION, HINT_MAX_WIDTH, HINT_MODAL, HINT_MOUSEPOSITION, HINT_OPENED_HANDLER, HINT_OPENED_HANDLER_PARAM, HINT_RESTORE_IMMEDIATE, HINT_TITLE, HINT_TOP_POSITION, HINT_TYPE, HINT_TYPE_DIALOG, HINT_TYPE_INLINESELECTOR, HINT_TYPE_LOVCOMBOBOX, HINT_TYPE_MENU, HINT_TYPE_NOTEWINDOW, __REPLACEDOM_EXPANDO, setElement


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

constructor, superclass


Fields inherited from org.ecmascript.object.Object

prototype


Constructor Summary

public
AdfDhtmlNoteWindowPopupSelector(Object autoDismissType)
Class for a note window implementation of a popup selector.


Method Summary

public Object
activate()
Forces focus to the first element within the notewindow.
public void
autoSize()
Adds hidden overflow and explicit width to internal note windows used to show error messages for input components if the width has reached the maximum.
protected HTMLElement
CreateDomElement()
Create and initialize the html.
public static Object
createTextDom(Object noteText)
protected Object
GetAnimationDurationSkinProperty()
Returns the skin property for animation duriation
protected Object
HandleKeyNavigation(Object event)
Handle ctr+alt+w window navigation from the note window back to the launching component.
protected Object
Init(Object autoDismissType)
Constructor.
protected static Object
InitClass()
private static boolean
_match(HTMLElement element)
private Object
_onClickConeCell(Object evt)
private Object
_onMOConeCellTimeout()
private Object
_onMouseOutConeCell(Object evt)
private Object
_onMouseOverConeCell(Object evt)
public Object
setPosition(Object top, Object left)
public Object
show(Object hints)
Displays a popup window on the screen.


Methods inherited from oracle.adfinternal.view.js.laf.dhtml.internalWindow.AdfDhtmlPopupSelector

GetContentParent, NeedsCloseLink, SetContentParent


Methods inherited from oracle.adfinternal.view.js.laf.dhtml.internalWindow.AdfDhtmlPopupWindow

AnimateOpening, cancel, CreateShadow, destroy, DoResizeNotifyDom, DoShow, FocusOnFirstElement, GetAnimationDuration, getContent, GetFocusContent, GetFocusOnOpen, getLaunchSourceId, GetMaxWidth, getPopupClientId, GetPositionManagerIndex, HandleEscapeKey, hide, isAnimating, isVisible, OpenedPopup, Position, RestoreScrollValues, SaveScrollValues, setCloseHandler, setCloseHandlerParam, setContent, SetFocusOnOpen, ShouldHideOnClip, WrapContent


Methods inherited from oracle.adfinternal.view.js.laf.dhtml.internalWindow.AdfAbstractFloatingElement

CreateTable, getAlignElement, getAlignPosition, getElement, getHeight, getLeft, getShadowAnchor, getTop, getWidth, raiseToFront, setAlignElement, setAlignPosition, setElement, setLeft, setShadowAnchor, setTop


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

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


Field Detail


_autoDismissType

private Object _autoDismissType

_CONE_BORDER_RIGHT_STYLE_CLASS

private static Object _CONE_BORDER_RIGHT_STYLE_CLASS

_CONE_BORDER_STYLE_CLASS

private static Object _CONE_BORDER_STYLE_CLASS

_CONE_STYLE_CLASS

private static Object _CONE_STYLE_CLASS

_CONE_STYLE_CLASS_BL

private static Object _CONE_STYLE_CLASS_BL

_CONE_STYLE_CLASS_BR

private static Object _CONE_STYLE_CLASS_BR

_CONE_STYLE_CLASS_TR

private static Object _CONE_STYLE_CLASS_TR

_CONTENT_STYLE_CLASS

private static Object _CONTENT_STYLE_CLASS

_RIGHT_STYLE_CLASS

private static Object _RIGHT_STYLE_CLASS

setShadowAnchor

public Object setShadowAnchor

_STYLE_CLASS

private static Object _STYLE_CLASS

Constructor Detail


AdfDhtmlNoteWindowPopupSelector

public AdfDhtmlNoteWindowPopupSelector(Object autoDismissType)

Class for a note window implementation of a popup selector. This differs from other note windows which are for information only, this implementation allows user action within the note window.

Parameters:
autoDismissType    

Method Detail


activate

public Object activate()

Forces focus to the first element within the notewindow. Note windows do not steal focus when opened like other types of popups.

Return:
Object

autoSize

public void autoSize()

Adds hidden overflow and explicit width to internal note windows used to show error messages for input components if the width has reached the maximum. This is to handle cases that the error message does not have breakable space but is larger than the max width.

Return:
void - null
Overrides:
AdfDhtmlPopupWindow.autoSize()

CreateDomElement

protected HTMLElement CreateDomElement()

Create and initialize the html.

Return:
HTMLElement - the root dom element of this popup.
Overrides:
AdfDhtmlPopupWindow.CreateDomElement()

createTextDom

public static Object createTextDom(Object noteText)

Parameters:
noteText    
Return:
Object

GetAnimationDurationSkinProperty

protected Object GetAnimationDurationSkinProperty()

Returns the skin property for animation duriation

Return:
Object
Overrides:
AdfDhtmlPopupWindow.GetAnimationDurationSkinProperty()

HandleKeyNavigation

protected Object HandleKeyNavigation(Object event)

Handle ctr+alt+w window navigation from the note window back to the launching component.

Parameters:
event    
Return:
Object
Overrides:
AdfDhtmlPopupWindow.HandleKeyNavigation(Object)

Init

protected Object Init(Object autoDismissType)

Constructor.

Parameters:
autoDismissType    
Return:
Object
Overrides:
AdfObject.Init()

InitClass

protected static Object InitClass()

Return:
Object
Overrides:
AdfDhtmlPopupWindow.InitClass()

_match

private static boolean _match(HTMLElement element)

Parameters:
element  -  searched on
Return:
boolean - null true if the element is a div that's assigned the "AFNoteWindowContent" style class

_onClickConeCell

private Object _onClickConeCell(Object evt)

Parameters:
evt    
Return:
Object

_onMOConeCellTimeout

private Object _onMOConeCellTimeout()

Return:
Object

_onMouseOutConeCell

private Object _onMouseOutConeCell(Object evt)

Parameters:
evt    
Return:
Object

_onMouseOverConeCell

private Object _onMouseOverConeCell(Object evt)

Parameters:
evt    
Return:
Object

setPosition

public Object setPosition(Object top,
                          Object left)

Parameters:
top    
left    
Return:
Object
Overrides:
AdfAbstractFloatingElement.setPosition(Object, Object)

show

public Object show(Object hints)

Displays a popup window on the screen. This funciton is overridden to insist that an AdfRichPopup.HINT_ALIGN_ELEMENT hint is provided. If an align element is not provided, default to the launch source if provided.

Parameters:
hints  -  a set of popup hints (see AdfDhtmlPopupWindow)
Default value = null
Return:
Object
See also:
AdfDhtmlPopupWindow.hide()
Overrides:
AdfAbstractFloatingElement.show()

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

 

Generated on 2010.12.10 19:37 UTC
Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.