com.atlassian.selenium.visualcomparison.utils
Class ScreenResolution

java.lang.Object
  extended by java.awt.geom.Dimension2D
      extended by java.awt.Dimension
          extended by com.atlassian.selenium.visualcomparison.utils.ScreenResolution
All Implemented Interfaces:
Serializable, Cloneable, Comparable<ScreenResolution>

public class ScreenResolution
extends Dimension
implements Comparable<ScreenResolution>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.awt.Dimension
height, width
 
Constructor Summary
ScreenResolution(int width, int height)
           
ScreenResolution(String value)
           
 
Method Summary
 int compareTo(ScreenResolution other)
           
 String toString()
           
 
Methods inherited from class java.awt.Dimension
equals, getHeight, getSize, getWidth, hashCode, setSize, setSize, setSize
 
Methods inherited from class java.awt.geom.Dimension2D
clone, setSize
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScreenResolution

public ScreenResolution(int width,
                        int height)

ScreenResolution

public ScreenResolution(String value)
Method Detail

compareTo

public int compareTo(ScreenResolution other)
Specified by:
compareTo in interface Comparable<ScreenResolution>

toString

public String toString()
Overrides:
toString in class Dimension


Copyright © 2014 Atlassian. All rights reserved.