1 16 package com.google.gwt.sample.dynatable.client; 17 18 import com.google.gwt.core.client.EntryPoint; 19 import com.google.gwt.user.client.ui.RootPanel; 20 21 25 public class DynaTable implements EntryPoint { 26 27 public void onModuleLoad() { 28 RootPanel slot = RootPanel.get("calendar"); 31 if (slot != null) { 32 SchoolCalendarWidget calendar = new SchoolCalendarWidget(15); 33 slot.add(calendar); 34 35 slot = RootPanel.get("days"); 38 if (slot != null) { 39 DayFilterWidget filter = new DayFilterWidget(calendar); 40 slot.add(filter); 41 } 42 } 43 } 44 } 45 | Popular Tags |