|
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||||
The interface represents a virtual client's screen. It Contains information about the virtual screen and rendering capabilities. The declared properties are mapped in JavaScript screen object, so one is able to change them the way he need it.
ActiwateTestCase.screen(),
ActiwateSession.screen()| Method Summary | |
int |
getAvailHeight()
Retrieves the height of the working area of the screen (excluding the Microsoft® Windows® taskbar in Microsoft® Windows®) |
int |
getAvailWidth()
Retrieves the width of the working area of the screen (excluding the Microsoft® Windows® taskbar in Microsoft® Windows®) |
int |
getColorDepth()
Retrieves the number of bits per pixel used for colors on the screen. |
int |
getHeight()
Retrieves the vertical resolution of the screen |
int |
getWidth()
Retrieves the horizontal resolution of the screen |
void |
setAvailHeight(int availHeight)
Sets the height of the working area of the screen (excluding the Microsoft® Windows® taskbar in Microsoft® Windows®) |
void |
setAvailWidth(int availWidth)
Sets the width of the working area of the screen (excluding the Microsoft® Windows® taskbar in Microsoft® Windows®) |
void |
setColorDepth(int bitsPerPixel)
Sets the number of bits per pixel used for colors on the screen. |
void |
setHeight(int height)
Sets the vertical resolution of the screen |
void |
setWidth(int width)
Sets the horizontal resolution of the screen |
| Method Detail |
public void setWidth(int width)
width - the horizontal resolution of the screenpublic int getWidth()
public void setHeight(int height)
height - the vertical resolution of the screenpublic int getHeight()
public void setAvailWidth(int availWidth)
availWidth - the width of the working area of the screenpublic int getAvailWidth()
public void setAvailHeight(int availHeight)
availHeight - the height of the working area of the screenpublic int getAvailHeight()
public void setColorDepth(int bitsPerPixel)
bitsPerPixel - the number of bits per pixel used for colors on the screen.public int getColorDepth()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||