All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bradrydzewski.gwt.calendar.theme.google.client.GoogleAppointmentTheme Maven / Gradle / Ivy

Go to download

a personal calendar widget similar to iCal, Outlook, Google Calendar, etc

The newest version!
package com.bradrydzewski.gwt.calendar.theme.google.client;

import java.util.HashMap;
import java.util.Map;

import com.bradrydzewski.gwt.calendar.client.AppointmentStyle;

public class GoogleAppointmentTheme {
                                                                           //border,   background
    public static final GoogleAppointmentStyle BLUE   = new GoogleAppointmentStyle("#2952A3","#668CD9");
    public static final GoogleAppointmentStyle RED    = new GoogleAppointmentStyle("#A32929","#D96666");
    public static final GoogleAppointmentStyle PINK   = new GoogleAppointmentStyle("#B1365F","#E67399");
    public static final GoogleAppointmentStyle PURPLE = new GoogleAppointmentStyle("#7A367A","#B373B3");
    public static final GoogleAppointmentStyle DARK_PURPLE = new GoogleAppointmentStyle("#5229A3","#8C66D9");
    public static final GoogleAppointmentStyle STEELE_BLUE = new GoogleAppointmentStyle("#29527A","#29527A");
    public static final GoogleAppointmentStyle LIGHT_BLUE  = new GoogleAppointmentStyle("#1B887A","#59BFB3");
    public static final GoogleAppointmentStyle TEAL        = new GoogleAppointmentStyle("#28754E","#65AD89");
    public static final GoogleAppointmentStyle LIGHT_TEAL  = new GoogleAppointmentStyle("#4A716C","#85AAA5");
    public static final GoogleAppointmentStyle GREEN       = new GoogleAppointmentStyle("#0D7813","#4CB052");
    public static final GoogleAppointmentStyle LIGHT_GREEN = new GoogleAppointmentStyle("#528800","#8CBF40");
    public static final GoogleAppointmentStyle YELLOW_GREEN = new GoogleAppointmentStyle("#88880E","#BFBF4D");
    public static final GoogleAppointmentStyle YELLOW       = new GoogleAppointmentStyle("#AB8B00","#E0C240");
    public static final GoogleAppointmentStyle ORANGE       = new GoogleAppointmentStyle("#BE6D00","#F2A640");
    public static final GoogleAppointmentStyle RED_ORANGE   = new GoogleAppointmentStyle("#B1440E","#E6804D");
    public static final GoogleAppointmentStyle LIGHT_BROWN  = new GoogleAppointmentStyle("#865A5A","#BE9494");
    public static final GoogleAppointmentStyle LIGHT_PURPLE = new GoogleAppointmentStyle("#705770","#A992A9");
    public static final GoogleAppointmentStyle GREY         = new GoogleAppointmentStyle("#4E5D6C","#8997A5");
    public static final GoogleAppointmentStyle BLUE_GREY    = new GoogleAppointmentStyle("#5A6986","#94A2bE");
    public static final GoogleAppointmentStyle YELLOW_GREY  = new GoogleAppointmentStyle("#6E6E41","#A7A77D");
    public static final GoogleAppointmentStyle BROWN        = new GoogleAppointmentStyle("#8D6F47","#C4A883");
    public static final GoogleAppointmentStyle DEFAULT = BLUE;
    public static final Map STYLES = new HashMap();
    
    static {
		STYLES.put(AppointmentStyle.BLUE, BLUE);
		STYLES.put(AppointmentStyle.BLUE_GREY, BLUE_GREY);
		STYLES.put(AppointmentStyle.BROWN, BROWN);
		STYLES.put(AppointmentStyle.DARK_PURPLE, DARK_PURPLE);
		STYLES.put(AppointmentStyle.GREEN, GREEN);
		STYLES.put(AppointmentStyle.GREY, GREY);
		STYLES.put(AppointmentStyle.LIGHT_BLUE, LIGHT_BLUE);
		STYLES.put(AppointmentStyle.LIGHT_BROWN, LIGHT_BROWN);
		STYLES.put(AppointmentStyle.LIGHT_GREEN, LIGHT_GREEN);
		STYLES.put(AppointmentStyle.LIGHT_PURPLE, LIGHT_PURPLE);
		STYLES.put(AppointmentStyle.LIGHT_TEAL, LIGHT_TEAL);
		STYLES.put(AppointmentStyle.ORANGE, ORANGE);
		STYLES.put(AppointmentStyle.PINK, PINK);
		STYLES.put(AppointmentStyle.PURPLE, PURPLE);
		STYLES.put(AppointmentStyle.RED, RED);
		STYLES.put(AppointmentStyle.RED_ORANGE, RED_ORANGE);
		STYLES.put(AppointmentStyle.STEELE_BLUE, STEELE_BLUE);
		STYLES.put(AppointmentStyle.TEAL, TEAL);
		STYLES.put(AppointmentStyle.YELLOW, YELLOW);
		STYLES.put(AppointmentStyle.YELLOW_GREEN, YELLOW_GREEN);
		STYLES.put(AppointmentStyle.YELLOW_GREY, YELLOW_GREY);
		STYLES.put(AppointmentStyle.DEFAULT, DEFAULT);
    }
    
    private GoogleAppointmentTheme() { }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy