javax.swing.event
Class InternalFrameEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--java.awt.AWTEvent
              |
              +--javax.swing.event.InternalFrameEvent
All Implemented Interfaces:
Serializable
public class InternalFrameEvent
extends AWTEvent

An AWTEvent that adds support for JInternalFrame objects as the event source. This class has the same event types as WindowEvent, although different IDs are used. Help on handling internal frame events is in How to Write an Internal Frame Listener, a section in The Java Tutorial.

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 applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeansTM has been added to the java.beans package. Please see XMLEncoder.

See Also:
WindowEvent, WindowListener, JInternalFrame, InternalFrameListener

 

Field Summary

static int INTERNAL_FRAME_ACTIVATED
    The "window activated" event type.
static int INTERNAL_FRAME_CLOSED
    The "window closed" event.
static int INTERNAL_FRAME_CLOSING
    The "window is closing" event.
static int INTERNAL_FRAME_DEACTIVATED
    The "window deactivated" event type.
static int INTERNAL_FRAME_DEICONIFIED
    The "window deiconified" event type.
static int INTERNAL_FRAME_FIRST
    The first number in the range of IDs used for internal frame events.
static int INTERNAL_FRAME_ICONIFIED
    The "window iconified" event.
static int INTERNAL_FRAME_LAST
    The last number in the range of IDs used for internal frame events.
static int INTERNAL_FRAME_OPENED
    The "window opened" event.
 
Fields inherited from class java.awt.AWTEvent
ACTION_EVENT_MASK, ADJUSTMENT_EVENT_MASK, COMPONENT_EVENT_MASK, consumed, CONTAINER_EVENT_MASK, FOCUS_EVENT_MASK, HIERARCHY_BOUNDS_EVENT_MASK, HIERARCHY_EVENT_MASK, id, INPUT_METHOD_EVENT_MASK, INVOCATION_EVENT_MASK, ITEM_EVENT_MASK, KEY_EVENT_MASK, MOUSE_EVENT_MASK, MOUSE_MOTION_EVENT_MASK, MOUSE_WHEEL_EVENT_MASK, PAINT_EVENT_MASK, RESERVED_ID_MAX,