public interface VideoDefinition
VideoDefinition
object represents a video definition, eg.
its width and its height.Modifier and Type | Method and Description |
---|---|
VideoDefinition |
clone()
Clone a video definition.
|
boolean |
equals(VideoDefinition vdef2)
Tells whether two
VideoDefinition objects are equal (the widths and the
heights are the same but can be switched). |
int |
getHeight()
Get the height of the video definition.
|
java.lang.String |
getName()
Get the name of the video definition.
|
java.lang.Object |
getUserData()
Gets the object stored in this object user's data
|
int |
getWidth()
Get the width of the video definition.
|
boolean |
isUndefined()
Tells whether a
VideoDefinition is undefined. |
void |
setDefinition(int width,
int height)
Set the width and the height of the video definition.
|
void |
setHeight(int height)
Set the height of the video definition.
|
void |
setName(java.lang.String name)
Set the name of the video definition.
|
void |
setUserData(java.lang.Object data)
Sets the object to store in this object user's data
|
void |
setWidth(int width)
Set the width of the video definition.
|
boolean |
strictEquals(VideoDefinition vdef2)
Tells whether two
VideoDefinition objects are strictly equal (the
widths are the same and the heights are the same). |
int getHeight()
void setHeight(int height)
height
- The height of the video definitionboolean isUndefined()
VideoDefinition
is undefined.VideoDefinition
is
undefined.java.lang.String getName()
void setName(java.lang.String name)
name
- The name of the video definitionint getWidth()
void setWidth(int width)
width
- The width of the video definitionVideoDefinition clone()
boolean equals(VideoDefinition vdef2)
VideoDefinition
objects are equal (the widths and the
heights are the same but can be switched).vdef2
- VideoDefinition
objectVideoDefinition
objects
are equal.void setDefinition(int width, int height)
height
- The height of the video definitionboolean strictEquals(VideoDefinition vdef2)
VideoDefinition
objects are strictly equal (the
widths are the same and the heights are the same).vdef2
- VideoDefinition
objectVideoDefinition
objects
are strictly equal.void setUserData(java.lang.Object data)
data
- the object to storejava.lang.Object getUserData()