com.almilli.tivo.hme.hd
Class Resolution

java.lang.Object
  extended by com.almilli.tivo.hme.hd.Resolution
All Implemented Interfaces:
java.io.Serializable

public class Resolution
extends java.lang.Object
implements java.io.Serializable

The Resolution class defines a resolution's dimensions and aspect ratio.

Since:
0.1
Author:
s2kdave
See Also:
Serialized Form

Constructor Summary
Resolution(int width, int height, int aspectNumerator, int aspectDenominator)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 float getAspectRatio()
           
 int getHeight()
           
 int getPixelAspectDenominator()
           
 int getPixelAspectNumerator()
           
 int getSafeActionHorizontal()
           
 int getSafeActionVertical()
           
 int getSafeTitleHorizontal()
           
 int getSafeTitleVertical()
           
 int getWidth()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Resolution

public Resolution(int width,
                  int height,
                  int aspectNumerator,
                  int aspectDenominator)
Method Detail

getHeight

public int getHeight()

getPixelAspectDenominator

public int getPixelAspectDenominator()

getPixelAspectNumerator

public int getPixelAspectNumerator()

getSafeActionHorizontal

public int getSafeActionHorizontal()

getSafeActionVertical

public int getSafeActionVertical()

getSafeTitleHorizontal

public int getSafeTitleHorizontal()

getSafeTitleVertical

public int getSafeTitleVertical()

getWidth

public int getWidth()

getAspectRatio

public float getAspectRatio()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

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


Copyright © -2007 . All Rights Reserved.