oracle.ide.addin
Class ViewEvent
java.lang.Object
java.util.EventObject
oracle.ide.addin.ViewEvent
- All Implemented Interfaces:
- java.io.Serializable
- public final class ViewEvent
- extends java.util.EventObject
The ViewEvent is used to indicate that state of a View has been modified.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
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 |
VIEW_ACTIVATED
public static final int VIEW_ACTIVATED
- See Also:
- Constant Field Values
VIEW_DEACTIVATED
public static final int VIEW_DEACTIVATED
- See Also:
- Constant Field Values
VIEW_CLOSED
public static final int VIEW_CLOSED
- See Also:
- Constant Field Values
ViewEvent
public ViewEvent(View view,
int id)
- Constructor.
- Parameters:
view
- the View whose state has been altered.id
- the ID number of the event type.
getID
public int getID()
- Determine what type of change occurred.
- Returns:
- the id of the event.
getView
public View getView()
- Get the View whose state has changed. This is functionally equivalent
to casting the result of getSource() to a View object.
- Returns:
- the View whose state has changed.
Copyright ©1997, 2003, Oracle. All rights reserved.