42 |
import javax.swing.JInternalFrame; |
import javax.swing.JInternalFrame; |
43 |
|
|
44 |
/** |
/** |
|
* InternalFrameEvent |
|
45 |
* @author Andrew Selkirk |
* @author Andrew Selkirk |
46 |
*/ |
*/ |
47 |
public class InternalFrameEvent extends AWTEvent { |
public class InternalFrameEvent extends AWTEvent |
48 |
|
{ |
49 |
//------------------------------------------------------------- |
private static final serialVersionUID = 9195444901064686684L; |
50 |
// Constants -------------------------------------------------- |
|
51 |
//------------------------------------------------------------- |
/** |
52 |
|
* Internal frame activated event |
53 |
/** |
*/ |
54 |
* Internal frame activated event |
public static int INTERNAL_FRAME_ACTIVATED = 25554; |
55 |
*/ |
|
56 |
public static int INTERNAL_FRAME_ACTIVATED = 25554; |
/** |
57 |
|
* Internal frame closed event |
58 |
/** |
*/ |
59 |
* Internal frame closed event |
public static int INTERNAL_FRAME_CLOSED = 25551; |
60 |
*/ |
|
61 |
public static int INTERNAL_FRAME_CLOSED = 25551; |
/** |
62 |
|
* Internal frame closing event |
63 |
/** |
*/ |
64 |
* Internal frame closing event |
public static int INTERNAL_FRAME_CLOSING = 25550; |
65 |
*/ |
|
66 |
public static int INTERNAL_FRAME_CLOSING = 25550; |
/** |
67 |
|
* Internal frame deactivated event |
68 |
/** |
*/ |
69 |
* Internal frame deactivated event |
public static int INTERNAL_FRAME_DEACTIVATED = 25555; |
70 |
*/ |
|
71 |
public static int INTERNAL_FRAME_DEACTIVATED = 25555; |
/** |
72 |
|
* Internal frame deiconifed event |
73 |
/** |
*/ |
74 |
* Internal frame deiconifed event |
public static int INTERNAL_FRAME_DEICONIFIED = 25553; |
75 |
*/ |
|
76 |
public static int INTERNAL_FRAME_DEICONIFIED = 25553; |
/** |
77 |
|
* Internal frame frame first event |
78 |
/** |
*/ |
79 |
* Internal frame frame first event |
public static int INTERNAL_FRAME_FIRST = 25549; |
80 |
*/ |
|
81 |
public static int INTERNAL_FRAME_FIRST = 25549; |
/** |
82 |
|
* Internal frame iconified event |
83 |
/** |
*/ |
84 |
* Internal frame iconified event |
public static int INTERNAL_FRAME_ICONIFIED = 2552; |
85 |
*/ |
|
86 |
public static int INTERNAL_FRAME_ICONIFIED = 2552; |
/** |
87 |
|
* Internal frame last event |
88 |
/** |
*/ |
89 |
* Internal frame last event |
public static int INTERNAL_FRAME_LAST = 25555; |
90 |
*/ |
|
91 |
public static int INTERNAL_FRAME_LAST = 25555; |
/** |
92 |
|
* Internal frame opened event |
93 |
/** |
*/ |
94 |
* Internal frame opened event |
public static int INTERNAL_FRAME_OPENED = 25550; |
95 |
*/ |
|
96 |
public static int INTERNAL_FRAME_OPENED = 25550; |
/** |
97 |
|
* Creates a <code>JInternalFrameEvent</code> object. |
98 |
|
* |
99 |
//------------------------------------------------------------- |
* @param source The source of this event. |
100 |
// Initialization --------------------------------------------- |
* @param id Then event ID of this event. |
101 |
//------------------------------------------------------------- |
*/ |
102 |
|
public InternalFrameEvent(JInternalFrame source, int id) |
103 |
/** |
{ |
104 |
* Constructor InternalFrameEvent |
super(source, id); |
105 |
* @param source JInternalFrame |
} |
106 |
* @param id Event ID |
|
107 |
*/ |
/** |
108 |
public InternalFrameEvent(JInternalFrame source, int id) { |
* Returns the <code>JInternalFrame</code> object stored in this event. |
109 |
super(source, id); |
*/ |
110 |
} // InternalFrameEvent() |
public JInternalFrame getInternalFrame() |
111 |
|
{ |
112 |
|
return source; |
113 |
} // InternalFrameEvent |
} |
114 |
|
} |