package com.sbs.jpm.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;
import com.smartgwt.client.util.SC;
import com.smartgwt.client.widgets.calendar.Calendar;

public class TestCase implements EntryPoint {

	private MyCalendar panel;

	public void onModuleLoad() {

		SC.showConsole();

		panel = new MyCalendar();
		panel.setWidth100();
		panel.setHeight100();

		RootPanel.get().add(panel);
	}

	public class MyCalendar extends Calendar {

		public MyCalendar() {
			this.setWidth(500);
			this.setHeight(220);
			this.setShowDayView(false);
			this.setShowWeekView(false);
			this.setShowOtherDays(false);
			this.setShowDayHeaders(false);
			this.setShowDatePickerButton(false);
			this.setShowAddEventButton(false);
			this.setDisableWeekends(false);
			this.setShowDateChooser(false);
			this.setCanCreateEvents(false);
		}
	}
}
