|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject oracle.ide.addin.ViewEvent
The ViewEvent is used to indicate that state of a View has been modified.
Field Summary | |
static int |
VIEW_ACTIVATED
Constant indicating the view was just activated. |
static int |
VIEW_CLOSED
Constant indicating the view was just closed. |
static int |
VIEW_DEACTIVATED
Constant indicating the view was just deactivated. |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
ViewEvent(View view,
int id)
Constructor. |
Method Summary | |
int |
getID()
Determine what type of change occurred. |
View |
getView()
Get the View whose state has changed. |
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_ACTIVATED
public static final int VIEW_DEACTIVATED
public static final int VIEW_CLOSED
Constructor Detail |
public ViewEvent(View view, int id)
view
- the View whose state has been altered.id
- the ID number of the event type. The value can be any of
the following constants: VIEW_ACTIVATED
, VIEW_DEACTIVATED
,
or VIEW_CLOSED
.
java.lang.IllegalArgumentException
- if the id
parameter is
not one of the predefined constants.Method Detail |
public int getID()
public View getView()
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.