Package org.htmlunit
Class Screen
java.lang.Object
org.htmlunit.Screen
- All Implemented Interfaces:
Serializable
Screen
.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
int
int
int
int
int
getLeft()
int
int
getTop()
int
getWidth()
void
setAvailHeight
(int availHeight) Sets theavailHeight
property.void
setAvailLeft
(int availLeft) Sets theavailLeft
property.void
setAvailTop
(int availTop) Sets theavailTop
property.void
setAvailWidth
(int availWidth) Sets theavailWidth
property.void
setColorDepth
(int colorDepth) Sets thecolorDepth
property.void
setDeviceXDPI
(int deviceXDPI) Sets thedeviceXDPI
property.void
setDeviceYDPI
(int deviceYDPI) Sets thedeviceYDPI
property.void
setHeight
(int height) Sets theheight
property.void
setLeft
(int left) Sets theleft
property.void
setPixelDepth
(int pixelDepth) Sets thepixelDepth
property.void
setTop
(int top) Sets thetop
property.void
setWidth
(int width) Sets thewidth
property.
-
Constructor Details
-
Screen
Creates an instance.- Parameters:
webClient
- the client this belongs to
-
-
Method Details
-
getAvailHeight
public int getAvailHeight()- Returns:
- the
availHeight
property
-
setAvailHeight
public void setAvailHeight(int availHeight) Sets theavailHeight
property.- Parameters:
availHeight
- theavailHeight
property
-
getAvailLeft
public int getAvailLeft()- Returns:
- the
availLeft
property
-
setAvailLeft
public void setAvailLeft(int availLeft) Sets theavailLeft
property.- Parameters:
availLeft
- theavailLeft
property
-
getAvailTop
public int getAvailTop()- Returns:
- the
availTop
property
-
setAvailTop
public void setAvailTop(int availTop) Sets theavailTop
property.- Parameters:
availTop
- theavailTop
property
-
getAvailWidth
public int getAvailWidth()- Returns:
- the
availWidth
property
-
setAvailWidth
public void setAvailWidth(int availWidth) Sets theavailWidth
property.- Parameters:
availWidth
- theavailWidth
property
-
getColorDepth
public int getColorDepth()- Returns:
- the
colorDepth
property
-
setColorDepth
public void setColorDepth(int colorDepth) Sets thecolorDepth
property.- Parameters:
colorDepth
- thecolorDepth
property
-
getDeviceXDPI
public int getDeviceXDPI()- Returns:
- the
deviceXDPI
property
-
setDeviceXDPI
public void setDeviceXDPI(int deviceXDPI) Sets thedeviceXDPI
property.- Parameters:
deviceXDPI
- thedeviceXDPI
property
-
getDeviceYDPI
public int getDeviceYDPI()- Returns:
- the
deviceYDPI
property
-
setDeviceYDPI
public void setDeviceYDPI(int deviceYDPI) Sets thedeviceYDPI
property.- Parameters:
deviceYDPI
- thedeviceYDPI
property
-
getHeight
public int getHeight()- Returns:
- the
height
property
-
setHeight
public void setHeight(int height) Sets theheight
property.- Parameters:
height
- theheight
property
-
getLeft
public int getLeft()- Returns:
- the
left
property
-
setLeft
public void setLeft(int left) Sets theleft
property.- Parameters:
left
- theleft
property
-
getPixelDepth
public int getPixelDepth()- Returns:
- the
pixelDepth
property
-
setPixelDepth
public void setPixelDepth(int pixelDepth) Sets thepixelDepth
property.- Parameters:
pixelDepth
- thepixelDepth
property
-
getTop
public int getTop()- Returns:
- the
top
property
-
setTop
public void setTop(int top) Sets thetop
property.- Parameters:
top
- thetop
property
-
getWidth
public int getWidth()- Returns:
- the
width
property
-
setWidth
public void setWidth(int width) Sets thewidth
property.- Parameters:
width
- thewidth
property
-