|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--picture.DefaultPresentation
Constructor Summary | |
DefaultPresentation()
|
Method Summary | |
Presentation |
createPresentation(Picture p)
Erzeugt eine Presentation dieses Types auf dem Bild p. |
Presentation |
createPresentation(Picture p,
java.lang.String s)
Erzeugt eine Presentation dieses Types auf dem Bild p |
java.lang.String |
getName()
Gibt den Namen des PresentationTypes zurück |
boolean |
isCompatible(Picture mlp)
Prüft, ob es möglich ist, eine Presentation dieses Typs auf p zu erzeugen, ohne daß ein Fehler auftritt und liefert in diesem Fall true. false wird z.B. zurückgegeben, wenn versucht wird, eine ColorPresentation auf einem Bild mit nur zwei Layern zu erzeugen. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultPresentation()
Method Detail |
public boolean isCompatible(Picture mlp)
PresentationType
isCompatible
in interface PresentationType
picture.PresentationType
p:
- Prüfbildpublic java.lang.String getName()
PresentationType
getName
in interface PresentationType
picture.PresentationType
public Presentation createPresentation(Picture p)
PresentationType
createPresentation
in interface PresentationType
picture.PresentationType
PictureException,
- falls !this.isCompatible(p)public Presentation createPresentation(Picture p, java.lang.String s)
PresentationType
createPresentation
in interface PresentationType
picture.PresentationType
PictureException,
- falls das Bild inkompatibel zu diesem Presentationtype ist.IllegalArgumentException,
- falls der Parameterstring ungueltig ist
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |