Interface ScreenDevice
-
- All Known Implementing Classes:
ScreenDeviceImpl
public interface ScreenDeviceRepresents a physical screen display.- Author:
- Sebastien Vincent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancontainsPoint(Point p)Determines whether this screen contains a specified point.intgetIndex()Gets this screen's index.DimensiongetSize()Gets the current resolution of this screen.
-
-
-
Method Detail
-
containsPoint
boolean containsPoint(Point p)
Determines whether this screen contains a specified point.- Parameters:
p- point coordinate- Returns:
- true if point belongs to this screen; false, otherwise
-
getIndex
int getIndex()
Gets this screen's index.- Returns:
- this screen's index
-
getSize
Dimension getSize()
Gets the current resolution of this screen.- Returns:
- the current resolution of this screen
-
-