|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vaadin.addon.touchkit.settings.TouchKitSettings
public class TouchKitSettings
TouchKitSettings is a collection of tools that help modify various touch device related settings on the html page. The class must be bound to VaadinService and configured in an early phase to be functional.
This class should be instantiated by and used through the servlet class,
which is TouchKitServlet
by default.
Constructor Summary | |
---|---|
TouchKitSettings()
Creates and binds a TouchKitSettings instance to the VaadinService instance, which is automatically fetched from a
thread local. |
|
TouchKitSettings(com.vaadin.server.VaadinService vaadinService)
Creates a new instance of TouchKitSettings and binds it to the given VaadinService . |
Method Summary | |
---|---|
void |
addViewPortSettings(com.vaadin.addon.touchkit.settings.TouchKitSettings.SettingSelector<ViewPortSettings> viewPortSettingSelector)
Adds a request dependent view port settings. |
ApplicationCacheSettings |
getApplicationCacheSettings()
|
ApplicationIcons |
getApplicationIcons()
|
com.vaadin.server.SystemMessages |
getSystemMessages(com.vaadin.server.SystemMessagesInfo systemMessagesInfo)
|
ViewPortSettings |
getViewPortSettings()
|
WebAppSettings |
getWebAppSettings()
|
void |
modifyBootstrapFragment(com.vaadin.server.BootstrapFragmentResponse response)
|
void |
modifyBootstrapPage(com.vaadin.server.BootstrapPageResponse response)
|
void |
sessionInit(com.vaadin.server.SessionInitEvent event)
|
void |
setApplicationCacheSettings(ApplicationCacheSettings applicationCacheSettings)
Sets the ApplicationCacheSettings instance to use. |
void |
setApplicationIcons(ApplicationIcons applicationIcons)
Sets the ApplicationIcons instance to use. |
void |
setViewPortSettings(ViewPortSettings viewPortSettings)
Sets the ViewPortSettings instance to use by default. |
void |
setWebAppSettings(WebAppSettings iosWebAppSettings)
Sets the WebAppSettings instance to use. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TouchKitSettings()
VaadinService
instance, which is automatically fetched from a
thread local.
public TouchKitSettings(com.vaadin.server.VaadinService vaadinService)
VaadinService
.
vaadinService
- the vaadin service to which the new instance should be bound.Method Detail |
---|
public ViewPortSettings getViewPortSettings()
ViewPortSettings
used by default.public WebAppSettings getWebAppSettings()
WebAppSettings
public ApplicationIcons getApplicationIcons()
ApplicationIcons
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
public void sessionInit(com.vaadin.server.SessionInitEvent event) throws com.vaadin.server.ServiceException
sessionInit
in interface com.vaadin.server.SessionInitListener
com.vaadin.server.ServiceException
public ApplicationCacheSettings getApplicationCacheSettings()
ApplicationCacheSettings
public void setApplicationCacheSettings(ApplicationCacheSettings applicationCacheSettings)
ApplicationCacheSettings
instance to use.
applicationCacheSettings
- the ApplicationCacheSettings
instance to use.public void setApplicationIcons(ApplicationIcons applicationIcons)
ApplicationIcons
instance to use.
applicationIcons
- the ApplicationIcons
instance to use.public void setViewPortSettings(ViewPortSettings viewPortSettings)
ViewPortSettings
instance to use by default.
viewPortSettings
- the ViewPortSettings
instance to use.addViewPortSettings(SettingSelector)
public void addViewPortSettings(com.vaadin.addon.touchkit.settings.TouchKitSettings.SettingSelector<ViewPortSettings> viewPortSettingSelector)
viewPortSettingSelector
- public void setWebAppSettings(WebAppSettings iosWebAppSettings)
WebAppSettings
instance to use.
iosWebAppSettings
- the WebAppSettings
instance to use.public com.vaadin.server.SystemMessages getSystemMessages(com.vaadin.server.SystemMessagesInfo systemMessagesInfo)
getSystemMessages
in interface com.vaadin.server.SystemMessagesProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |