ludc
2024-09-14 36c2449aec5b51e5ed4e5c6841154b746060e09a
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
package com.vci.client.logon.base;
 
import java.awt.Dialog;
import java.awt.Frame;
import java.awt.GraphicsConfiguration;
import java.awt.HeadlessException;
 
import com.vci.client.ClientSession;
import com.vci.client.ui.swing.components.VCIJDialog;
 
public class BaseJDialog extends VCIJDialog{
 
 
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
 
    /**
     * @throws HeadlessException
     */
    public BaseJDialog() throws HeadlessException {
        // TODO Auto-generated constructor stub
    }
 
    /**
     * @param owner
     * @throws HeadlessException
     */
    public BaseJDialog(Frame owner) throws HeadlessException {
        super(owner);
        // TODO Auto-generated constructor stub
    }
 
    /**
     * @param owner
     * @throws HeadlessException
     */
    public BaseJDialog(Dialog owner) throws HeadlessException {
        super(owner);
        // TODO Auto-generated constructor stub
    }
 
    /**
     * @param owner
     * @param modal
     * @throws HeadlessException
     */
    public BaseJDialog(Frame owner, boolean modal) throws HeadlessException {
        super(owner, modal);
        // TODO Auto-generated constructor stub
    }
 
    /**
     * @param owner
     * @param title
     * @throws HeadlessException
     */
    public BaseJDialog(Frame owner, String title) throws HeadlessException {
        super(owner, title);
        // TODO Auto-generated constructor stub
    }
 
    /**
     * @param owner
     * @param modal
     * @throws HeadlessException
     */
    public BaseJDialog(Dialog owner, boolean modal) throws HeadlessException {
        super(owner, modal);
        // TODO Auto-generated constructor stub
    }
 
    /**
     * @param owner
     * @param title
     * @throws HeadlessException
     */
    public BaseJDialog(Dialog owner, String title) throws HeadlessException {
        super(owner, title);
        // TODO Auto-generated constructor stub
    }
 
    /**
     * @param owner
     * @param title
     * @param modal
     * @throws HeadlessException
     */
    public BaseJDialog(Frame owner, String title, boolean modal)
            throws HeadlessException {
        super(owner, title, modal);
        // TODO Auto-generated constructor stub
    }
 
    /**
     * @param owner
     * @param title
     * @param modal
     * @throws HeadlessException
     */
    public BaseJDialog(Dialog owner, String title, boolean modal)
            throws HeadlessException {
        super(owner, title, modal);
        // TODO Auto-generated constructor stub
    }
 
    /**
     * @param owner
     * @param title
     * @param modal
     * @param gc
     */
    public BaseJDialog(Frame owner, String title, boolean modal, GraphicsConfiguration gc) {
        super(owner, title, modal, gc);
        // TODO Auto-generated constructor stub
    }
 
    /**
     * @param owner
     * @param title
     * @param modal
     * @param gc
     * @throws HeadlessException
     */
    public BaseJDialog(Dialog owner, String title, boolean modal,
            GraphicsConfiguration gc) throws HeadlessException {
        super(owner, title, modal, gc);
        // TODO Auto-generated constructor stub
    }
    
    /**
     * 显示模态窗口
     */
    @Override
    public void setVisible(boolean b) {
        // 取得clientSession的参数,进行判断,如果超时就不显示模态窗口,否则就显示。
        super.setVisible(!ClientSession.isTimeOutFlag() && b);
    }
}