gvsig-tools / org.gvsig.tools / library / trunk / org.gvsig.tools / org.gvsig.tools.swing / org.gvsig.tools.swing.api / src / main / java / org / gvsig / tools / swing / api / windowmanager / WindowManager_v2.java @ 1754
History | View | Annotate | Download (819 Bytes)
1 | 1283 | jjdelcerro | |
---|---|---|---|
2 | package org.gvsig.tools.swing.api.windowmanager; |
||
3 | |||
4 | import java.awt.Image; |
||
5 | import javax.swing.JComponent; |
||
6 | |||
7 | |||
8 | public interface WindowManager_v2 extends WindowManager { |
||
9 | |||
10 | public final static int BUTTON_OK = 1; |
||
11 | public final static int BUTTON_CANCEL = 2; |
||
12 | public final static int BUTTON_APPLY = 4; |
||
13 | |||
14 | public final static int BUTTONS_OK = BUTTON_OK; |
||
15 | public final static int BUTTONS_OK_CANCEL = BUTTON_OK|BUTTON_CANCEL; |
||
16 | public final static int BUTTONS_APPLY_OK_CANCEL = BUTTON_OK|BUTTON_CANCEL|BUTTON_APPLY; |
||
17 | |||
18 | public Dialog createDialog(JComponent component, String title, String header, int buttons); |
||
19 | |||
20 | public void showWindow(JComponent componet, String tittle, MODE mode, Image icon); |
||
21 | |||
22 | 1754 | jjdelcerro | public void showWindow(JComponent component, String title, MODE mode, Image icon, int flags); |
23 | |||
24 | 1283 | jjdelcerro | } |