Echo.Client
Echo.FreeClient
Echo.Arc.Client
Constructor Summary | |
---|---|
Public | Echo.FreeClient() Creates a new FreeClient. |
Instance Field Summary | |
---|---|
Internal | _processUpdateRef Method reference to _processUpdate()
|
Internal | _doRenderRef Method reference to _doRender()
|
Internal | _resourcePaths Resource package name to base URL mapping for resource paths. |
Internal | _renderPending Flag indicating that a runnable has been enqueued to invoke _doRender(). |
Instance Method Summary | |
---|---|
Public | addResourcePath() Associates a resource package name with a base URL. |
Public | dispose() Disposes of the FreeClient. |
Internal | _doRender() Performs rendering operations by invoking Echo. |
Public | getResourceUrl() |
Public | init() Initializes the FreeClient. |
Public | loadStyleSheet() Loads an XML style sheet into the client application from a URL. |
Internal | _processStyleSheet() Event listener invoked when a StyleSheet fetched via loadStyleSheet() has been retrieved. |
Internal | _processUpdate() Schedules doRender() to run in next execution context. |
Methods inherited from class Echo.Client |
getResourceUrl , verifyInput , dispose , configure , createInputRestriction , exec , fail , _forceIERedraw , _processApplicationFocus , _processKeyPress , processUpdates , registerRestrictionListener , removeInputRestriction , setWaitIndicator , _waitIndicatorActivate , _windowResizeListener |
application
(Echo.Application)
- the application which the client will containdomainElement
(Element)
- the HTML element in which the client will be renderedgetResourceUrl()
with the specified package name will return
URLs with the specified baseUrl
prepended to the resource name provided in the
call to getResourceUrl()
.
packageName
(String)
- the resource package namebaseUrl
(String)
- the base URL to prepend to resources in the specified packageurl
(String)
- the URL from which the StyleSheet should be fetched.e
- the HttpConnection response event