|
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.AbstractPlaylistComponent
public abstract class AbstractPlaylistComponent
The base component of a playlist.
Constructor Summary | |
---|---|
AbstractPlaylistComponent()
|
Method Summary | |
---|---|
abstract void |
acceptDown(PlaylistVisitor visitor)
Accepts the specified playlist visitor. |
void |
acceptUp(PlaylistVisitor visitor)
Accepts the specified playlist visitor. |
AbstractTimeContainer |
getParent()
Returns the parent container of this playlist component, if any. |
int |
getRepeatCount()
Returns the number of iterations of this playlist component. |
(package private) void |
setParent(AbstractTimeContainer parent)
Initializes the parent container of this playlist component. |
void |
setRepeatCount(int repeatCount)
Initializes the number of iterations of this playlist component. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractPlaylistComponent()
Method Detail |
---|
void setParent(AbstractTimeContainer parent)
parent
- a container. May be null
.getParent()
public AbstractTimeContainer getParent()
null
if this component hasn't been added to a playlist yet.public int getRepeatCount()
setRepeatCount(int)
public void setRepeatCount(int repeatCount)
repeatCount
- a repeat count.getRepeatCount()
public abstract void acceptDown(PlaylistVisitor visitor) throws Exception
visitor
- a visitor. Shall not be null
.
NullPointerException
- if visitor
is null
.
Exception
- if any error occurs during the visit.public void acceptUp(PlaylistVisitor visitor) throws Exception
visitor
- a visitor. Shall not be null
.
NullPointerException
- if visitor
is null
.
Exception
- if any error occurs during the visit.
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |