|
Eclipse Remote Application Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.rap.rwt.client.WebClient
public class WebClient
The default RWT web client.
Field Summary | |
---|---|
static java.lang.String |
BODY_HTML
Entrypoint property name for custom HTML code to be placed inside the body of the startup page. |
static java.lang.String |
FAVICON
Entrypoint property name for the website icon (a.k.a favicon or shortcut icon) that will be displayed by the web browser. |
static java.lang.String |
HEAD_HTML
Entrypoint property name for additional HTML elements to be added to the <head> section of the startup page. |
static java.lang.String |
PAGE_TITLE
Entrypoint property name for the title that will be displayed in the browser window. |
static java.lang.String |
THEME_ID
Entrypoint property name for a custom theme to be used with the entrypoint. |
Constructor Summary | |
---|---|
WebClient()
|
Method Summary | ||
---|---|---|
|
getService(java.lang.Class<T> type)
Returns this client's implementation of a given service, if available. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String THEME_ID
RWT.DEFAULT_THEME_ID
,
Application.addEntryPoint(String, Class, Map)
,
Application.addEntryPoint(String, EntryPointFactory, Map)
,
Constant Field Valuespublic static final java.lang.String HEAD_HTML
head
such as meta
or
link
.
Warning: the property value will not be validated by the framework. Invalid HTML can break the application entirely or lead to problems that are hard to identify. It's the responsibility of the developer to ensure the correctness of the resulting page.
Application.addEntryPoint(String, Class, Map)
,
Application.addEntryPoint(String, EntryPointFactory, Map)
,
Constant Field Valuespublic static final java.lang.String BODY_HTML
body
of the startup page. The value must be proper HTML 4.0 in
order not to break the surrounding page.
Warning: the property value will not be validated by the framework. Invalid HTML can break the application entirely or lead to problems that are hard to identify. It's the responsibility of the developer to ensure the correctness of the resulting page.
Application.addEntryPoint(String, Class, Map)
,
Application.addEntryPoint(String, EntryPointFactory, Map)
,
Constant Field Valuespublic static final java.lang.String PAGE_TITLE
Application.addEntryPoint(String, Class, Map)
,
Application.addEntryPoint(String, EntryPointFactory, Map)
,
Constant Field Valuespublic static final java.lang.String FAVICON
Note: if this property is provided, the image resource must be registered to be available. Favicons are usually expected to be 16x16 px in size. If the icon has to work with legacy browsers, use a file in the ICO format.
Application.addResource(String, ResourceLoader)
,
Application.addEntryPoint(String, Class, Map)
,
Application.addEntryPoint(String, EntryPointFactory, Map)
,
Constant Field ValuesConstructor Detail |
---|
public WebClient()
Method Detail |
---|
public <T extends ClientService> T getService(java.lang.Class<T> type)
Client
getService
in interface Client
type
- the type of the requested service, must be a subtype of ClientService
null
ClientService
|
Eclipse Remote Application Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) EclipseSource and others 2002, 2013. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0