|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
diva.gui.ViewEvent
public class ViewEvent
A view event is generated when a view of a Document is iconified, selected, closed, and so on.
| Red |
| Field Summary | |
|---|---|
private int |
_id
The event type. |
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 |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ViewEvent(javax.swing.JComponent view,
int id)
Create a view event with the specified component and type. |
|
| Method Summary | |
|---|---|
int |
getID()
Return the event type. |
javax.swing.JComponent |
getView()
Return the component/view that the event refers to |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
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
private int _id
| Constructor Detail |
|---|
public ViewEvent(javax.swing.JComponent view,
int id)
| Method Detail |
|---|
public int getID()
public javax.swing.JComponent getView()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||