|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcdox.data.VideoData
Represents the data for a video cd.
Field Summary |
Fields inherited from interface cdox.edit.CDCoverStandards |
ALL, CDBACK_SIDE, CDBACK_SIDE_SIZE, CDBACK_SIZE, CDBOOKLET, CDBOOKLET_SIZE, CDFRONT, CDFRONT_SIZE, CDSIDE_SIZE, CDX, GIF, JPG, PNG |
Constructor Summary | |
VideoData()
|
Method Summary | |
void |
fillBack(Cover c)
This method will insert a title at the sides and the description, title and subtitle. |
void |
fillBooklet(Cover c)
This method will insert the title and a subtitle as well as the description. |
void |
fillFront(Cover c)
This method will insert a title and a subtitle. |
java.lang.String |
getDescription()
Returns a descriptive string of the CD type that this Data object represents. |
int |
getSupportedVersion()
Must return the version of the CDox file format that supports this data type. |
void |
reconstruct(org.w3c.dom.Element desc)
Reads its data from the DOM subtree beginning with the given Element. |
void |
setDescription(java.lang.String s)
Sets the description. |
void |
setFormat(java.lang.String s)
Sets the format. |
void |
setLength(java.util.Date d)
Sets the length. |
void |
setSubtitle(java.lang.String s)
Sets the subtitle. |
void |
setTitle(java.lang.String s)
Sets the title. |
void |
storeData(org.w3c.dom.Element e)
This method stores the data of this element in a DOM tree. |
boolean |
userFillData(java.awt.Frame parent)
This method should let the user fill in appropriate values as data. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VideoData()
Method Detail |
public boolean userFillData(java.awt.Frame parent)
Data
userFillData
in interface Data
parent
- the parent frame.
public int getSupportedVersion()
Data
getSupportedVersion
in interface Data
public void storeData(org.w3c.dom.Element e)
Data
<description>
. The type attribute of this
element must be set, and the child elements must be created according to the XML
Schema from the CDox format.
storeData
in interface Data
e
- the <description>
element.public void reconstruct(org.w3c.dom.Element desc)
Data
reconstruct
in interface Data
desc
- the top node of the DOM subtree.public java.lang.String getDescription()
Data
getDescription
in interface Data
public void setTitle(java.lang.String s)
s
- the new title.public void setSubtitle(java.lang.String s)
s
- the new subtitle.public void setFormat(java.lang.String s)
s
- the new format.public void setDescription(java.lang.String s)
s
- the new description.public void setLength(java.util.Date d)
d
- the new length.public void fillFront(Cover c) throws java.lang.IllegalArgumentException
fillFront
in interface Data
c
- the cover where to add new elements.
java.lang.IllegalArgumentException
- if the cover is no front side.public void fillBack(Cover c) throws java.lang.IllegalArgumentException
fillBack
in interface Data
c
- the cover where to add new elements.
java.lang.IllegalArgumentException
- if the cover is no back side.public void fillBooklet(Cover c) throws java.lang.IllegalArgumentException
fillBooklet
in interface Data
c
- the cover where to add new elements.
java.lang.IllegalArgumentException
- if the cover is no booklet.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |