public class TitleDescription extends Object implements Serializable
Constructor and Description |
---|
TitleDescription(long duration,
String name,
boolean menu)
Create a new title description.
|
Modifier and Type | Method and Description |
---|---|
long |
getDuration()
Get the duration.
|
String |
getName()
Get the name.
|
boolean |
isMenu()
Does the title represent a menu.
|
String |
toString() |
public TitleDescription(long duration, String name, boolean menu)
duration
- chapter duration (milliseconds)name
- chapter namemenu
- true
if the title represents a menu; false
otherwisepublic long getDuration()
public String getName()
public boolean isMenu()
true
if the title represents a menu; false
otherwiseCopyright © 2009–2015 Caprica Software Limited. All rights reserved.