|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Polygon
iie.projet.graphics.Polygone
Nested Class Summary |
Nested classes inherited from class java.awt.Polygon |
|
Field Summary | |
private java.awt.Color |
couleurFond
|
private java.awt.Color |
couleurTrait
|
private static int |
globalFigIndex
|
private java.lang.String |
nature
|
private java.lang.String |
tostring
|
Fields inherited from class java.awt.Polygon |
bounds, npoints, xpoints, ypoints |
Constructor Summary | |
Polygone()
|
Method Summary | |
void |
draw(java.awt.Graphics2D g)
draw. |
java.awt.Color |
getCouleurFond()
getCouleurFond. |
java.awt.Color |
getCouleurTrait()
getCouleurTrait. |
java.lang.String |
getNature()
getNature. |
void |
redim(double X,
double Y,
double dX,
double dY)
|
void |
setCouleurFond(java.awt.Color couleur)
setCouleurFond. |
void |
setCouleurTrait(java.awt.Color couleur)
setCouleurTrait. |
void |
setLibelle(java.lang.String libelle)
setLibelle. |
java.lang.String |
toString()
toString. |
Methods inherited from class java.awt.Polygon |
addPoint, contains, contains, contains, contains, contains, contains, getBoundingBox, getBounds, getBounds2D, getPathIterator, getPathIterator, inside, intersects, intersects, invalidate, reset, translate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private java.lang.String nature
private java.lang.String tostring
private java.awt.Color couleurTrait
private java.awt.Color couleurFond
private static int globalFigIndex
Constructor Detail |
public Polygone()
Method Detail |
public void redim(double X, double Y, double dX, double dY)
public void setCouleurTrait(java.awt.Color couleur)
Forme
setCouleurTrait
in interface Forme
couleur
- La nouvelle couleurpublic java.awt.Color getCouleurTrait()
Forme
getCouleurTrait
in interface Forme
public void setCouleurFond(java.awt.Color couleur)
Forme
setCouleurFond
in interface Forme
couleur
- La nouvelle couleur de fondpublic java.awt.Color getCouleurFond()
Forme
getCouleurFond
in interface Forme
public java.lang.String getNature()
Forme
getNature
in interface Forme
public java.lang.String toString()
Forme
toString
in interface Forme
public void setLibelle(java.lang.String libelle)
Forme
setLibelle
in interface Forme
libelle
- Le nouvel identifiant.public void draw(java.awt.Graphics2D g)
Forme
draw
in interface Forme
g
- Le contexte graphique dans lequel dessinerTransformation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |