public class Page
extends java.lang.Object
| Constructor and Description |
|---|
Page() |
| Modifier and Type | Method and Description |
|---|---|
static void |
_updateViewport(java.lang.Float scale,
java.lang.String width,
java.lang.String height,
java.lang.Boolean scalable,
java.lang.String extraViewportParams) |
static com.google.gwt.event.shared.HandlerRegistration |
addOrientationChangeHandler(OrientationChangeHandler handler) |
static java.lang.String |
combineURLs(java.lang.String masterURL,
java.lang.String localURL)
Combine a "masterURL" and a "localURL" into a single URL.
|
static int |
getHeight() |
static java.lang.String |
getIsomorphicDir() |
static PageOrientation |
getOrientation() |
static java.lang.String |
getProtocol(java.lang.String URL)
Return the protocol for a given URL.
|
static java.lang.String |
getURL(java.lang.String URL)
Return a full URL for a relative path that uses a special prefix "[ISOMORPHIC]"
|
static int |
getWidth() |
static void |
setIsomorphicDir(java.lang.String URL) |
static void |
updateViewport(java.lang.Float scale,
java.lang.Integer width,
java.lang.Integer height,
java.lang.Boolean scalable) |
public static void updateViewport(java.lang.Float scale,
java.lang.Integer width,
java.lang.Integer height,
java.lang.Boolean scalable)
@SGWTInternal
public static void _updateViewport(java.lang.Float scale,
java.lang.String width,
java.lang.String height,
java.lang.Boolean scalable,
java.lang.String extraViewportParams)
public static int getHeight()
public static void setIsomorphicDir(java.lang.String URL)
public static java.lang.String getIsomorphicDir()
public static PageOrientation getOrientation()
public static java.lang.String getProtocol(java.lang.String URL)
URL - URL to get protocol for.public static int getWidth()
public static java.lang.String combineURLs(java.lang.String masterURL,
java.lang.String localURL)
masterURL - Master URL.localURL - Local URL.public static java.lang.String getURL(java.lang.String URL)
URL - Local file name for the image.public static com.google.gwt.event.shared.HandlerRegistration addOrientationChangeHandler(OrientationChangeHandler handler)