|
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.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 Object |
|
private 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 |
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 |
|
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 |
|
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 _ALL_LINK_STYLE_CLASS
private static Object _COMBINED_MESSAGES_INTRO_LABEL
private static Object _COMPACT_TYPE_SUMMARY
private static Object _COMPONENT_LEVEL_MESSAGE_LABEL
private static Object _COMPONENT_MESSAGE_LINK_STYLE_CLASS
private static Object _COMPONENT_MESSAGES_INTRO_LABEL
private static Object _CONTENT_STYLE_CLASS
private static Object _DETAIL_STYLE_CLASS
private static Object _DISABLED_STYLE_CLASS
private static Object _FOOTER_END_STYLE_CLASS
private static Object _FOOTER_START_STYLE_CLASS
private static Object _FOOTER_STYLE_CLASS
private static Object _INTRO_STYLE_CLASS
private Object _jumpToAllMessagesHandlerStub
private Object _jumpToMessageHandlerStub
private static Object _MESSAGE_GROUP_TITLE_STYLE_CLASS
private static Object _MESSAGE_GROUP_TYPE_SEPARATOR_STYLE_CLASS
private static Object _MESSAGE_ICON
private Object _messageCloseHandlerStub
private static Object _MESSAGES_DETAIL_STYLE_CLASS
private static Object _MESSAGES_ICON
private static Object _MESSAGES_INTRO_STYLE_CLASS
private static Object _MESSAGES_SUMMARY_STYLE_CLASS
private static Object _MESSAGES_TYPE_STRING
private static Object _NAVIGATOR_STYLE_CLASS
private static Object _NEXT_LINK_STYLE_CLASS
private static Object _NEXT_MESSAGE
private static Object _PREVIOUS_LINK_STYLE_CLASS
private static Object _PREVIOUS_MESSAGE
private static Object _SET_FOCUS_ON_COMPONENT
private static Object _SHOW_ALL_MESSAGES
private static Object _SHOW_ALL_MESSAGES_TIP
private static Object _STYLE_PROP
private static Object _SUMMARY_STYLE_CLASS
private static Object _TYPE_STRING
private 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 |
Object
private 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 |
Object
private 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 |
Object
public 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 |
Object
public 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 typeprivate static Object _getIconKey(Object type,
Object isMessages)
type |
||
isMessages |
Object
public static Object getInstance()
Object
private 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 |
Object
public static Object hasMessages(Object page,
Object globalMessageCount,
Object globalOnly)
page |
||
globalMessageCount |
||
globalOnly |
Object
protected static Object HideMessagesDialog()
Object
protected Object Init()
Object
AdfObject.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 |
Object
private Object _jumpToMessageHandler(Event domEvent)
domEvent |
- | the DOM event |
Object
private Object _messageCloseHandler(Event domEvent)
domEvent |
- | the DOM event |
Object
public static Object messageGroupFocus(String messageGroupClientId)
messageGroupClientId |
- | the client ID of the component that the message group is associated with |
Object
public static Object removeCSSClassName(HTMLElement elem,
Number type)
elem |
- | a dom element |
type |
- | the message type |
Object
public 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 |
Object
public 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. |
Object
|
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 |