| Package | Description |
|---|---|
| de.swm.commons.mobile.client | |
| de.swm.commons.mobile.client.setup |
| Modifier and Type | Method and Description |
|---|---|
ViewPort |
SWMMobileSettings.getViewPort()
Get the viewport for the mgwt app
|
| Modifier and Type | Method and Description |
|---|---|
void |
SWMMobileSettings.setViewPort(ViewPort viewPort)
Set the viewport the the mgwt app
|
| Modifier and Type | Method and Description |
|---|---|
ViewPort |
ViewPort.setHeight(int value)
Set the height of the viewport
|
ViewPort |
ViewPort.setHeightToDeviceHeight()
Set the height to device height
|
ViewPort |
ViewPort.setInitialScale(double initialScale)
set the initial scale of the viewport
|
ViewPort |
ViewPort.setMaximumScale(double maximumScale)
Set the maximum scale of the viewport
|
ViewPort |
ViewPort.setMinimumScale(double minimumScale)
set the minimum scaling of the viewport
|
ViewPort |
ViewPort.setTargetDensity(Density d)
android only
set the target density
|
ViewPort |
ViewPort.setTargetDensity(int value)
android only
set the target density in dpi
|
ViewPort |
ViewPort.setUserScaleAble(boolean userScaleAble)
Should the viewport be scalable by the user
|
ViewPort |
ViewPort.setWidth(int value)
Set the width of the viewport
|
ViewPort |
ViewPort.setWidthToDeviceWidth()
Set width to device width
Most common for most apps
|
Copyright © 2011–2015 SWM. All rights reserved.