|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--opale.m2d.InfoObject | +--opale.m2d.object2d.InfoData
Classe contenant des informations graphiques sur les objets de type GData2D. Elle étend la classe InfoObjet et renseigne donc sur les champs contenus dans cette dernière.
Field Summary | |
protected int |
sizePoint
|
Constructor Summary | |
InfoData()
Constructeur par défaut: stylePoint = 0; typeGraph = 0, sizePoint = 5; |
|
InfoData(InfoData 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 |
getSizePoint()
Deprecated. Now @see |
int |
getStylePoint()
Deprecated. Now @see |
int |
getTypeGraph()
Renvoie l'entier définissant le style de tracé du nuage. |
int |
readKeyWord(java.lang.String word,
java.io.StreamTokenizer f,
OpaleSet p)
Interprète un mot clé lu dans un fichier. |
void |
setSizePoint(int size)
Deprecated. Now @see |
void |
setStylePoint(int s)
Deprecated. Now @see |
void |
setTypeGraph(int s)
change le style de tracé du nuage. |
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 sizePoint
Constructor Detail |
public InfoData()
public InfoData(InfoData inf)
InfoLine
- inf, l'information à copierMethod Detail |
public final int getStylePoint()
public final void setStylePoint(int s)
short
- le nouveau stylepublic int getSizePoint()
public void setSizePoint(int size)
int
- size, la nouvelle taille en pixelpublic final int getTypeGraph()
public final void setTypeGraph(int s)
short
- le nouveau stylepublic java.lang.Object clone()
clone
in class InfoObject
OutOfMemoryError
- s'il n'y a pas assez de mémoire.Cloneable
public final void writeMore(java.io.PrintWriter f, OpaleSet p)
InfoObject
writeMore
in class InfoObject
opale.m2d.InfoObject
WFile
- f, le fichier dans lequel il faut écrire.public final int readKeyWord(java.lang.String word, java.io.StreamTokenizer f, OpaleSet p) throws java.io.IOException, InvalidFormatException
InfoObject
readKeyWord
in class InfoObject
opale.m2d.InfoObject
String
- 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 |