javax.swing.event
public class InternalFrameEvent extends AWTEvent
Field Summary | |
---|---|
static int | INTERNAL_FRAME_ACTIVATED
Internal frame activated event. |
static int | INTERNAL_FRAME_CLOSED
Internal frame closed event. |
static int | INTERNAL_FRAME_CLOSING
Internal frame closing event. |
static int | INTERNAL_FRAME_DEACTIVATED
Internal frame deactivated event. |
static int | INTERNAL_FRAME_DEICONIFIED
Internal frame deiconifed event. |
static int | INTERNAL_FRAME_FIRST
Internal frame frame first event. |
static int | INTERNAL_FRAME_ICONIFIED
Internal frame iconified event. |
static int | INTERNAL_FRAME_LAST
Internal frame last event. |
static int | INTERNAL_FRAME_OPENED
Internal frame opened event. |
Constructor Summary | |
---|---|
InternalFrameEvent(JInternalFrame source, int id)
Creates a new JInternalFrameEvent instance.
|
Method Summary | |
---|---|
JInternalFrame | getInternalFrame()
Returns the JInternalFrame component that is the source for
this event.
|
String | paramString()
Returns a string that indicates the event id. |
JInternalFrameEvent
instance.
Parameters: source the source of this event (null
not permitted). id the event ID of this event (see the constants defined by this
class).
Throws: IllegalArgumentException if source
is
null
.
JInternalFrame
component that is the source for
this event.
Returns: The source.
Since: 1.3
Returns: A string that indicates the event id.