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

Variable Index

 o INTERNAL_FRAME_ACTIVATED
The window activated event type.
 o INTERNAL_FRAME_CLOSED
The window closed event.
 o INTERNAL_FRAME_CLOSING
The "window is closing" event.
 o INTERNAL_FRAME_DEACTIVATED
The window deactivated event type.
 o INTERNAL_FRAME_DEICONIFIED
The window deiconified event type.
 o INTERNAL_FRAME_FIRST
The first number in the range of ids used for window events.
 o INTERNAL_FRAME_ICONIFIED
The window iconified event.
 o INTERNAL_FRAME_LAST
The last number in the range of ids used for window events.
 o INTERNAL_FRAME_OPENED
The window opened event.

Constructor Index

 o InternalFrameEvent(JInternalFrame, int)
Constructs a InternalFrameEvent object.

Method Index

 o paramString()
Returns a parameter string identifying this event.

Variables

 o INTERNAL_FRAME_FIRST
 public static final int INTERNAL_FRAME_FIRST
The first number in the range of ids used for window events.

 o INTERNAL_FRAME_LAST
 public static final int INTERNAL_FRAME_LAST
The last number in the range of ids used for window events.

 o 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.

 o 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.

 o 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.

 o 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.

 o 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.

 o 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.

 o 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.

Constructors

 o 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

Methods

 o 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