01: /*
02: * MyGWT Widget Library
03: * Copyright(c) 2007, MyGWT.
04: * licensing@mygwt.net
05: *
06: * http://mygwt.net/license
07: */
08: package net.mygwt.samples.explorer.client;
09:
10: import net.mygwt.ui.client.Style;
11: import net.mygwt.ui.client.widget.ContentPanel;
12: import net.mygwt.ui.client.widget.WidgetContainer;
13:
14: public class ShadowPage extends Page {
15:
16: protected void createWidget(WidgetContainer container) {
17: ContentPanel cp = new ContentPanel(Style.HEADER);
18: cp.setText("Frame Shadow");
19: cp.setStyleAttribute("position", "absolute");
20: cp.setBounds(25, 25, 200, 100);
21: container.add(cp);
22:
23: // Shadow shadow = new Shadow(My.FRAME, 3);
24: // shadow.bind(cp);
25: //
26: // cp = new ContentPanel(My.HEADER);
27: // cp.setText("Drop Shadow");
28: // cp.setStyle("position", "absolute");
29: // cp.setBounds(25, 150, 200, 100);
30: // container.add(cp);
31: //
32: // shadow = new Shadow(My.DROP, 3);
33: // shadow.bind(cp);
34:
35: }
36:
37: }
|