Class XRandR.Screen

  • All Implemented Interfaces:
    java.lang.Cloneable
    Enclosing class:
    XRandR

    public static class XRandR.Screen
    extends java.lang.Object
    implements java.lang.Cloneable
    Encapsulates the configuration of a monitor. Resolution and freq are fixed, position is mutable
    Author:
    ryanm
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int freq
      Frequency in Hz
      int height
      Height in pixels
      java.lang.String name
      Name for this output
      int width
      Width in pixels
      int xPos
      Position on the x-axis, in pixels
      int yPos
      Position on the y-axis, in pixels
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • name

        public final java.lang.String name
        Name for this output
      • width

        public final int width
        Width in pixels
      • height

        public final int height
        Height in pixels
      • freq

        public final int freq
        Frequency in Hz
      • xPos

        public int xPos
        Position on the x-axis, in pixels
      • yPos

        public int yPos
        Position on the y-axis, in pixels
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object