public class InternalFrameEvent extends AWTEvent
JInternalFrame
component.Modifier and Type | Field and Description |
---|---|
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.
|
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, TEXT_EVENT_MASK, WINDOW_EVENT_MASK, WINDOW_FOCUS_EVENT_MASK, WINDOW_STATE_EVENT_MASK
source
Constructor and Description |
---|
InternalFrameEvent(JInternalFrame source,
int id)
Creates a new
JInternalFrameEvent instance. |
Modifier and Type | Method and Description |
---|---|
JInternalFrame |
getInternalFrame()
Returns the
JInternalFrame component that is the source for
this event. |
String |
paramString()
Returns a string that indicates the event id.
|
getSource
public static final int INTERNAL_FRAME_ACTIVATED
public static final int INTERNAL_FRAME_CLOSED
public static final int INTERNAL_FRAME_CLOSING
public static final int INTERNAL_FRAME_DEACTIVATED
public static final int INTERNAL_FRAME_DEICONIFIED
public static final int INTERNAL_FRAME_FIRST
public static final int INTERNAL_FRAME_ICONIFIED
public static final int INTERNAL_FRAME_LAST
public static final int INTERNAL_FRAME_OPENED
public InternalFrameEvent(JInternalFrame source, int id)
JInternalFrameEvent
instance.source
- the source of this event (null
not permitted).id
- the event ID of this event (see the constants defined by this
class).IllegalArgumentException
- if source
is
null
.public JInternalFrame getInternalFrame()
JInternalFrame
component that is the source for
this event.public String paramString()
AWTEvent.toString()
method.paramString
in class AWTEvent