package inputNumberSlider;

public class InputNumberSlider {

	
	private int inputSize;
	private int maxlength;
	private String width;
 	private String minValue;
	private String maxValue;
 	private String step;
 	private String btnLabel;
 	private String barStyle;
 	private String inputStyle;
 	private String tipStyle;
 	private String handleStyle;
 		
	private boolean disabled;
	private boolean showInput;
	private boolean rendered;
	private boolean enableManualInput;
	private boolean showBoundaryValues;
	
	public InputNumberSlider() {
		// TODO Auto-generated constructor stub
		
		inputSize = 5;
		maxlength = 3;
		width = "300px";
		minValue="10";
		maxValue="100";
		step="5";
		btnLabel="On";
		barStyle=null;
		inputStyle=null;
		tipStyle=null;
		handleStyle=null;
		disabled = false;
		showInput=true;
		rendered=true;
		enableManualInput = true;
		showBoundaryValues=true;
	}

	
	public boolean isDisabled() {
		return disabled;
	}

	public void setDisabled(boolean disabled) {
		this.disabled = disabled;
	}

	public boolean isEnableManualInput() {
		return enableManualInput;
	}

	public void setEnableManualInput(boolean enableManualInput) {
		this.enableManualInput = enableManualInput;
	}

	public int getInputSize() {
		return inputSize;
	}

	public void setInputSize(int inputSize) {
		this.inputSize = inputSize;
	}

	public String getMaxValue() {
		return maxValue;
	}

	public void setMaxValue(String maxValue) {
		this.maxValue = maxValue;
	}

	public String getMinValue() {
		return minValue;
	}

	public void setMinValue(String minValue) {
		this.minValue = minValue;
	}

	public boolean isShowBoundaryValues() {
		return showBoundaryValues;
	}

	public void setShowBoundaryValues(boolean showBoundaryValues) {
		this.showBoundaryValues = showBoundaryValues;
	}

	public boolean isShowInput() {
		return showInput;
	}

	public void setShowInput(boolean showInput) {
		this.showInput = showInput;
	}

	public String getStep() {
		return step;
	}

	public void setStep(String step) {
		this.step = step;
	}

	public String getWidth() {
		return width;
	}

	public void setWidth(String width) {
		this.width = width;
	}


	public boolean isRendered() {
		return rendered;
	}


	public void setRendered(boolean rendered) {
		this.rendered = rendered;
	}
	
	public void doStyles()
	{
		if (getBarStyle() == null) {
			setBtnLabel("Off");
			setBarStyle("barStyle");
			setInputStyle("inputStyle");
			setTipStyle("tipStyle");
			setHandleStyle("handleStyle");
		} else {
			setBarStyle(null);
			setBtnLabel("On");
			setInputStyle(null);
			setTipStyle(null);
			setHandleStyle(null);
		}
	}


	public String getBarStyle() {
		return barStyle;
	}


	public void setBarStyle(String barStyle) {
		this.barStyle = barStyle;
	}


	public String getBtnLabel() {
		return btnLabel;
	}


	public void setBtnLabel(String btnLabel) {
		this.btnLabel = btnLabel;
	}


	public String getInputStyle() {
		return inputStyle;
	}


	public void setInputStyle(String inputStyle) {
		this.inputStyle = inputStyle;
	}


	public String getTipStyle() {
		return tipStyle;
	}


	public void setTipStyle(String tipStyle) {
		this.tipStyle = tipStyle;
	}


	public String getHandleStyle() {
		return handleStyle;
	}


	public void setHandleStyle(String handleStyle) {
		this.handleStyle = handleStyle;
	}


	public int getMaxlength() {
		return maxlength;
	}


	public void setMaxlength(int maxlength) {
		this.maxlength = maxlength;
	}
	
}
