version 1.0

com.actimind.actiwate
Interface Screen


public interface Screen

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.

See Also:
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

setWidth

public void setWidth(int width)
Sets the horizontal resolution of the screen

Parameters:
width - the horizontal resolution of the screen

getWidth

public int getWidth()
Retrieves the horizontal resolution of the screen

Returns:
the horizontal resolution of the screen

setHeight

public void setHeight(int height)
Sets the vertical resolution of the screen

Parameters:
height - the vertical resolution of the screen

getHeight

public int getHeight()
Retrieves the vertical resolution of the screen

Returns:
the vertical resolution of the screen

setAvailWidth

public void setAvailWidth(int availWidth)
Sets the width of the working area of the screen (excluding the Microsoft® Windows® taskbar in Microsoft® Windows®)

Parameters:
availWidth - the width of the working area of the screen

getAvailWidth

public int getAvailWidth()
Retrieves the width of the working area of the screen (excluding the Microsoft® Windows® taskbar in Microsoft® Windows®)

Returns:
the width of the working area of the screen

setAvailHeight

public void setAvailHeight(int availHeight)
Sets the height of the working area of the screen (excluding the Microsoft® Windows® taskbar in Microsoft® Windows®)

Parameters:
availHeight - the height of the working area of the screen

getAvailHeight

public int getAvailHeight()
Retrieves the height of the working area of the screen (excluding the Microsoft® Windows® taskbar in Microsoft® Windows®)

Returns:
the height of the working area of the screen

setColorDepth

public void setColorDepth(int bitsPerPixel)
Sets the number of bits per pixel used for colors on the screen.

Parameters:
bitsPerPixel - the number of bits per pixel used for colors on the screen.

getColorDepth

public int getColorDepth()
Retrieves the number of bits per pixel used for colors on the screen.

Returns:
the number of bits per pixel used for colors on the screen.


Copyright © 2007 Actimind, Inc. All Rights Reserved.