Extension SDK

oracle.ide.addin
Class ViewCreationEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byoracle.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

Field Summary
static int VIEW_CREATED
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ViewCreationEvent(View view, int id)
          Constructor.
 
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
 

Field Detail

VIEW_CREATED

public static final int VIEW_CREATED
See Also:
Constant Field Values
Constructor Detail

ViewCreationEvent

public ViewCreationEvent(View view,
                         int id)
Constructor.

Parameters:
view - the View that has been created.
id - the event id.
Method Detail

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.

Extension SDK

 

Copyright ©1997, 2003, Oracle. All rights reserved.