Echo.Client
Echo.FreeClient
Descendant Class Summary |
---|
Echo.Client.DefaultWaitIndicator |
Echo.Client.Timer |
Echo.Client.WaitIndicator |
Constructor Summary | |
---|---|
Public | Echo.Client() Creates a new Client instance. |
Class Field Summary | |
---|---|
Internal | _activeClients Global array containing all active client instances in the current browser window. |
Class Method Summary | |
---|---|
Internal | _globalWindowResizeListener() Global listener to respond to resizing of browser window. |
Instance Method Summary | |
---|---|
Public, Virtual | getResourceUrl() Returns the URL of a resource based on package name / resource name information. |
Public, Virtual | verifyInput() Determines if the specified component and containing application is ready to receive input. |
Public, Virtual | dispose() Default dispose implementation. |
Public | configure() Configures/Deconfigures the client. |
Public | createInputRestriction() Registers a new input restriction. |
Public | exec() Loads required libraries and then executes a function, adding input restrictions while the libaries are being loaded. |
Public | fail() Handles an application failure, refusing future input and displaying an error message over the entirety of the domain element. |
Internal | _forceIERedraw() Forces IE browser to re-render entire document if the height of the application's domain element measures zero. |
Internal | _processApplicationFocus() Listener for application change of component focus: invokes focus() method on focused component's peer. |
Internal | _processKeyPress() Root KeyDown event handler. |
Public | processUpdates() Processes updates to the component hierarchy. |
Public | registerRestrictionListener() Registers a listener to be notified when all input restrictions have been removed. |
Public | removeInputRestriction() Removes an input restriction. |
Public | setWaitIndicator() Sets the wait indicator that will be displayed when a client-server action takes longer than a specified period of time. |
Internal | _waitIndicatorActivate() Activates the wait indicator. |
Internal | _windowResizeListener() Instance listener to respond to resizing of browser window. |
e
- the DOM resize eventpackageName
(String)
- the package name in which the resource is containedresourceName
(String)
- the resource namecomponent
(Echo.Component)
- optional parameter indicating the component to query (if omitted, only the
application's readiness state will be investigated)application
(Echo.Application)
- the application the client will support (if configuring)
or null (if deconfiguring)domainElement
(Element)
- the DOM element into which the client will be rendered (if configuring),
or null (if deconfiguring)requiredLibraries
(Array)
- the URLs of the libraries which must be loaded before the function can executef
(Function)
- the function to executemsg
(String)
- the message to display (a generic message will be used if omitted)e
- the evente
- the eventEcho.Render.processUpdates()
.
component
(Echo.Component)
- the component for which the restriction listener is being registeredl
(Function)
- the method to notify when all input restrictions have been clearedid
(String)
- the id (handle) of the input restriction to removewaitIndicator
(Echo.Client.WaitIndicator)
- the new wait indicatore
- the DOM resize event