edu.ucla.stat.SOCR.analyses.util.parser.figures
Class Figura

java.lang.Object
  extended by edu.ucla.stat.SOCR.analyses.util.parser.figures.Figura
Direct Known Subclasses:
Cercle, CercleEPS, Linia, LiniaEPS, Marge, MargeEPS

public abstract class Figura
extends java.lang.Object

MultiDendrograms

Abstract class for all figures to be drawn in the graphical area

Since:
JDK 6.0
Author:
Justo Montiel, David Torres, Sergio Gómez, Alberto Fernández

Constructor Summary
Figura(double x, double y, int p)
           
Figura(double x, double y, int p, java.awt.Color c)
           
 
Method Summary
abstract  void dibuixa(java.awt.Graphics2D g, Orientation or)
           
abstract  void dibuixa(Orientation or)
           
 java.awt.Color getColor()
           
 Escalado getEscala()
           
 Coordenada<java.lang.Double> getPosReal()
           
 int getPrecisio()
           
 void setColor(java.awt.Color c)
           
 void setEscala(Escalado e)
           
 void setPosReal(Coordenada<java.lang.Double> pos)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Figura

public Figura(double x,
              double y,
              int p)

Figura

public Figura(double x,
              double y,
              int p,
              java.awt.Color c)
Method Detail

getPosReal

public Coordenada<java.lang.Double> getPosReal()

setPosReal

public void setPosReal(Coordenada<java.lang.Double> pos)

getColor

public java.awt.Color getColor()

setColor

public void setColor(java.awt.Color c)

setEscala

public void setEscala(Escalado e)

getEscala

public Escalado getEscala()

getPrecisio

public int getPrecisio()

dibuixa

public abstract void dibuixa(Orientation or)

dibuixa

public abstract void dibuixa(java.awt.Graphics2D g,
                             Orientation or)