code: protected void updateStyles() {
          DayEntryView view = getSkinnable();
          Entry<?> entry = getEntry();
  
          Calendar calendar = entry.getCalendar();
          if (entry instanceof DraggedEntry) {
              calendar = ((DraggedEntry) entry).getOriginalCalendar();
          }
  
          // when the entry gets removed from its calendar then the calendar can
          // be null
          if (calendar == null) {
              return;
          }
  
          view.getStyleClass().setAll("default-style-entry",
                  calendar.getStyle() + "-entry");
  
          if (entry.isRecurrence()) {
              view.getStyleClass().add("recurrence"); //$NON-NLS-1$
          }
  
          startTimeLabel.getStyleClass().setAll("start-time-label",
                  "default-style-entry-time-label",
                  calendar.getStyle() + "-entry-time-label");
          titleLabel.getStyleClass().setAll("title-label",
                  "default-style-entry-title-label",
                  calendar.getStyle() + "-entry-title-label");
      }
docs: This methods updates the styles of the node according to the entry
  settings.