Examples of showTimeProperty()


Examples of jfxtras.scene.control.CalendarPicker.showTimeProperty()

    lPopup.setAutoHide(true);
    lPopup.setHideOnEscape(true);
    BorderPane lBorderPane = new BorderPane();
    lBorderPane.getStyleClass().add(this.getClass().getSimpleName() + "_popup");
    lBorderPane.setCenter(calendarPicker);
    calendarPicker.showTimeProperty().set( getSkinnable().getShowTime() );
   
    // because the Java 8 DateTime classes use the CalendarPicker, we need to add some specific CSS classes here to support seamless CSS
    if (getSkinnable().getStyleClass().contains(LocalDateTextField.class.getSimpleName())) {
      calendarPicker.getStyleClass().addAll(LocalDatePicker.class.getSimpleName());
    }
View Full Code Here

Examples of jfxtras.scene.control.CalendarPicker.showTimeProperty()

    }
    if (calendarText != null) {
      // we parse here and not in setCalendar because we need the value of showTime, and that may be specified after the calendar attribute
      try {
        Calendar lCalendar = Calendar.getInstance();
        if (lCalendarPicker.showTimeProperty().get()) {
          lCalendar.setTime( YMDHMSSimpleDateFormat.parse(calendarText) );
        }
        else {
          lCalendar.setTime( YMDSimpleDateFormat.parse(calendarText) );
        }
View Full Code Here
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.