com.tensegrity.gui.document.event
Class AbstractDocumentEvent

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

public abstract class AbstractDocumentEvent
extends java.lang.Object
implements DocumentRootEvent

the abstract root for documents.

Version:
$Id: AbstractDocumentEvent.java,v 1.4 2004/06/29 09:23:31 sr Exp $
Author:
Stepan Rutz

Constructor Summary
AbstractDocumentEvent(MDIComponent mdicomponent, Document document, java.lang.String description)
          Constructor for AbstractDocumentEvent.
 
Method Summary
 java.lang.String getDescription()
          Returns the description of the event.
 Document getDocument()
          Returns the document that caused the event.
 MDIComponent getMDIComponent()
          Returns the mdicomponent that caused the event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDocumentEvent

public AbstractDocumentEvent(MDIComponent mdicomponent,
                             Document document,
                             java.lang.String description)
Constructor for AbstractDocumentEvent.

Parameters:
mdicomponent - the MDIComponent in which the event occured.
document - the Document that caused the event.
description - string describing the event.
Method Detail

getDescription

public java.lang.String getDescription()
Description copied from interface: DocumentRootEvent
Returns the description of the event.

Specified by:
getDescription in interface DocumentRootEvent
Returns:
String a String describing this event.

getDocument

public Document getDocument()
Description copied from interface: DocumentRootEvent
Returns the document that caused the event.

Specified by:
getDocument in interface DocumentRootEvent
Returns:
the document that caused the event.

getMDIComponent

public MDIComponent getMDIComponent()
Description copied from interface: DocumentRootEvent
Returns the mdicomponent that caused the event.

Specified by:
getMDIComponent in interface DocumentRootEvent
Returns:
the mdicomponent that caused the event.


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