public class ViewEvent
extends java.util.EventObject
Red |
Modifier and Type | Field and Description |
---|---|
static int |
VIEW_CLOSED
The view closed event type
|
static int |
VIEW_CLOSING
The view closing event type
|
static int |
VIEW_DESELECTED
The view deselected event type
|
static int |
VIEW_HIDDEN
The view hidden event type
|
static int |
VIEW_MOVED
The view moved event type
|
static int |
VIEW_RESIZED
The view resized event type
|
static int |
VIEW_SELECTED
The view selected event type
|
static int |
VIEW_SHOWN
The view shown event type
|
Constructor and Description |
---|
ViewEvent(javax.swing.JComponent view,
int id)
Create a view event with the specified component and type.
|
Modifier and Type | Method and Description |
---|---|
int |
getID()
Return the event type.
|
javax.swing.JComponent |
getView()
Return the component/view that the event refers to
|
public static final int VIEW_CLOSING
public static final int VIEW_CLOSED
public static final int VIEW_DESELECTED
public static final int VIEW_HIDDEN
public static final int VIEW_MOVED
public static final int VIEW_RESIZED
public static final int VIEW_SELECTED
public static final int VIEW_SHOWN