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 TypeMethodDescriptionintintintintintintintintintgetLeft()intintgetTop()intgetWidth()voidsetAvailHeight(int availHeight) Sets theavailHeightproperty.voidsetAvailLeft(int availLeft) Sets theavailLeftproperty.voidsetAvailTop(int availTop) Sets theavailTopproperty.voidsetAvailWidth(int availWidth) Sets theavailWidthproperty.voidsetColorDepth(int colorDepth) Sets thecolorDepthproperty.voidsetDeviceXDPI(int deviceXDPI) Sets thedeviceXDPIproperty.voidsetDeviceYDPI(int deviceYDPI) Sets thedeviceYDPIproperty.voidsetHeight(int height) Sets theheightproperty.voidsetLeft(int left) Sets theleftproperty.voidsetPixelDepth(int pixelDepth) Sets thepixelDepthproperty.voidsetTop(int top) Sets thetopproperty.voidsetWidth(int width) Sets thewidthproperty.
-
Constructor Details
-
Screen
Creates an instance.- Parameters:
webClient- the client this belongs to
-
-
Method Details
-
getAvailHeight
public int getAvailHeight()- Returns:
- the
availHeightproperty
-
setAvailHeight
public void setAvailHeight(int availHeight) Sets theavailHeightproperty.- Parameters:
availHeight- theavailHeightproperty
-
getAvailLeft
public int getAvailLeft()- Returns:
- the
availLeftproperty
-
setAvailLeft
public void setAvailLeft(int availLeft) Sets theavailLeftproperty.- Parameters:
availLeft- theavailLeftproperty
-
getAvailTop
public int getAvailTop()- Returns:
- the
availTopproperty
-
setAvailTop
public void setAvailTop(int availTop) Sets theavailTopproperty.- Parameters:
availTop- theavailTopproperty
-
getAvailWidth
public int getAvailWidth()- Returns:
- the
availWidthproperty
-
setAvailWidth
public void setAvailWidth(int availWidth) Sets theavailWidthproperty.- Parameters:
availWidth- theavailWidthproperty
-
getColorDepth
public int getColorDepth()- Returns:
- the
colorDepthproperty
-
setColorDepth
public void setColorDepth(int colorDepth) Sets thecolorDepthproperty.- Parameters:
colorDepth- thecolorDepthproperty
-
getDeviceXDPI
public int getDeviceXDPI()- Returns:
- the
deviceXDPIproperty
-
setDeviceXDPI
public void setDeviceXDPI(int deviceXDPI) Sets thedeviceXDPIproperty.- Parameters:
deviceXDPI- thedeviceXDPIproperty
-
getDeviceYDPI
public int getDeviceYDPI()- Returns:
- the
deviceYDPIproperty
-
setDeviceYDPI
public void setDeviceYDPI(int deviceYDPI) Sets thedeviceYDPIproperty.- Parameters:
deviceYDPI- thedeviceYDPIproperty
-
getHeight
public int getHeight()- Returns:
- the
heightproperty
-
setHeight
public void setHeight(int height) Sets theheightproperty.- Parameters:
height- theheightproperty
-
getLeft
public int getLeft()- Returns:
- the
leftproperty
-
setLeft
public void setLeft(int left) Sets theleftproperty.- Parameters:
left- theleftproperty
-
getPixelDepth
public int getPixelDepth()- Returns:
- the
pixelDepthproperty
-
setPixelDepth
public void setPixelDepth(int pixelDepth) Sets thepixelDepthproperty.- Parameters:
pixelDepth- thepixelDepthproperty
-
getTop
public int getTop()- Returns:
- the
topproperty
-
setTop
public void setTop(int top) Sets thetopproperty.- Parameters:
top- thetopproperty
-
getWidth
public int getWidth()- Returns:
- the
widthproperty
-
setWidth
public void setWidth(int width) Sets thewidthproperty.- Parameters:
width- thewidthproperty
-