com.bradrydzewski.gwt.calendar.client.dayview
Class DayViewStyleManager

java.lang.Object
  extended by com.bradrydzewski.gwt.calendar.client.dayview.DayViewStyleManager
Direct Known Subclasses:
GoogleDayViewStyleManager, ICalDayViewStyleManager

public abstract class DayViewStyleManager
extends Object


Field Summary
protected static String APPOINTMENT_STYLE
           
protected static String APPOINTMENT_STYLE_MULTIDAY
           
protected static String APPOINTMENT_STYLE_SELECTED
           
protected static String BACKGROUND_COLOR_STYLE_ATTRIBUTE
           
protected static String BACKGROUND_IMAGE_STYLE_ATTRIBUTE
           
protected static String BORDER_COLOR_STYLE_ATTRIBUTE
           
protected static String COLOR_STYLE_ATTRIBUTE
           
 
Constructor Summary
DayViewStyleManager()
           
 
Method Summary
 void applyStyle(AppointmentWidget widget, boolean selected)
           
protected abstract  ThemeAppointmentStyle getDefaultViewAppointmentStyleForTheme()
           
protected abstract  ThemeAppointmentStyle getViewAppointmentStyleForTheme(Appointment appointment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APPOINTMENT_STYLE

protected static final String APPOINTMENT_STYLE
See Also:
Constant Field Values

APPOINTMENT_STYLE_SELECTED

protected static final String APPOINTMENT_STYLE_SELECTED
See Also:
Constant Field Values

APPOINTMENT_STYLE_MULTIDAY

protected static final String APPOINTMENT_STYLE_MULTIDAY
See Also:
Constant Field Values

BACKGROUND_COLOR_STYLE_ATTRIBUTE

protected static final String BACKGROUND_COLOR_STYLE_ATTRIBUTE
See Also:
Constant Field Values

BACKGROUND_IMAGE_STYLE_ATTRIBUTE

protected static final String BACKGROUND_IMAGE_STYLE_ATTRIBUTE
See Also:
Constant Field Values

BORDER_COLOR_STYLE_ATTRIBUTE

protected static final String BORDER_COLOR_STYLE_ATTRIBUTE
See Also:
Constant Field Values

COLOR_STYLE_ATTRIBUTE

protected static final String COLOR_STYLE_ATTRIBUTE
See Also:
Constant Field Values
Constructor Detail

DayViewStyleManager

public DayViewStyleManager()
Method Detail

applyStyle

public void applyStyle(AppointmentWidget widget,
                       boolean selected)

getViewAppointmentStyleForTheme

protected abstract ThemeAppointmentStyle getViewAppointmentStyleForTheme(Appointment appointment)

getDefaultViewAppointmentStyleForTheme

protected abstract ThemeAppointmentStyle getDefaultViewAppointmentStyleForTheme()


Copyright © 2012. All Rights Reserved.