Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

akioma.WaitCursor

 It is a static class, used for waitCursor and progressState functionality. The class provides methods like showWaitCursor, hideWaitCursor, showProgressState, hideProgressState, setProgressStateForLinks, createLogger and others.


debugMode - can be set to true or false and it’s used for the log level and for showing/hiding the blur on window in the progressState. If debugMode is true, than log.level is debug, else log.level is warn. Default is false

hasActiveProgressState - this property returns true or false depending if the progressState is on or off. Default is false.

showWaitCursor() - method for showing the loading cursor in the panel. accepts as a parameter the dynObject. 

showProgressState() - method for showing the progressState which will block the user from clicking on buttons inside the window/container object and show/hide blur depending on the debugMode property.

 

Example of programatically calling the showWaitCursor:

    akioma.WaitCursor.showWaitCursor(oSelf.dynObject);

 

Showing an businessEntity will automatically show the waitCursor for that businessEntity and his linked targets. Example:


 

On every fetch, the waitCursor and the progressState are triggered. Example with debugMode on :


  • No labels