Package org.odlabs.wiquery.ui.datepicker

Examples of org.odlabs.wiquery.ui.datepicker.DatePickerNumberOfMonths


   
    form.add(new DatePicker<Date>("startDate", Date.class).setShowOn(ShowOnEnum.FOCUS));
   
    form.add(new DatePicker<Date>("endDate", Date.class)
        .setShowOn(ShowOnEnum.BOTH)
        .setNumberOfMonths(new DatePickerNumberOfMonths((short)2))
        .setButtonText("<div class=\"ui-icon ui-icon-calendar\"></div>"));
   
    InlineDatePicker<Date> inlineDatePicker = new InlineDatePicker<Date>("inlineDatePicker");
    add(inlineDatePicker);
  }
View Full Code Here

TOP

Related Classes of org.odlabs.wiquery.ui.datepicker.DatePickerNumberOfMonths

Copyright © 2018 www.massapicom. 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.