Author: ayanul
Date: 2007-10-25 05:15:11 -0400 (Thu, 25 Oct 2007)
New Revision: 3518
Modified:
trunk/test-applications/facelets/src/main/java/inputNumberSlider/InputNumberSlider.java
Log:
Modified:
trunk/test-applications/facelets/src/main/java/inputNumberSlider/InputNumberSlider.java
===================================================================
---
trunk/test-applications/facelets/src/main/java/inputNumberSlider/InputNumberSlider.java 2007-10-24
19:40:02 UTC (rev 3517)
+++
trunk/test-applications/facelets/src/main/java/inputNumberSlider/InputNumberSlider.java 2007-10-25
09:15:11 UTC (rev 3518)
@@ -55,7 +55,7 @@
}
public void changeListener(ValueChangeListener event) {
- System.out.println(event.toString());
+ System.out.println("valueChangeListener " + event.toString());
}
public boolean isDisabled() {
@@ -273,4 +273,70 @@
this.value = value;
}
+ public void bTest1(){
+ setMinValue("0");
+ setMaxValue("9");
+ setInputSize(1);
+ setInputPosition("right");
+ setEnableManualInput(true);
+ setValue("3");
+ setShowInput(true);
+ setStep("1");
+ setShowToolTip(true);
+ setShowBoundaryValues(true);
+ setShowInput(true);
+ }
+
+ public void bTest2(){
+ setMinValue("1000");
+ setMaxValue("99999");
+ setInputSize(10);
+ setInputPosition("left");
+ setEnableManualInput(false);
+ setValue("99999");
+ setShowInput(true);
+ setStep("50");
+ setShowToolTip(false);
+ setShowBoundaryValues(true);
+ setShowInput(true);
+ }
+
+ public void bTest3(){
+ setMinValue("101");
+ setMaxValue("203");
+ setInputSize(4);
+ setInputPosition("left");
+ setEnableManualInput(false);
+ setValue("102");
+ setShowInput(true);
+ setStep("2");
+ setShowToolTip(false);
+ setShowBoundaryValues(true);
+ }
+
+ public void bTest4(){
+ setMinValue("10");
+ setMaxValue("12");
+ setInputSize(2);
+ setInputPosition("left");
+ setEnableManualInput(false);
+ setValue("102");
+ setShowInput(false);
+ setStep("2");
+ setShowToolTip(false);
+ setShowBoundaryValues(true);
+ }
+
+ public void bTest5(){
+ setMinValue("-99999");
+ setMaxValue("99999");
+ setInputSize(15);
+ setInputPosition("right");
+ setEnableManualInput(true);
+ setValue("102");
+ setShowInput(true);
+ setStep("2");
+ setShowToolTip(false);
+ setShowBoundaryValues(false);
+ }
}