com.jogamp.newt
Class MonitorMode.SizeAndRRate

java.lang.Object
  extended by com.jogamp.newt.MonitorMode.SizeAndRRate
Enclosing class:
MonitorMode

public static class MonitorMode.SizeAndRRate
extends Object

Immutable surfaceSize and refreshRate Class, consisting of it's read only components:


Field Summary
 int flags
          Mode bitfield flags, i.e.
 int hashCode
           
 float refreshRate
          Vertical refresh rate
 SurfaceSize surfaceSize
          Non rotated surface size
 
Constructor Summary
MonitorMode.SizeAndRRate(SurfaceSize surfaceSize, float refreshRate, int flags)
           
 
Method Summary
 boolean equals(Object obj)
          Tests equality of two MonitorMode.SizeAndRRate objects by evaluating equality of it's components:
surfaceSize refreshRate flags
static StringBuffer flags2String(int flags)
           
 int hashCode()
          Returns a combined hash code of it's elements:
surfaceSize refreshRate flags
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

surfaceSize

public final SurfaceSize surfaceSize
Non rotated surface size


refreshRate

public final float refreshRate
Vertical refresh rate


flags

public final int flags
Mode bitfield flags, i.e. MonitorMode.FLAG_DOUBLESCAN, MonitorMode.FLAG_INTERLACE, ..


hashCode

public final int hashCode
Constructor Detail

MonitorMode.SizeAndRRate

public MonitorMode.SizeAndRRate(SurfaceSize surfaceSize,
                                float refreshRate,
                                int flags)
Method Detail

flags2String

public static final StringBuffer flags2String(int flags)

toString

public final String toString()
Overrides:
toString in class Object

equals

public final boolean equals(Object obj)
Tests equality of two MonitorMode.SizeAndRRate objects by evaluating equality of it's components:

Overrides:
equals in class Object

hashCode

public final int hashCode()
Returns a combined hash code of it's elements:

Overrides:
hashCode in class Object


Copyright 2010 JogAmp Community.