java.lang.Object
org.fudaa.ebli.trace.TraceIcone
- All Implemented Interfaces:
- javax.swing.Icon
- public class TraceIcone
- extends java.lang.Object
- implements javax.swing.Icon
Une classe de trace de points.
- Version:
- $Revision: 1.2 $ $Date: 2002/11/29 15:56:29 $ b_y $Author: deniger $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RIEN
public static final int RIEN
- See Also:
- Constant Field Values
POINT
public static final int POINT
- See Also:
- Constant Field Values
PLUS
public static final int PLUS
- See Also:
- Constant Field Values
CROIX
public static final int CROIX
- See Also:
- Constant Field Values
CARRE
public static final int CARRE
- See Also:
- Constant Field Values
CARRE_PLEIN
public static final int CARRE_PLEIN
- See Also:
- Constant Field Values
LOSANGE
public static final int LOSANGE
- See Also:
- Constant Field Values
CERCLE
public static final int CERCLE
- See Also:
- Constant Field Values
DISQUE
public static final int DISQUE
- See Also:
- Constant Field Values
type_
private int type_
taille_
private int taille_
couleur_
private java.awt.Color couleur_
TraceIcone
public TraceIcone()
TraceIcone
public TraceIcone(int _type,
int _taille)
type
public void type(int _type)
type
public int type()
taille
public void taille(int _taille)
- Correspond a la taille/2 de l'icone
taille
public int taille()
- Correspond a la taille/2 de l'icone
couleur
public void couleur(java.awt.Color _couleur)
couleur
public java.awt.Color couleur()
getIconWidth
public int getIconWidth()
- Description copied from interface:
javax.swing.Icon
- Returns the width of the icon.
- Specified by:
getIconWidth in interface javax.swing.Icon
getIconHeight
public int getIconHeight()
- Description copied from interface:
javax.swing.Icon
- Returns the height of the icon.
- Specified by:
getIconHeight in interface javax.swing.Icon
paintIcon
public void paintIcon(java.awt.Component _c,
java.awt.Graphics _g,
double _x,
double _y)
paintIcon
public void paintIcon(java.awt.Component _c,
java.awt.Graphics _g,
int _x,
int _y)
- Description copied from interface:
javax.swing.Icon
- Draws the icon at the location (x, y) on the specified graphics device.
- Specified by:
paintIcon in interface javax.swing.Icon