oracle.ide.addin
Class ViewCreationEvent
java.lang.Object
java.util.EventObject
oracle.ide.addin.ViewCreationEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class ViewCreationEvent
- extends java.util.EventObject
The ViewCreationEvent
is used to indicate that a View has
been created.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Method Summary |
int |
getId()
Determine what type of change occurred. |
View |
getView()
Gets the View that has been created. |
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_CREATED
public static final int VIEW_CREATED
- See Also:
- Constant Field Values
ViewCreationEvent
public ViewCreationEvent(View view,
int id)
- Constructor.
- Parameters:
view
- the View that has been created.id
- the event id.
getView
public View getView()
- Gets the View that has been created. This is functionally equivalent to
casting the result of getSource() to a View.
- Returns:
- the view.
getId
public int getId()
- Determine what type of change occurred.
- Returns:
- the id of the event.
Copyright ©1997, 2003, Oracle. All rights reserved.