|
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.Layout
public class Layout
Defines a collection of rendering regions that determine how the elements in the document's body are positioned on an abstract rendering surface.
Constructor Summary | |
---|---|
Layout()
|
Method Summary | |
---|---|
void |
acceptDown(SmilVisitor visitor)
Accepts the specified SMIL playlist visitor. |
void |
addRegion(Region region)
Adds a region to this layout. |
void |
addRegistrationPoint(RegistrationPoint regPoint)
Adds a registration point to this layout. |
void |
addTopLayout(TopLayout topLayout)
Adds the specified top layout to this layout. |
Region |
findRegionById(String regionId)
Returns the first region found with the specified identifier. |
List<Region> |
getRegions()
Returns the list of regions defined in this layout. |
List<RegistrationPoint> |
getRegistrationPoints()
Returns the list of registration points defined in this layout. |
RootLayout |
getRootLayout()
Returns the root layout defined in this layout. |
List<TopLayout> |
getTopLayouts()
Returns the list of top layouts defined in this layout. |
String |
getType()
Returns the type of layout language which is used in the layout element. |
void |
setRootLayout(RootLayout rootLayout)
Initializes the root layout associated to this layout. |
void |
setType(String type)
Initializes the type of layout language which is used in the layout element. |
Methods inherited from class christophedelory.playlist.smil.Core |
---|
getClassName, getId, getLang, getTitle, setClassName, setId, setLang, setTitle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Layout()
Method Detail |
---|
public List<TopLayout> getTopLayouts()
null
.addTopLayout(christophedelory.playlist.smil.TopLayout)
public void addTopLayout(TopLayout topLayout)
topLayout
- a top layout. Shall not be null
.
NullPointerException
- if topLayout
is null
.getTopLayouts()
public RootLayout getRootLayout()
null
.setRootLayout(christophedelory.playlist.smil.RootLayout)
public void setRootLayout(RootLayout rootLayout)
rootLayout
- a root layout. May be null
.getRootLayout()
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 Region findRegionById(String regionId)
regionId
- the region identifier. Shall not be null
.
null
if none is found.
NullPointerException
- if regionId
is null
.Core.getId()
public List<RegistrationPoint> getRegistrationPoints()
null
.addRegistrationPoint(christophedelory.playlist.smil.RegistrationPoint)
public void addRegistrationPoint(RegistrationPoint regPoint)
regPoint
- a registration point. Shall not be null
.
NullPointerException
- if regPoint
is null
.getRegistrationPoints()
public String getType()
null
.setType(java.lang.String)
public void setType(String type)
type
- the type of layout language. May be null
.getType()
public void acceptDown(SmilVisitor visitor)
visitor
- a SMIL playlist visitor. Shall not be null
.
NullPointerException
- if visitor
is null
.
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |