1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 package org.utgenome.gwt.utgb.client.ui;
26
27 import com.google.gwt.user.client.ui.Widget;
28
29
30
31
32
33
34 public interface Frame {
35
36 public static int BUTTON_CONFIG = 1;
37 public static int BUTTON_ADJUST = 1 << 1;
38 public static int BUTTON_MINIMIZE = 1 << 2;
39 public static int BUTTON_CLOSE = 1 << 3;
40
41 public void setConfigurable(boolean enable);
42 public void setAdjustable(boolean enable);
43 public void setMinimizable(boolean enable);
44 public void setClosable(boolean enable);
45 public void setVerticallyRisizable(boolean enable);
46 public void setHorizontallyRisizable(boolean enable);
47
48 public boolean isConfigurable();
49 public boolean isAdjustable();
50 public boolean isMinimizable();
51 public boolean isClosable();
52 public boolean isVerticallyResizable();
53 public boolean isHorizontallyResizable();
54
55 public void setSize(int width, int height);
56 public void setWidth(int width);
57 public void setHeight(int height);
58
59 public void setVisible(boolean visible);
60
61 public Widget getTitleBar();
62
63
64 }
65
66
67
68