Package utn.frsf.gabinete.fw.generator

Source Code of utn.frsf.gabinete.fw.generator.InputRango

package utn.frsf.gabinete.fw.generator;

import utn.frsf.gabinete.fw.generator.html.Html5ElementRango;
import utn.frsf.gabinete.fw.generator.html.Html5FormElement;

public class InputRango extends Input{

  private int min;
  private int max;
 
  public InputRango() {
     this.tipoElemento= new Html5ElementRango(this);
    this.max=100;
    this.min = 0;
  }
 
  public InputRango(String id) {
    this();
    this.id=id;
    this.etiqueta = id;
  }
 
  public InputRango (String id,Html5FormElement tipo){
    this(id);
    this.tipoElemento = tipo;
  }
 
  public int getMin() {
    return min;
  }
  public void setMin(int min) {
    this.min = min;
  }
  public int getMax() {
    return max;
  }
  public void setMax(int max) {
    this.max = max;
  }
 
 
}
TOP

Related Classes of utn.frsf.gabinete.fw.generator.InputRango

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.