java.lang.Object
org.htmlunit.Screen
- All Implemented Interfaces:
Serializable
Screen.- Author:
- Mike Bowler, Daniel Gredler, Chris Erskine, Ronald Brill, Ahmed Ashour, cd alexndr
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theavailHeightproperty.intReturns the value of theavailLeftproperty.intReturns the value of theavailTopproperty.intReturns the value of theavailWidthproperty.intReturns the value of thecolorDepthproperty.intReturns the value of thedeviceXDPIproperty.intReturns the value of thedeviceYDPIproperty.intReturns the value of theheightproperty.intgetLeft()Returns the value of theleftproperty.intReturns the value of thepixelDepthproperty.intgetTop()Returns the value of thetopproperty.intgetWidth()Returns the value of thewidthproperty.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 value of theavailHeightproperty.- Returns:
- the
availHeightproperty
-
setAvailHeight
public void setAvailHeight(int availHeight) Sets theavailHeightproperty.- Parameters:
availHeight- theavailHeightproperty
-
getAvailLeft
public int getAvailLeft()Returns the value of theavailLeftproperty.- Returns:
- the
availLeftproperty
-
setAvailLeft
public void setAvailLeft(int availLeft) Sets theavailLeftproperty.- Parameters:
availLeft- theavailLeftproperty
-
getAvailTop
public int getAvailTop()Returns the value of theavailTopproperty.- Returns:
- the
availTopproperty
-
setAvailTop
public void setAvailTop(int availTop) Sets theavailTopproperty.- Parameters:
availTop- theavailTopproperty
-
getAvailWidth
public int getAvailWidth()Returns the value of theavailWidthproperty.- Returns:
- the
availWidthproperty
-
setAvailWidth
public void setAvailWidth(int availWidth) Sets theavailWidthproperty.- Parameters:
availWidth- theavailWidthproperty
-
getColorDepth
public int getColorDepth()Returns the value of thecolorDepthproperty.- Returns:
- the
colorDepthproperty
-
setColorDepth
public void setColorDepth(int colorDepth) Sets thecolorDepthproperty.- Parameters:
colorDepth- thecolorDepthproperty
-
getDeviceXDPI
public int getDeviceXDPI()Returns the value of thedeviceXDPIproperty.- Returns:
- the
deviceXDPIproperty
-
setDeviceXDPI
public void setDeviceXDPI(int deviceXDPI) Sets thedeviceXDPIproperty.- Parameters:
deviceXDPI- thedeviceXDPIproperty
-
getDeviceYDPI
public int getDeviceYDPI()Returns the value of thedeviceYDPIproperty.- Returns:
- the
deviceYDPIproperty
-
setDeviceYDPI
public void setDeviceYDPI(int deviceYDPI) Sets thedeviceYDPIproperty.- Parameters:
deviceYDPI- thedeviceYDPIproperty
-
getHeight
public int getHeight()Returns the value of theheightproperty.- Returns:
- the
heightproperty
-
setHeight
public void setHeight(int height) Sets theheightproperty.- Parameters:
height- theheightproperty
-
getLeft
public int getLeft()Returns the value of theleftproperty.- Returns:
- the
leftproperty
-
setLeft
public void setLeft(int left) Sets theleftproperty.- Parameters:
left- theleftproperty
-
getPixelDepth
public int getPixelDepth()Returns the value of thepixelDepthproperty.- Returns:
- the
pixelDepthproperty
-
setPixelDepth
public void setPixelDepth(int pixelDepth) Sets thepixelDepthproperty.- Parameters:
pixelDepth- thepixelDepthproperty
-
getTop
public int getTop()Returns the value of thetopproperty.- Returns:
- the
topproperty
-
setTop
public void setTop(int top) Sets thetopproperty.- Parameters:
top- thetopproperty
-
getWidth
public int getWidth()Returns the value of thewidthproperty.- Returns:
- the
widthproperty
-
setWidth
public void setWidth(int width) Sets thewidthproperty.- Parameters:
width- thewidthproperty
-