public class Screen
extends java.lang.Object
| Constructor and Description |
|---|
Screen() |
| Modifier and Type | Method and Description |
|---|---|
Screen |
colorDepth(java.lang.Double colorDepth) |
boolean |
equals(java.lang.Object o) |
java.lang.Double |
getColorDepth()
color depth
|
java.lang.Double |
getHeight()
height
|
ScreenOrientationType |
getOrientation()
Get orientation
|
java.lang.Double |
getPixelRatio()
Optional, Used for device detection using the device atlas
|
java.lang.Double |
getWidth()
width
|
int |
hashCode() |
Screen |
height(java.lang.Double height) |
Screen |
orientation(ScreenOrientationType orientation) |
Screen |
pixelRatio(java.lang.Double pixelRatio) |
void |
setColorDepth(java.lang.Double colorDepth) |
void |
setHeight(java.lang.Double height) |
void |
setOrientation(ScreenOrientationType orientation) |
void |
setPixelRatio(java.lang.Double pixelRatio) |
void |
setWidth(java.lang.Double width) |
java.lang.String |
toString() |
Screen |
width(java.lang.Double width) |
public Screen width(java.lang.Double width)
public java.lang.Double getWidth()
public void setWidth(java.lang.Double width)
public Screen height(java.lang.Double height)
public java.lang.Double getHeight()
public void setHeight(java.lang.Double height)
public Screen colorDepth(java.lang.Double colorDepth)
public java.lang.Double getColorDepth()
public void setColorDepth(java.lang.Double colorDepth)
public Screen pixelRatio(java.lang.Double pixelRatio)
public java.lang.Double getPixelRatio()
public void setPixelRatio(java.lang.Double pixelRatio)
public Screen orientation(ScreenOrientationType orientation)
public ScreenOrientationType getOrientation()
public void setOrientation(ScreenOrientationType orientation)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object