Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.fudaa.ebli.trace
Class TraceIcone  view TraceIcone download TraceIcone.java

java.lang.Object
  extended byorg.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 $

Field Summary
static int CARRE
           
static int CARRE_PLEIN
           
static int CERCLE
           
private  java.awt.Color couleur_
           
static int CROIX
           
static int DISQUE
           
static int LOSANGE
           
static int PLUS
           
static int POINT
           
static int RIEN
           
private  int taille_
           
private  int type_
           
 
Constructor Summary
TraceIcone()
           
TraceIcone(int _type, int _taille)
           
 
Method Summary
 java.awt.Color couleur()
           
 void couleur(java.awt.Color _couleur)
           
 int getIconHeight()
          Returns the height of the icon.
 int getIconWidth()
          Returns the width of the icon.
 void paintIcon(java.awt.Component _c, java.awt.Graphics _g, double _x, double _y)
           
 void paintIcon(java.awt.Component _c, java.awt.Graphics _g, int _x, int _y)
          Draws the icon at the location (x, y) on the specified graphics device.
 int taille()
          Correspond a la taille/2 de l'icone
 void taille(int _taille)
          Correspond a la taille/2 de l'icone
 int type()
           
 void type(int _type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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_
Constructor Detail

TraceIcone

public TraceIcone()

TraceIcone

public TraceIcone(int _type,
                  int _taille)
Method Detail

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