|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--opale.m2d.InfoObject
|
+--opale.m2d.InfoVector
Classe contenant des informations sur les objets de type Vector2D. Elle étend la classe InfoObjet et renseigne donc sur les champs contenus dans cette dernière.
| Field Summary | |
protected int |
size
|
protected int |
symbol
|
protected int |
symbolArrow
|
| Constructor Summary | |
InfoVector()
Constructeur par défaut: symbol = 0; size = 1; symbolArrow=0 |
|
InfoVector(InfoVector inf)
Le constructeur de copie |
|
| Method Summary | |
java.lang.Object |
clone()
Crée un nouvel objet de même classe et de même contenu. |
int |
getArrow()
Renvoie l'entier définissant la forme de la flèche. |
int |
getSize()
Renvoie la taille en pixel de la fleche |
int |
getSymbol()
Renvoie l'entier définissant la forme du point |
int |
readKeyWord(java.lang.String word,
java.io.StreamTokenizer f,
OpaleSet p)
Interprète un mot clé lu dans un fichier. |
void |
setArrow(int sym)
change la forme de la fleche |
void |
setSize(int size)
change la taille de la fleche |
void |
setSymbol(int sym)
change la forme du point |
void |
writeMore(java.io.PrintWriter f,
OpaleSet p)
Ecris les informations complémentaires concernant l'objet dans un fichier. |
| Methods inherited from class opale.m2d.InfoObject |
getColor, getName, isVisible, read, setColor, setName, setUnvisible, setVisible, write |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected int symbol
protected int size
protected int symbolArrow
| Constructor Detail |
public InfoVector()
public InfoVector(InfoVector inf)
InfoVector - inf, l'information à copier| Method Detail |
public int getSymbol()
public void setSymbol(int sym)
int, - la nouvelle formepublic int getSize()
public void setSize(int size)
int - size, la nouvelle taille en pixelpublic int getArrow()
public void setArrow(int sym)
int, - la nouvelle formepublic java.lang.Object clone()
clone in class InfoObjectOutOfMemoryError - s'il n'y a pas assez de mémoire.Cloneable
public void writeMore(java.io.PrintWriter f,
OpaleSet p)
InfoObjectwriteMore in class InfoObjectopale.m2d.InfoObjectWFile - f, le fichier dans lequel il faut écrire.
public int readKeyWord(java.lang.String word,
java.io.StreamTokenizer f,
OpaleSet p)
throws java.io.IOException,
InvalidFormatException
InfoObjectreadKeyWord in class InfoObjectopale.m2d.InfoObjectString - word, le mot clé à décoder.RFile - f, le fichier en cours de lecture.Pack2D - p, le pack qui contient l'ensemble des objets 2d en cours
d'existence.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||