|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectbbc.rd.tvanytime.programInformation.AspectRatio
public class AspectRatio
AspectRatio: Represents aspect ratio of a program.
| Field Summary | |
|---|---|
static int |
ORIGINAL
|
static int |
PUBLICATION
|
| Constructor Summary | |
|---|---|
AspectRatio()
Create AspectRatio object. |
|
AspectRatio(java.lang.String aspectRatio)
Create AspectRatio object. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clones itself. |
java.lang.String |
getAspectRatio()
Return aspect ratio of this program. |
int |
getType()
Return the type of aspect ratio of this program. |
void |
setAspectRatio(java.lang.String aspectRatio)
Set aspect ratio of this program. |
void |
setType(int type)
Set the type of aspect ratio of this program. |
java.lang.String |
toString()
Returns string representation of the aspect ratio. |
java.lang.String |
toString(int indent)
Returns string representation of the aspect ratio. |
java.lang.String |
toXML()
Returns XML representation of the aspect ratio. |
java.lang.String |
toXML(int indent)
Returns XML representation of the aspect ratio. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int ORIGINAL
public static final int PUBLICATION
| Constructor Detail |
|---|
public AspectRatio()
public AspectRatio(java.lang.String aspectRatio)
throws TVAnytimeException
aspectRatio - Aspect ratio of this program in the form "x:y".
TVAnytimeException| Method Detail |
|---|
public java.lang.String getAspectRatio()
public void setAspectRatio(java.lang.String aspectRatio)
throws TVAnytimeException
aspectRatio - The aspect ratio of this program.
TVAnytimeException - Thrown if passed invalid aspect ratio (must be "x:y").public int getType()
public void setType(int type)
throws TVAnytimeException
type - The type of aspect ratio of this program.
TVAnytimeException - Thrown if passed invalid aspect ratio (must be "x:y").public java.lang.String toXML()
public java.lang.String toXML(int indent)
indent - Number of tabs with which to indent the string.
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(int indent)
indent - Number of tabs with which to indent the string.
public java.lang.Object clone()
clone in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||