@Override protected void handleEvents(final String EVENT_TYPE) {
        super.handleEvents(EVENT_TYPE);
        if ("VISIBILITY".equals(EVENT_TYPE)) {
            title.setVisible(clock.isTitleVisible());
            title.setManaged(clock.isTitleVisible());
            text.setVisible(clock.isTextVisible());
            text.setManaged(clock.isTextVisible());
            dateText.setVisible(clock.isDateVisible());
            dateText.setManaged(clock.isDateVisible());
            dateNumber.setVisible(clock.isDateVisible());
            dateNumber.setManaged(clock.isDateVisible());
            second.setVisible(clock.isSecondsVisible());
            second.setManaged(clock.isSecondsVisible());
        } else if ("SECTION".equals(EVENT_TYPE)) {
            sections          = clock.getSections();
            highlightSections = clock.isHighlightSections();
            sectionsVisible   = clock.getSectionsVisible();
            areas             = clock.getAreas();
            highlightAreas    = clock.isHighlightAreas();
            areasVisible      = clock.getAreasVisible();
            redraw();
        }
    }
@ Override protected void handleEvents ( final String EVENT_TYPE ) { super . handleEvents ( EVENT_TYPE ) ; if ( "VISIBILITY" . equals ( EVENT_TYPE ) ) { title . setVisible ( clock . isTitleVisible ( ) ) ; title . setManaged ( clock . isTitleVisible ( ) ) ; text . setVisible ( clock . isTextVisible ( ) ) ; text . setManaged ( clock . isTextVisible ( ) ) ; dateText . setVisible ( clock . isDateVisible ( ) ) ; dateText . setManaged ( clock . isDateVisible ( ) ) ; dateNumber . setVisible ( clock . isDateVisible ( ) ) ; dateNumber . setManaged ( clock . isDateVisible ( ) ) ; second . setVisible ( clock . isSecondsVisible ( ) ) ; second . setManaged ( clock . isSecondsVisible ( ) ) ; } else if ( "SECTION" . equals ( EVENT_TYPE ) ) { sections = clock . getSections ( ) ; highlightSections = clock . isHighlightSections ( ) ; sectionsVisible = clock . getSectionsVisible ( ) ; areas = clock . getAreas ( ) ; highlightAreas = clock . isHighlightAreas ( ) ; areasVisible = clock . getAreasVisible ( ) ; redraw ( ) ; } }
******************** Methods *******************************************