opale.module2d.noyau2d
Class Legend

java.lang.Object
  |
  +--opale.module2d.noyau2d.Legend

public final class Legend
extends java.lang.Object

Cette classe représente la légende attaché à une instance de Pack2D. Elle permet de dessiner les légendes de tous les objets contenus dans le pack et qui acceptent les légendes.


Constructor Summary
Legend(Pack2D pack)
           
 
Method Summary
 void draw(Pen2D c)
           
 double getX()
           
 double getY()
           
 void setLocation(int x, int y)
           
 void setVisible(boolean b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Legend

public Legend(Pack2D pack)
Method Detail

setVisible

public final void setVisible(boolean b)

setLocation

public final void setLocation(int x,
                              int y)

getX

public final double getX()

getY

public final double getY()

draw

public final void draw(Pen2D c)