|
|
@ -22,7 +22,7 @@ import java.awt.event.ActionListener; |
|
|
|
* @version 10.0 |
|
|
|
* @version 10.0 |
|
|
|
* Created by hades on 2020/1/8 |
|
|
|
* Created by hades on 2020/1/8 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public class TipDialog extends JDialog implements ActionListener { |
|
|
|
public abstract class TipDialog extends JDialog implements ActionListener { |
|
|
|
|
|
|
|
|
|
|
|
private UIButton endButton; |
|
|
|
private UIButton endButton; |
|
|
|
private UIButton cancelButton; |
|
|
|
private UIButton cancelButton; |
|
|
@ -80,13 +80,9 @@ public class TipDialog extends JDialog implements ActionListener { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
protected void endEvent() { |
|
|
|
protected abstract void endEvent(); |
|
|
|
// do nothing
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected void cancelEvent() { |
|
|
|
protected abstract void cancelEvent(); |
|
|
|
// do nothing
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void actionPerformed(ActionEvent e) { |
|
|
|
public void actionPerformed(ActionEvent e) { |
|
|
|