01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17:
18: /**
19: * @author Vadim L. Bogdanov
20: * @version $Revision$
21: */package javax.swing.event;
22:
23: import java.awt.AWTEvent;
24:
25: import javax.swing.JInternalFrame;
26:
27: public class InternalFrameEvent extends AWTEvent {
28: public static final int INTERNAL_FRAME_ACTIVATED = 25554;
29:
30: public static final int INTERNAL_FRAME_CLOSED = 25551;
31:
32: public static final int INTERNAL_FRAME_CLOSING = 25550;
33:
34: public static final int INTERNAL_FRAME_DEACTIVATED = 25555;
35:
36: public static final int INTERNAL_FRAME_DEICONIFIED = 25553;
37:
38: public static final int INTERNAL_FRAME_FIRST = 25549;
39:
40: public static final int INTERNAL_FRAME_ICONIFIED = 25552;
41:
42: public static final int INTERNAL_FRAME_LAST = 25555;
43:
44: public static final int INTERNAL_FRAME_OPENED = 25549;
45:
46: public InternalFrameEvent(final JInternalFrame source, final int id) {
47: super (source, id);
48: }
49:
50: public JInternalFrame getInternalFrame() {
51: return (JInternalFrame) getSource();
52: }
53:
54: public String paramString() {
55: return super.paramString();
56: }
57: }
|