medidas
Class Perimetro

java.lang.Object
  extended by medidas.Medida
      extended by medidas.Perimetro
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class Perimetro
extends Medida

Classe que representa o perímetro de um objeto em centímetros

See Also:
Medidas, Medida

Field Summary
 
Fields inherited from class medidas.Medida
medidaJaExtraida
 
Constructor Summary
Perimetro()
           
 
Method Summary
protected  void extraiMedidaDeFato()
          Extrai o perímetro com base no contorno e na escala
 double pegaPerimetro()
           
 java.lang.String pegaValor()
          Devolve o valor do perímetro em centímetros
 java.lang.String toString()
           
 void zeraMedidaEspecifica()
          Esta função deve zerar a medida real
 
Methods inherited from class medidas.Medida
actionPerformed, extraiMedida, zeraMedida
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Perimetro

public Perimetro()
Method Detail

pegaPerimetro

public double pegaPerimetro()

extraiMedidaDeFato

protected void extraiMedidaDeFato()
Extrai o perímetro com base no contorno e na escala

Specified by:
extraiMedidaDeFato in class Medida
See Also:
ExtratorDeMedidas

zeraMedidaEspecifica

public void zeraMedidaEspecifica()
Description copied from class: Medida
Esta função deve zerar a medida real

Specified by:
zeraMedidaEspecifica in class Medida

toString

public java.lang.String toString()
Specified by:
toString in class Medida
See Also:
Controlador

pegaValor

public java.lang.String pegaValor()
Devolve o valor do perímetro em centímetros

Specified by:
pegaValor in class Medida