Interface ScreenDevice

  • All Known Implementing Classes:
    ScreenDeviceImpl

    public interface ScreenDevice
    Represents a physical screen display.
    Author:
    Sebastien Vincent
    • 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