InfoBar Class [AX 2012]

The info bar is meant to display of information, warnings and error messages to the user. It must be conjugated with form UI elements.

Syntax

class InfoBar extends Object

Run On

Called

Methods

  Method Description
Dn536078.pubmethod(en-us,AX.60).gif addMessage Adds message to info bar stack.
Dn536078.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Dn536078.privmethod(en-us,AX.60).gif changeLatestMessageStyle
Dn536078.pubmethod(en-us,AX.60).gif dismissAllMessages Dismiss all messages from the info bar stack.
Dn536078.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Dn536078.privmethod(en-us,AX.60).gif finalize Unloads infobar resources.
Dn536078.pubmethod(en-us,AX.60).gif flashLatestMessage Flashes the latest info bar message to grab the users attention.
Dn536078.pubmethod(en-us,AX.60).gif getAllMessages Gets a list of all accumulated info bar messages.
Dn536078.pubmethod(en-us,AX.60).gif getLatestMessage Gets the latest info bar message.
Dn536078.pubmethod(en-us,AX.60).gif getMessageCount Gets the number of messages that the info bar has accumulated.
Dn536078.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Dn536078.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Dn536078.privmethod(en-us,AX.60).gif hideFixItButtons Makes all info bar buttons (e.g. Fix it buttons) invisible.
Dn536078.privmethod(en-us,AX.60).gif id Gets the info bar id.
Dn536078.pubmethod(en-us,AX.60).gif isListening Checks whether the info bar is listening.
Dn536078.pubmethod(en-us,AX.60).gif new Initializes a new instance of the Object class. (Overrides the new Method.)
Dn536078.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Dn536078.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Dn536078.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Dn536078.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Dn536078.privmethod(en-us,AX.60).gif parmIsListening Gets or sets the IsListening parameter.
Dn536078.pubmethod(en-us,AX.60).gif parmIsShowingAllMessages Gets or sets the IsShowingAllMessages parameter.
Dn536078.pubmethod(en-us,AX.60).gif refresh Refreshes info bar UI so the user can see its current messages or lack thereof.
Dn536078.privmethod(en-us,AX.60).gif registerInGlobalCache
Dn536078.pubmethod(en-us,AX.60).gif removeLatestMessage Removes the latest message from the info bar.
Dn536078.pubmethod(en-us,AX.60).gif removeMessage Removes a given message from the info bar stack.
Dn536078.privmethod(en-us,AX.60).gif resetLastestMessageStyle
Dn536078.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Dn536078.pubmethod(en-us,AX.60).gif shouldShowInfoBar Gets whether the info bar should be visible.
Dn536078.pubmethod(en-us,AX.60).gif startListening Sets the info bar to the Listening state.
Dn536078.pubmethod(en-us,AX.60).gif stopListening Sets the info bar to the Not listening state.
Dn536078.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Dn536078.pubmethod(en-us,AX.60).gif unregisterFromGlobalCache Removes info bar from the global cache.
Dn536078.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Dn536078.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Dn536078.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Dn536078.pubmethod(en-us,AX.60).gif Dn536078.static(en-us,AX.60).gif ::getInfoBarsForCurrentUser Gets the list of info bars created for the current user.
Dn536078.privmethod(en-us,AX.60).gif Dn536078.static(en-us,AX.60).gif ::getInfoBarsGlobalCacheKeyForCurrentUser
Dn536078.privmethod(en-us,AX.60).gif Dn536078.static(en-us,AX.60).gif ::getInfoBarsGlobalCacheOwner

Top

Remarks

The unregisterFromGlobalCache method must be called after you're done using the infoBar instance.

Inheritance Hierarchy

Object Class
  InfoBar Class