com.ibm.productivity.tools.ui.views
Class RichDocumentViewEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.ibm.productivity.tools.ui.views.RichDocumentViewEvent
All Implemented Interfaces:
java.io.Serializable

public class RichDocumentViewEvent
extends java.util.EventObject

Defines the event for RichDocumentView.

See Also:
RichDocumentView, Serialized Form

Field Summary
static int Type_Post_Document_Close
          Event Type - After a document is closed in a RichDocumentView.
static int Type_Post_Document_Open
          Event Type - After a document is opened in a RichDocumentView.
static int Type_Post_View_Close
          Event Type - After a RichDocumentView is closed.
static int Type_Post_View_Open
          Event Type - After a RichDocumentView opened.
static int Type_Pre_Document_Close
          Event Type - Before a document is about to be closed in a RichDocumentView.
static int Type_Pre_Document_Open
          Event Type - Before a document is about to be opened in a RichDocumentView.
static int Type_Pre_View_Close
          Event Type - Before a RichDocumentView is closed.
 
Constructor Summary
RichDocumentViewEvent(java.lang.Object source, int type)
          Constructs a new event.
 
Method Summary
 int getType()
          Gets the event type.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Type_Pre_Document_Open

public static final int Type_Pre_Document_Open
Event Type - Before a document is about to be opened in a RichDocumentView.

See Also:
Constant Field Values

Type_Post_Document_Open

public static final int Type_Post_Document_Open
Event Type - After a document is opened in a RichDocumentView.

See Also:
Constant Field Values

Type_Pre_Document_Close

public static final int Type_Pre_Document_Close
Event Type - Before a document is about to be closed in a RichDocumentView.

See Also:
Constant Field Values

Type_Post_Document_Close

public static final int Type_Post_Document_Close
Event Type - After a document is closed in a RichDocumentView.

See Also:
Constant Field Values

Type_Post_View_Open

public static final int Type_Post_View_Open
Event Type - After a RichDocumentView opened.

See Also:
Constant Field Values

Type_Pre_View_Close

public static final int Type_Pre_View_Close
Event Type - Before a RichDocumentView is closed.

See Also:
Constant Field Values

Type_Post_View_Close

public static final int Type_Post_View_Close
Event Type - After a RichDocumentView is closed.

See Also:
Constant Field Values
Constructor Detail

RichDocumentViewEvent

public RichDocumentViewEvent(java.lang.Object source,
                             int type)
Constructs a new event.

Parameters:
source - - The source of the event. Typically, it should be an instance of RichDocumentView.
type - - The event type. See constants defined in this class.
Method Detail

getType

public int getType()
Gets the event type.

Returns:
the event type.