Exemplo n.º 1
0
 private NumSelector getIterNumTextField() {
   if (ivjIterNumTextField == null) {
     try {
       ivjIterNumTextField = new NumSelector();
       ivjIterNumTextField.setName("IterNumTextField");
       ivjIterNumTextField.setNumber(500.0);
       ivjIterNumTextField.setRangeExpr("[1,+Infinity)");
       // user code begin {1}
       // user code end
     } catch (Throwable ivjExc) {
       // user code begin {2}
       // user code end
       handleException(ivjExc);
     }
   }
   return ivjIterNumTextField;
 }
Exemplo n.º 2
0
 private NumSelector getFixedTextField() {
   if (ivjFixedTextField == null) {
     try {
       ivjFixedTextField = new NumSelector();
       ivjFixedTextField.setName("FixedTextField");
       ivjFixedTextField.setNumber(0.1);
       ivjFixedTextField.setPrecision(6);
       // user code begin {1}
       // user code end
     } catch (Throwable ivjExc) {
       // user code begin {2}
       // user code end
       handleException(ivjExc);
     }
   }
   return ivjFixedTextField;
 }
Exemplo n.º 3
0
 private NumSelector getRelParamTextField() {
   if (ivjRelParamTextField == null) {
     try {
       ivjRelParamTextField = new NumSelector();
       ivjRelParamTextField.setName("RelParamTextField");
       ivjRelParamTextField.setNumber(1.0E-6);
       ivjRelParamTextField.setPrecision(1);
       ivjRelParamTextField.setNumberFormatType(NumberFormatTypes.SCIENTIFIC);
       ivjRelParamTextField.setRangeExpr("(0, 1)");
       // user code begin {1}
       // user code end
     } catch (Throwable ivjExc) {
       // user code begin {2}
       // user code end
       handleException(ivjExc);
     }
   }
   return ivjRelParamTextField;
 }