|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--jeroen.film.Film
Deze klasse representeert een film in de ruimste zin van het woord. Titel en jaar (met eventueel een achtervoegsel (suffix) als I en II) identificeren een film uniek.
| Constructor Summary | |
Film(DataInput source)
|
|
Film(String s)
Maakt een nieuw Film-object aan, met de gegevens van de meegegeven String. |
|
| Method Summary | |
int |
compareTo(Object o2)
Sorteert op basis van film-id. |
DocRep |
getDocRep()
Creëert on-the-fly een Document Representative op basis van de plots opgeslagen in dit filmobject. |
int |
getIndex()
|
int |
getJaar()
|
Icon |
getListIcon()
Icon om ervoor weer te geven. |
String |
getTitel()
|
VeronicaFilm |
getVeronicaFilm()
|
Plots |
plots()
Geeft de plots die bij deze film horen. |
void |
setIndex(int index)
|
void |
setScore(int score)
Beoordeel dit Object met score |
void |
setVeronicaFilm(VeronicaFilm vf)
|
static Comparator |
titelComparator()
|
void |
toDataOutput(DataOutput target)
Schrijf dit object naar een DataOutput. |
String |
toHTML()
De html-tekst voor in de viewer. |
String |
toHTMLforVFilm()
Probeert er geen zender gegevens bij te zoeken, want dat zou in een oneindige lus resulteren. |
String |
toListHTML()
De html-tekst om weer te geven. |
String |
toListHTMLforVFilm()
Probeert er geen zender gegevens bij te zoeken, want dat zou in een oneindige lus resulteren. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Film(String s)
"xxxxx" = a television series "xxxxx" (mini) = a television mini-series (running time: >= 240 minutes!) (TV) = TV movie, or made for cable movie (V) = made for video movie (this category does NOT include TV episodes repackaged for video, guest appearances in variety/comedy specials released on video, or self-help/physical fitness videos) (VG) = video game (with voices/simulations of actors/actresses)
Year data is added for ALL titles (year of first public screening)
If years are not enough to distinguish between titles roman numbers are added:
Example:
The data must be in the ISO-8859-1 character set for West European languages if the title contains non ASCII (accented) characters.
IllegalArgumentException - als de titel geen film is, maar een tvserie of computerspelletje oid.
public Film(DataInput source)
throws IOException
| Method Detail |
public void toDataOutput(DataOutput target)
throws IOException
LeesSchrijfbaartoDataOutput in interface LeesSchrijfbaarpublic Plots plots()
public String toString()
toString in class Objectpublic Icon getListIcon()
HTMLListViewablegetListIcon in interface HTMLListViewablepublic String toListHTML()
HTMLListViewabletoListHTML in interface HTMLListViewablepublic String toHTML()
HTMLViewabletoHTML in interface HTMLViewablepublic String toHTMLforVFilm()
public String toListHTMLforVFilm()
public void setScore(int score)
ScoorbaarscoresetScore in interface Scoorbaarjeroen.film.ui.Scoorbaarscore - de score, van 0 tot 10.public void setVeronicaFilm(VeronicaFilm vf)
public VeronicaFilm getVeronicaFilm()
public DocRep getDocRep()
public void setIndex(int index)
setIndex in interface Indexedpublic int getIndex()
getIndex in interface Indexedpublic int compareTo(Object o2)
compareTo in interface Comparablepublic static Comparator titelComparator()
public String getTitel()
public int getJaar()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||