public class ScreenDeviceImpl extends java.lang.Object implements ScreenDevice
Modifier | Constructor and Description |
---|---|
protected |
ScreenDeviceImpl(int index,
java.awt.GraphicsDevice screen)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsPoint(java.awt.Point p)
If the screen contains specified point.
|
static ScreenDevice[] |
getAvailableScreenDevices()
Returns all available ScreenDevices.
|
java.awt.Rectangle |
getBounds()
Get bounds of the screen.
|
static ScreenDevice |
getDefaultScreenDevice()
Gets the default ScreenDevice.
|
int |
getIndex()
Get the screen index.
|
java.lang.String |
getName()
Get the identifier of the screen.
|
java.awt.Dimension |
getSize()
Gets the (current) size/resolution of this ScreenDevice.
|
protected ScreenDeviceImpl(int index, java.awt.GraphicsDevice screen)
index
- screen indexscreen
- screen devicepublic static ScreenDevice[] getAvailableScreenDevices()
public static ScreenDevice getDefaultScreenDevice()
public boolean containsPoint(java.awt.Point p)
containsPoint
in interface ScreenDevice
p
- point coordinatepublic java.awt.Rectangle getBounds()
public int getIndex()
getIndex
in interface ScreenDevice
public java.lang.String getName()
public java.awt.Dimension getSize()
getSize
in interface ScreenDevice
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.