|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--opale.module2d.noyau2d.InfoObject | +--opale.module2d.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()
Renvoie la taille en pixel du point |
int |
getStylePoint()
Renvoie l'entier définissant le style de tracé d'un point. |
int |
getTypeGraph()
Renvoie l'entier définissant le style de tracé du nuage. |
int |
readKeyWord(java.lang.String word,
RFile f,
Pack2D p)
Interprète un mot clé lu dans un fichier. |
void |
setSizePoint(int size)
change la taille du point |
void |
setStylePoint(int s)
change le style de tracé d'un point. |
void |
setTypeGraph(int s)
change le style de tracé du nuage. |
void |
writeFileMore(WFile f,
Pack2D p)
Ecris les informations complémentaires concernant l'objet dans un fichier. |
Methods inherited from class opale.module2d.noyau2d.InfoObject |
getColor,
getName,
isVisible,
readFile,
setColor,
setName,
setUnvisible,
setVisible,
writeFile |
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()
Cloneable
public final void writeFileMore(WFile f, Pack2D p)
WFile
- f, le fichier dans lequel il faut écrire.public final int readKeyWord(java.lang.String word, RFile f, Pack2D p) throws java.io.IOException, MalformedFileException
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 |