|
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 2 (11.1.2.0.0) E17489-01 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |
org.ecmascript.object.Object | +--oracle.adf.view.js.base.AdfObject | +--oracle.adf.view.js.base.AdfUIPeer | +--oracle.adf.view.js.laf.rich.AdfRichUIPeer | +--oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlPopupPeer
public class AdfDhtmlPopupPeer extends AdfRichUIPeer
Field Summary |
|
---|---|
private static Object |
|
private static Object |
|
private static Object |
Fields inherited from oracle.adf.view.js.laf.rich.AdfRichUIPeer |
addComponentPropertyChanges, addComponentPropertyGetters, BUSY_STYLECLASS, DISABLED_STYLECLASS, DRAG_SOURCE_STYLECLASS, DROP_TARGET_STYLECLASS, FOCUS_TARGET_STYLECLASS, HOVER_TARGET_STYLECLASS, READONLY_STYLECLASS |
Fields inherited from oracle.adf.view.js.base.AdfObject |
constructor, superclass |
Fields inherited from org.ecmascript.object.Object |
prototype |
Constructor Summary |
|
---|---|
public |
Method Summary |
|
---|---|
protected Object |
|
public void |
|
protected void |
|
protected void |
|
private static String |
|
protected void |
|
public boolean |
|
public void |
|
public static HTMLElement |
|
private AdfDhtmlMenuPeer |
|
protected void |
|
protected void |
|
static boolean |
|
public void |
|
private static void |
|
protected static Object |
|
private static boolean |
|
private static boolean |
|
private static boolean |
|
public boolean |
|
protected void |
|
protected void |
|
protected void |
|
private void |
|
private void |
|
public static void |
|
private void |
|
public void |
|
private void |
|
public void |
|
private Number |
|
Methods inherited from oracle.adf.view.js.base.AdfUIPeer |
getDefaultDragRecognizer, getParentPeer, initiateDrag, needsResizeNotify |
Methods inherited from oracle.adf.view.js.base.AdfObject |
adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toDebugString, toString |
Field Detail |
---|
private static Object _DIRTY_STATE_TRACKING_EXPANDO
private static Object _SHOWN
private static Object _SYNC_HINTS_LIST
Constructor Detail |
---|
public AdfDhtmlPopupPeer()
Method Detail |
---|
protected Object BindToComponent(AdfRichPopup component,
HTMLElement rootElement)
component |
- | the component to bind |
rootElement |
- | the root DOM element of this peer |
Object
AdfRichUIPeer.BindToComponent(Object, Object)
public void cancel(AdfUIComponent component)
component |
- | target getting dismissed |
void
- nullprotected void ComponentPropertyChanged(Object changeEvent)
autoCancel
property is AdfRichPopup.AUTO_CANCEL_DISABLED
, set a private flag when one of the private hint properties defined by, AdfDhtmlPopupPeer._SYNC_HINTS_LIST
has changed. The flag is used to determine if a (AdfContentFetchEvent.SYNC_EVENT_TYPE) should be queued.changeEvent |
void
- nullsyncPrivateProperties(Object, map, boolean)
_setShown(AdfUIComponent, boolean, boolean)
AdfUIPeer.ComponentPropertyChanged(Object)
protected void ComponentRemoved(AdfUIComponent component)
component |
- | popup |
void
- nullAdfUIPeer.componentRemoved(AdfUIComponent)
private static String _createPagePropertyKey(String clientId)
clientId |
- | of the popup component |
String
- map safe keyprotected void DispatchComponentEvent(AdfBaseEvent componentEvent)
componentEvent |
- | content fetch event requesting content reload |
void
- nullAdfUIPeer.DispatchComponentEvent(Object)
public boolean fetchCanceled(AdfUIComponent component)
component |
- | popup component |
boolean
- true if the component is currently fetching content from the serverpublic void fireContentDeliveryNotify(Object hints)
hints |
void
- nullpublic static HTMLElement getContentDom(Object component)
component |
HTMLElement
- content dom nodeprivate AdfDhtmlMenuPeer _getFirstMenuPeer(AdfUIComponent component,
Object hints)
component |
- | root popup component |
hints |
- | popup hints
Default value = null
|
AdfDhtmlMenuPeer
- menu peer if the first child is a AdfRichMenuprotected void HandleComponentKeyPress(AdfBaseEvent componentEvent)
componentEvent |
- | key stroke event |
void
- nullprotected void HandleComponentValueChange(AdfValueChangeEvent componentEvent)
componentEvent |
- | value change event |
void
- nullstatic boolean __handlePopupCanceled(AdfRichPopup component,
HTMLElement contentDom)
component |
- | dismissed popup |
contentDom |
- | content dom that was reparented when the popup was shown |
boolean
- true if a canceled event was raised the propagates to serverpublic void hide(AdfUIComponent component)
component |
- | target being hidden |
void
- nullprivate static void _initPrivateProperties(Object component)
component |
void
- nullprotected static Object InitSubclass()
Object
private static boolean _isAutoCancel(Object component)
component |
boolean
- true if the autoCancel
equals AdfRichPopup.AUTO_CANCEL_ENABLED
private static boolean _isResetEditableValuesWhenCanceled(AdfRichPopup component)
component |
- | the component to bind |
boolean
- null true
if the resetEditableValues
is AdfRichPopup.RESET_EDITABLE_VALUES_WHEN_CANCELED
or has popupCanceledListener(s) registered to the component.private static boolean _isRestoreEnabled(AdfRichPopup component,
HTMLElement contentDom)
contentDom
if the popup was canceled due to a dom replacement and the component has disabled auto cancel via the "autoCancel=disabled" component property.component |
- | dismissed popup |
contentDom |
- | content dom that was reparented when the popup was shown |
boolean
- true if the popup should be restoredpublic boolean isVisible(AdfUIComponent component)
component |
- | target being checked |
boolean
- true if the component is visibleAdfUIPeer.isVisible()
protected void PopupClosed(AdfUIComponent component,
HTMLElement contentDom)
component |
- | target being closed |
contentDom |
- | content shown in the popup
Default value = null
|
void
- nullAdfDhtmlMenuPeer.PopupClosed(Object, Object, Object)
AdfRichUIPeer.PopupClosed(AdfUIComponent, HTMLElement, String)
protected void PopupOpened(AdfUIComponent component)
component |
- | source of the AdfPopupOpenedEvent |
void
- nullprotected void ReplaceDomElement(HTMLElement newElement,
HTMLElement oldElement)
resetEditableValues
is AdfRichPopup.RESET_EDITABLE_VALUES_WHEN_CANCELED
. Remove dirty state tracking from the old content dom and establish tracking on the new dom.newElement |
- | the new dom element |
oldElement |
- | the old dom element |
void
- nullAdfRichUIPeer.replaceDomElement(AdfUIComponent, HTMLElement, HTMLElement)
private void _resetContentDelivery(AdfUIComponent component)
component |
- | to reset content delivery |
void
- nullprivate void _restorePopup(Object component)
show
method passing the hints. This could be called from a queued AdfContentFetchEvent.LOADED_EVENT_TYPE
or directly when the popup is restored, autoCancel="disabled"
.component |
void
- nullDispatchComponentEvent(AdfBaseEvent)
fireContentDeliveryNotify(Object)
public static void setChildHints(AdfUIComponent popupComponent,
Object hints)
popupComponent |
- | target hints assignee |
hints |
- | additional hints used by the component when show is invoked
Default value = null
|
void
- nullprivate void _setShown(AdfUIComponent component,
boolean shown,
boolean suppressSyncEvent)
component |
- | target being shown or hidden |
shown |
- | boolean flag indicating visible state |
suppressSyncEvent |
- | false if a property sync event is needed |
void
- nullpublic void show(AdfUIComponent component,
Object hints)
component |
- | popup component |
hints |
- | parameters setting behaviors
Default value = null
|
void
- nullprivate void _showPopup(AdfUIComponent component,
Object hints)
component |
- | target popup component |
hints |
void
- nullpublic void syncPrivateProperties(Object component,
map hints,
boolean suppressSyncEvent)
component |
||
hints |
- | to be sent to the server.
Default value = null
|
suppressSyncEvent |
- | if true, do not fire a sync event even if there is a property change detected
Default value = undefined
|
void
- nullComponentPropertyChanged(Object)
private Number _visitChildrenForMenu(AdfUIComponent component)
component |
- | child component visited |
Number
- returns a value of 2 if traversal has finished, 0 if traversal needs to continue
|
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 2 (11.1.2.0.0) E17489-01 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |