|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--opale.tools.OpaleSet | +--opale.m2d.Pack2D
Cette classe permet de contenir un certain nombre d'objets de type Object2D
et de repères de type OIJ
.
Elle permet ainsi de tracer tous ces objets avec l'appel unique à la méthode draw(Pen2D c)
, de suavegarder ces objets dans un fichier dde données et de les relire.
Constructor Summary | |
Pack2D()
|
Method Summary | |
void |
draw(Pen2D c)
Dessine tous les objets contenus dans le pack. |
Legend |
legend()
Retourne l'instance de la légende associé à ce pack. |
Methods inherited from class opale.tools.OpaleSet |
add, add, clear, contains, contains, getNameObject, getObject, getUserName, getUserNameObject, isEmpty, objects, read, read, remove, size, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Pack2D()
Method Detail |
public Legend legend()
public void draw(Pen2D c)
Pen2D
- c, l'instance de Pen2D pour dessiner.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |