com.tensegrity.gui.document.event
Class DocumentEvent

java.lang.Object
  extended bycom.tensegrity.gui.document.event.AbstractDocumentEvent
      extended bycom.tensegrity.gui.document.event.DocumentEvent
All Implemented Interfaces:
DocumentRootEvent

public class DocumentEvent
extends AbstractDocumentEvent

The Document event class

Version:
$Id: DocumentEvent.java,v 1.6 2003/11/20 11:08:15 sr Exp $
Author:
Stepan Rutz

Field Summary
static int DOCUMENT_ADDED
          Event-id: The document has been added.
static int DOCUMENT_MODEL_CHANGED
          Event-id: When the underlying model of a document has been changed.
static int DOCUMENT_REMOVED
          Event-id: The document has been removed.
static int DOCUMENT_SELECTED
          Event-id: When a document is marked as selected.
static int DOCUMENT_UNSELECTED
          Event-id: When a document is no longer being marked as selected.
static int PRE_DOCUMENT_ADD
          Event-id: Before the document will be added.
static int PRE_DOCUMENT_REMOVE
          Event-id: Just before the document will be removed.
 
Constructor Summary
DocumentEvent(int eventid, MDIComponent mdicomponent, Document document)
          Creates a new DocumentEvent.
 
Methods inherited from class com.tensegrity.gui.document.event.AbstractDocumentEvent
getDescription, getDocument, getMDIComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DOCUMENT_ADDED

public static final int DOCUMENT_ADDED
Event-id: The document has been added.

See Also:
Constant Field Values

DOCUMENT_REMOVED

public static final int DOCUMENT_REMOVED
Event-id: The document has been removed.

See Also:
Constant Field Values

PRE_DOCUMENT_ADD

public static final int PRE_DOCUMENT_ADD
Event-id: Before the document will be added.

See Also:
Constant Field Values

PRE_DOCUMENT_REMOVE

public static final int PRE_DOCUMENT_REMOVE
Event-id: Just before the document will be removed.

See Also:
Constant Field Values

DOCUMENT_SELECTED

public static final int DOCUMENT_SELECTED
Event-id: When a document is marked as selected.

See Also:
Constant Field Values

DOCUMENT_UNSELECTED

public static final int DOCUMENT_UNSELECTED
Event-id: When a document is no longer being marked as selected.

See Also:
Constant Field Values

DOCUMENT_MODEL_CHANGED

public static final int DOCUMENT_MODEL_CHANGED
Event-id: When the underlying model of a document has been changed.

See Also:
Constant Field Values
Constructor Detail

DocumentEvent

public DocumentEvent(int eventid,
                     MDIComponent mdicomponent,
                     Document document)
Creates a new DocumentEvent.

Parameters:
eventid - the id of the event.
mdicomponent - the underlying mdiComponent which creates this event.
document - the document itself.


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.