calendarText.getStyleClass().add("Calendar");
calendarText.setX( padding ); // align left
calendarText.setY( calendarText.prefHeight(0) );
Rectangle lClip = new Rectangle(0,0,0,0);
lClip.widthProperty().bind(widthProperty().subtract(padding));
lClip.heightProperty().bind(heightProperty());
calendarText.setClip(lClip);
getChildren().add(calendarText);
// react to changes in the calendar by updating the label
dayPane.calendarObjectProperty.addListener( (observable) -> {
String lLabel = DayHeaderPane.this.dayPane.calendarObjectProperty.get() == null ? "" : dayOfWeekDateFormat.format(DayHeaderPane.this.dayPane.calendarObjectProperty.get().getTime()) + " " + dateFormat.format(DayHeaderPane.this.dayPane.calendarObjectProperty.get().getTime());