|
Lizzy v1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object christophedelory.playlist.smil.Core christophedelory.playlist.smil.Position christophedelory.playlist.smil.Region
public class Region
Controls the position, size and scaling of media object elements that are placed within it rendering space.
Constructor Summary | |
---|---|
Region()
|
Method Summary | |
---|---|
void |
acceptDown(SmilVisitor visitor)
Accepts the specified SMIL playlist visitor. |
void |
addRegion(Region region)
Adds a region to this region. |
boolean |
equals(Object o)
|
String |
getBackgroundColor()
Returns the background color used to fill the area of a region displaying media that is not filled by the media. |
String |
getBackgroundImage()
Returns the background image as a string. |
String |
getHeightString()
Returns the height of this region as a a string. |
String |
getRegionName()
Returns the region name. |
List<Region> |
getRegions()
Returns the list of regions defined in this region. |
Boolean |
getSkipContent()
Checks if the content may be skipped or not. |
String |
getSoundAlign()
Returns the default 2D placement of the audio portion of a media element assigned to play within the given region. |
String |
getSoundLevelString()
Returns the region sound level as a string. |
String |
getWidthString()
Returns the width of this region as a string. |
Integer |
getZIndex()
Returns the stack level of the region. |
int |
hashCode()
|
boolean |
isSkipContent()
Checks if the content may be skipped or not. |
void |
setBackgroundColor(String color)
Initializes the background color. |
void |
setBackgroundImage(String image)
Initializes the background image as a string. |
void |
setHeight(int height)
Initializes the height of this region as an integer. |
void |
setHeightString(String height)
Initializes the height of this region as a a string. |
void |
setRegionName(String regionName)
Initializes the region name. |
void |
setSkipContent(Boolean skipContent)
Specifies if the content may be skipped or not. |
void |
setSoundAlign(String soundAlign)
Initializes the default 2D placement of the audio portion of a media element assigned to play within the given region. |
void |
setSoundLevelString(String soundLevel)
Initializes the sound level of the region. |
void |
setWidth(int width)
Initializes the width of this region as an integer. |
void |
setWidthString(String width)
Initializes the width of this region as a string. |
void |
setZIndex(int zIndex)
Initializes the stack level of the region. |
void |
setZIndex(Integer zIndex)
Initializes the stack level of the region. |
Methods inherited from class christophedelory.playlist.smil.Position |
---|
getBottomString, getLeftString, getRightString, getTopString, setBottom, setBottomString, setLeft, setLeftString, setRight, setRightString, setTop, setTopString |
Methods inherited from class christophedelory.playlist.smil.Core |
---|
getClassName, getId, getLang, getTitle, setClassName, setId, setLang, setTitle |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Region()
Method Detail |
---|
public List<Region> getRegions()
null
.addRegion(christophedelory.playlist.smil.Region)
public void addRegion(Region region)
region
- a region. Shall not be null
.
NullPointerException
- if region
is null
.getRegions()
public String getRegionName()
null
.setRegionName(java.lang.String)
public void setRegionName(String regionName)
regionName
- a region name. May be null
.getRegionName()
public String getBackgroundColor()
null
.setBackgroundColor(java.lang.String)
public void setBackgroundColor(String color)
color
- the background color. May be null
.getBackgroundColor()
public String getBackgroundImage()
setBackgroundImage(java.lang.String)
public void setBackgroundImage(String image)
image
- the background image. May be null
.getBackgroundImage()
public String getHeightString()
null
.setHeightString(java.lang.String)
public void setHeightString(String height)
height
- a height. May be null
.getHeightString()
,
setHeight(int)
public void setHeight(int height)
height
- a height.setHeightString(java.lang.String)
public String getWidthString()
null
.setWidthString(java.lang.String)
public void setWidthString(String width)
width
- a width. May be null
.getWidthString()
,
setWidth(int)
public void setWidth(int width)
width
- a width.setWidthString(java.lang.String)
public boolean isSkipContent()
getSkipContent()
public Boolean getSkipContent()
null
.setSkipContent(java.lang.Boolean)
,
isSkipContent()
public void setSkipContent(Boolean skipContent)
skipContent
- the associated boolean. May be null
.getSkipContent()
public String getSoundLevelString()
100%
".
null
.setSoundLevelString(java.lang.String)
public void setSoundLevelString(String soundLevel)
soundLevel
- a sound level. May be null
.getSoundLevelString()
public Integer getZIndex()
null
.setZIndex(java.lang.Integer)
public void setZIndex(Integer zIndex)
zIndex
- a stack level. May be null
.getZIndex()
,
setZIndex(int)
public void setZIndex(int zIndex)
zIndex
- a stack level.setZIndex(Integer)
public String getSoundAlign()
null
.setSoundAlign(java.lang.String)
,
Reference.getSoundAlign()
public void setSoundAlign(String soundAlign)
soundAlign
- the default sound alignment. May be null
.getSoundAlign()
,
Reference.setSoundAlign(java.lang.String)
public void acceptDown(SmilVisitor visitor)
visitor
- a SMIL playlist visitor. Shall not be null
.
NullPointerException
- if visitor
is null
.public int hashCode()
hashCode
in class Object
public boolean equals(Object o)
equals
in class Object
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |