Class ScreenUnion

  • All Implemented Interfaces:
    IScreen

    public class ScreenUnion
    extends Screen
    CANDIDATE FOR DEPRECATION INTERNAL USE An extension of DesktopScreen, that uses all active monitors as one big screen TO BE EVALUATED: is this really needed?
    • Constructor Detail

      • ScreenUnion

        public ScreenUnion()
    • Method Detail

      • getRegion

        public Region getRegion()
      • getIdFromPoint

        public int getIdFromPoint​(int x,
                                  int y)
        Description copied from class: Screen
        INTERNAL USE: to be compatible with ScreenUnion
        Specified by:
        getIdFromPoint in interface IScreen
        Overrides:
        getIdFromPoint in class Screen
        Parameters:
        x - value
        y - value
        Returns:
        id of the screen
      • capture

        public ScreenImage capture​(Rectangle rect)
        Description copied from class: Screen
        create a ScreenImage with given rectangle on this screen.
        Specified by:
        capture in interface IScreen
        Overrides:
        capture in class Screen
        Parameters:
        rect - The Rectangle to be captured
        Returns:
        the image of the region