public class ViewEvent extends EventObject
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
|
source
Constructor and Description |
---|
ViewEvent(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.
|
JComponent |
getView()
Return the component/view that the event refers to
|
getSource, toString
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
public ViewEvent(JComponent view, int id)
public int getID()
public JComponent getView()
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.