JavaScript API Reference for Oracle ADF Faces
|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.2.1) E52772-01 |
||||||||
| 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.AdfMessageUtils
public class AdfMessageUtils extends AdfObject
Field Summary |
|
|---|---|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private Object |
|
private Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private static Object |
|
private 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 |
|
|---|---|
public static Object |
|
private static Object |
|
private static Object |
|
public static HTMLElement |
|
private static Object |
|
public static HTMLElement |
|
public static HTMLElement |
|
public static HTMLElement |
|
public static Object |
|
public static Object |
|
private static Object |
|
public static Object |
|
private static HTMLElement |
|
public static String |
|
private static Object |
|
private static HTMLElement |
|
public static Object |
|
public static Object |
|
protected static Object |
|
protected Object |
|
public static Boolean |
|
private Object |
|
private Object |
|
private Object |
|
public static Object |
|
public static Object |
|
public static Object |
|
public static Object |
|
public static Object |
|
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 |
|---|
private static Object _ALL_LINK_STYLE_CLASSprivate static Object _COMBINED_MESSAGES_INTRO_LABELprivate static Object _COMPACT_TYPE_SUMMARYprivate static Object _COMPONENT_LEVEL_CONTAINER_STYLE_CLASSprivate static Object _COMPONENT_LEVEL_MESSAGE_LABELprivate static Object _COMPONENT_MESSAGE_LINK_STYLE_CLASSprivate static Object _COMPONENT_MESSAGES_INTRO_LABELprivate static Object _CONTAINER_STYLE_CLASSprivate static Object _CONTENT_STYLE_CLASSprivate static Object _DETAIL_CELL_STYLE_CLASSprivate static Object _DETAIL_STYLE_CLASSprivate static Object _DISABLED_STYLE_CLASSprivate static Object _FOOTER_END_STYLE_CLASSprivate static Object _FOOTER_START_STYLE_CLASSprivate static Object _FOOTER_STYLE_CLASSprivate static Object _ICON_CELL_STYLE_CLASSprivate static Object _INTRO_STYLE_CLASSprivate Object _jumpToAllMessagesHandlerStubprivate Object _jumpToMessageHandlerStubprivate static Object _MESSAGE_GROUP_MESSAGE_LIST_STYLE_CLASSprivate static Object _MESSAGE_GROUP_TITLE_STYLE_CLASSprivate static Object _MESSAGE_GROUP_TYPE_SEPARATOR_STYLE_CLASSprivate static Object _MESSAGE_ICONprivate static Object _MESSAGE_LIST_COMPONENT_STYLE_CLASSprivate Object _messageCloseHandlerStubprivate static Object _MESSAGES_DETAIL_STYLE_CLASSprivate static Object _MESSAGES_ICONprivate static Object _MESSAGES_INTRO_SEPARATOR_STYLE_CLASSprivate static Object _MESSAGES_INTRO_STYLE_CLASSprivate static Object _MESSAGES_LIST_PAGE_STYLE_CLASSprivate static Object _MESSAGES_SUMMARY_STYLE_CLASSprivate static Object _MESSAGES_TYPE_STRINGprivate static Object _NAVIGATOR_STYLE_CLASSprivate static Object _NEXT_LINK_STYLE_CLASSprivate static Object _NEXT_MESSAGEprivate static Object _PREVIOUS_LINK_STYLE_CLASSprivate static Object _PREVIOUS_MESSAGEprivate static Object _SET_FOCUS_ON_COMPONENTprivate static Object _SHOW_ALL_MESSAGESprivate static Object _SHOW_ALL_MESSAGES_TIPprivate static Object _STYLE_PROPprivate static Object _SUMMARY_STYLE_CLASSprivate static Object _TYPE_STRINGprivate static Object _TYPE_STYLE_CLASS
Constructor Detail |
|---|
public AdfMessageUtils()
Method Detail |
|---|
public static Object addCSSClassName(HTMLElement elem,
Number type)elem |
- | a dom element |
type |
- | the message type |
Objectprivate static Object _addMessageDomToTable(Object elem,
Object message,
Boolean compact,
Boolean isMessages,
Object hideIcon)elem |
||
message |
- | either a FacesMessage or an AdfFacesMessage object |
compact |
- | true if to use a minimal layout, false for detailed |
isMessages |
- | whether this is for a messages component. Should be false for message, true for messages. |
hideIcon |
Objectprivate static Object _addMessageWrapper(Object doc,
HTMLElement outerTable,
String componentClientId,
Array messages,
String title,
Object hideIcon)doc |
||
outerTable |
- | the DOM element to add the message to |
componentClientId |
- | the client ID of the message group or null if page-level |
messages |
- | the page's list of messages |
title |
- | the message group title or null if unknown |
hideIcon |
Objectpublic static HTMLElement appendComponentMessageInlineDom(HTMLElement element,
Array messagesArray)element |
- | the DOM element to append messages to |
messagesArray |
- | the array of messages for a particular component |
HTMLElement - the message DOM or null if no messages are presentprivate static Object _checkCompWithFor(Object component)component |
Objectpublic static HTMLElement getCombinedMessagesDom(String messageHandlerClientId,
String messageOverride,
Boolean globalOnly)messageHandlerClientId |
- | the client ID of the message handler component |
messageOverride |
- | the override for the message or null if to use the default |
globalOnly |
- | true if only page-level messages should be shown, false otherwise |
HTMLElement - the DOM for combined listing of messages or null if no messages are presentpublic static HTMLElement getComponentMessagePopupDom(Object componentId)componentId |
HTMLElement - the message DOM or null if no messages are presentpublic static HTMLElement getComponentMessagePopupFooterDom(Object componentId)componentId |
HTMLElement - the message DOM or null if no messages are presentpublic static Object getIcon(Number type,
Boolean isMessages)type |
- | a faces message type |
isMessages |
- | whether this is for a messages component. Should be false for message, true for messages. |
Object - the non-null icon element for the specified message typepublic static Object getIconForComponent(Object type,
Object isMessages,
Object component)type |
||
isMessages |
||
component |
Objectprivate static Object _getIconKey(Object type,
Object isMessages)type |
||
isMessages |
Objectpublic static Object getInstance()Objectprivate static HTMLElement _getMessageDom(Object message,
Boolean compact)message |
- | either a FacesMessage or an AdfFacesMessage object. |
compact |
- | true if to use a minimal layout, false for detailed |
HTMLElement - a table containing the messagepublic static String getString(Number type,
Boolean isMessages)type |
- | the message type |
isMessages |
- | whether this is for a messages component. Should be false for message, true for messages. |
String - the translated string for the given message typeprivate static Object _getStyleProperty(Object type)type |
Object - the private style class for the specified message type or null if not definedprivate static HTMLElement _getTextDom(String text)text |
- | the message text which may contain HTML markup |
HTMLElement - the resulting DOM for display in the message DOM containerpublic static Object hasMessagePopupContent(Object componentId)componentId |
Objectpublic static Object hasMessages(Object page,
Object globalMessageCount,
Object globalOnly)page |
||
globalMessageCount |
||
globalOnly |
Objectprotected static Object HideMessagesDialog()Objectprotected Object Init()ObjectAdfObject.Init()public static Boolean isPageLevelBoxNeeded(Object page,
Object pageLevelMessages,
Object globalOnly)page |
||
pageLevelMessages |
||
globalOnly |
Boolean - return true if the page level box neededprivate Object _jumpToAllMessagesHandler(Event domEvent)domEvent |
- | the DOM event |
Objectprivate Object _jumpToMessageHandler(Event domEvent)domEvent |
- | the DOM event |
Objectprivate Object _messageCloseHandler(Event domEvent)domEvent |
- | the DOM event |
Objectpublic static Object messageGroupFocus(String messageGroupClientId)messageGroupClientId |
- | the client ID of the component that the message group is associated with |
Objectpublic static Object removeCSSClassName(HTMLElement elem,
Number type)elem |
- | a dom element |
type |
- | the message type |
Objectpublic static Object switchCSSClassName(HTMLElement elem,
Number oldType,
Number newType)elem |
- | a dom element |
oldType |
- | the old message type or null if there is no old message type |
newType |
- | the new message type or null if there is no new message type |
Objectpublic static Object switchIcon(HTMLElement elem,
Number newType,
Boolean isMessages)elem |
- | the current icon dom element |
newType |
- | the faces message type of the new icon |
isMessages |
- | whether this is for a messages component. Should be false for message, true for messages. |
Objectpublic static Object updateIconForComponent(Object icon,
Object component)icon |
||
component |
Object
|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.2.1) E52772-01 |
||||||||
| PREV NEXT | FRAMES NO FRAMES Warning: private items are visible | ||||||||