All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.java.swing.event.InternalFrameEvent
java.lang.Object
|
+----java.util.EventObject
|
+----java.awt.AWTEvent
|
+----com.sun.java.swing.event.InternalFrameEvent
- public class InternalFrameEvent
- extends AWTEvent
InternalFrameEvent: an AWTEvent which adds support for
JInternalFrame objects as the event source. This class has the
same event types as WindowEvent, although different ids are used.
Warning: serialized objects of this class will not be compatible with
future swing releases. The current serialization support is appropriate
for short term storage or RMI between Swing1.0 applications. It will
not be possible to load serialized Swing1.0 objects with future releases
of Swing. The JDK1.2 release of Swing will be the compatibility
baseline for the serialized form of Swing objects.
- See Also:
- WindowEvent, WindowListener
-
INTERNAL_FRAME_ACTIVATED
- The window activated event type.
-
INTERNAL_FRAME_CLOSED
- The window closed event.
-
INTERNAL_FRAME_CLOSING
- The "window is closing" event.
-
INTERNAL_FRAME_DEACTIVATED
- The window deactivated event type.
-
INTERNAL_FRAME_DEICONIFIED
- The window deiconified event type.
-
INTERNAL_FRAME_FIRST
- The first number in the range of ids used for window events.
-
INTERNAL_FRAME_ICONIFIED
- The window iconified event.
-
INTERNAL_FRAME_LAST
- The last number in the range of ids used for window events.
-
INTERNAL_FRAME_OPENED
- The window opened event.
-
InternalFrameEvent(JInternalFrame, int)
- Constructs a InternalFrameEvent object.
-
paramString()
- Returns a parameter string identifying this event.
INTERNAL_FRAME_FIRST
public static final int INTERNAL_FRAME_FIRST
- The first number in the range of ids used for window events.
INTERNAL_FRAME_LAST
public static final int INTERNAL_FRAME_LAST
- The last number in the range of ids used for window events.
INTERNAL_FRAME_OPENED
public static final int INTERNAL_FRAME_OPENED
- The window opened event. This event is delivered only
the first time a window is made visible.
INTERNAL_FRAME_CLOSING
public static final int INTERNAL_FRAME_CLOSING
- The "window is closing" event. This event is delivered when
the user selects "Quit" from the window's system menu. If
the program does not explicitly hide or destroy the window as
while processing this event, the window close operation will be
canceled.
INTERNAL_FRAME_CLOSED
public static final int INTERNAL_FRAME_CLOSED
- The window closed event. This event is delivered after
the window has been closed as the result of a call to hide or
destroy.
INTERNAL_FRAME_ICONIFIED
public static final int INTERNAL_FRAME_ICONIFIED
- The window iconified event. This event indicates that the window
was shrunk down to a small icon.
INTERNAL_FRAME_DEICONIFIED
public static final int INTERNAL_FRAME_DEICONIFIED
- The window deiconified event type. This event indicates that the
window has been restored to its normal size.
INTERNAL_FRAME_ACTIVATED
public static final int INTERNAL_FRAME_ACTIVATED
- The window activated event type. This event indicates that keystrokes
and mouse clicks are directed towards this window.
INTERNAL_FRAME_DEACTIVATED
public static final int INTERNAL_FRAME_DEACTIVATED
- The window deactivated event type. This event indicates that keystrokes
and mouse clicks are no longer directed to the window.
InternalFrameEvent
public InternalFrameEvent(JInternalFrame source,
int id)
- Constructs a InternalFrameEvent object.
- Parameters:
- source - the JInternalFrame object that originated the event
- id - an integer indicating the type of event
paramString
public String paramString()
- Returns a parameter string identifying this event.
This method is useful for event-logging and for debugging.
- Returns:
- a string identifying the event and its attributes
- Overrides:
- paramString in class AWTEvent
All Packages Class Hierarchy This Package Previous Next Index