Method Summary
|
public void |
cancel(AdfUIComponent component)
-
Hides the popup and raises the AdfPopupCanceledEvent.
|
protected void |
ComponentPropertyChanged(Object changeEvent)
-
If the components 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.
|
protected void |
ComponentRemoved(AdfUIComponent component)
-
Removes the content from the popup component.
|
private static String |
_createPagePropertyKey(String clientId)
-
Replaces all ":" char's with "$".
|
protected void |
DispatchComponentEvent(AdfBaseEvent componentEvent)
-
Callback event invoked when the content has been delivered.
|
public boolean |
fetchCanceled(AdfUIComponent component)
-
If the popup is currently fetching content from the server, cancel opening.
|
public void |
fireContentDeliveryNotify(Object hints)
-
This function raises a AdfContentFetchEvent with the AdfContentFetchEvent.LOADED_EVENT_TYPE event type.
|
public static HTMLElement |
getContentDom(Object component)
-
Returns the DOM node containing the content of the popup node.
|
private AdfDhtmlMenuPeer |
_getFirstMenuPeer(AdfUIComponent component, Object hints)
-
Inspects the content of the popup and returns the peer if the first child is a AdfRichMenu component.
|
protected void |
HandleComponentKeyPress(AdfBaseEvent componentEvent)
-
Intercepts the key press event and invokes a partial submit on the default command if a subform is contained in the content of the popup.
|
static boolean |
__handlePopupCanceled(AdfRichPopup component, HTMLElement contentDom)
-
Checks the content dom for an indicator that the popup was dismissed by calling on one of the cancel methods.
|
public void |
hide(AdfUIComponent component)
-
Hides a client popup component and removes the content if the content delivery is CONTENT_DELIVERY_LAZY_UNCACHED.
|
private static void |
_initPrivateProperties(Object component)
-
If autoCancel=disabled, the private properties that hold popup hints are initialized.
|
protected static Object |
InitSubclass()
|
private static boolean |
_isAutoCancel(Object component)
|
private static boolean |
_isRestoreEnabled(AdfRichPopup component, HTMLElement contentDom)
-
Checks for an expando added to the contentDom if the popup was canceled due to a dom replacement and the component has disabled auto cancel via the "autoCancel=disabled" component property.
|
public boolean |
isVisible(AdfUIComponent component)
-
Changes the state of the popup component making it visible.
|
protected void |
PopupClosed(AdfUIComponent component, HTMLElement contentDom)
-
Fires the "popupClosed" on the component after moving the contentDom back under the popupDom.
|
protected void |
PopupOpened(AdfUIComponent component)
-
Callback handler that is invoked after the popup becomes visible.
|
private void |
_resetContentDelivery(AdfUIComponent component)
|
private void |
_restorePopup(Object component)
-
Finds the popup hints cached as page properties and invokes the show method passing the hints.
|
public static void |
setChildHints(AdfUIComponent popupComponent, Object hints)
-
Provides popup hit overrides that are merged into the hints provided as the actaul parameter fo the show method.
|
private void |
_setShown(AdfUIComponent component, boolean shown, boolean suppressSyncEvent)
-
Sets a property on the component that is prorogated to the server indicating the client component is shown.
|
public void |
show(AdfUIComponent component, Object hints)
-
Shows the content of the popup component using the supplied hints.
|
private void |
_showPopup(AdfUIComponent component, Object hints)
-
Inspects the content of the popup looking for a menu as the first child.
|
public void |
syncPrivateProperties(Object component, map hints, boolean suppressSyncEvent)
-
Saves a map of popup hints to private component properties that are synchronized with the server.
|
private Number |
_visitChildrenForMenu(AdfUIComponent component)
-
Callback used by _getFirstMenuPeer to visitChildren on the component.
|