|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vaadin.addon.touchkit.settings.WebAppSettings
public class WebAppSettings
The WebAppSettings class is used to configure various settings that control how the application behaves when linked to from mobile devices. Some of these settings are platform specific, most introduced by Apple for their "home screen web app" concept. See the Apple Meta tags documentation for details.
Constructor Summary | |
---|---|
WebAppSettings()
|
Method Summary | |
---|---|
String |
getStartupImage()
|
String |
getStatusBarStyle()
|
boolean |
isWebAppCapable()
|
void |
modifyBootstrapFragment(com.vaadin.server.BootstrapFragmentResponse response)
|
void |
modifyBootstrapPage(com.vaadin.server.BootstrapPageResponse response)
|
void |
setStartupImage(String startupImage)
Sets the image that the device may use as a place-holder while the web application is starting up - e.g splash-screen or screenshot of initial screen. |
void |
setStatusBarStyle(String statusBarStyle)
Some mobile devices (like Apple's iOS devices) may allow customizing status bars appearances. |
void |
setWebAppCapable(boolean webAppCapable)
Sets a header that tells the client whether the application is designed to be used as a web application rather than a web page. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebAppSettings()
Method Detail |
---|
public void setWebAppCapable(boolean webAppCapable)
webAppCapable
- true to treat the application as a web application rather than
a web page.public boolean isWebAppCapable()
setWebAppCapable(boolean)
public void setStatusBarStyle(String statusBarStyle)
statusBarStyle
- The style of the status bar.public String getStatusBarStyle()
setStatusBarStyle(String)
public void setStartupImage(String startupImage)
startupImage
- the splash screen image to use.public String getStartupImage()
setStartupImage(String)
public void modifyBootstrapFragment(com.vaadin.server.BootstrapFragmentResponse response)
modifyBootstrapFragment
in interface com.vaadin.server.BootstrapListener
public void modifyBootstrapPage(com.vaadin.server.BootstrapPageResponse response)
modifyBootstrapPage
in interface com.vaadin.server.BootstrapListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |