Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

PointOfView
Class Document  view Document download Document.java

java.lang.Object
  extended byPointOfView.Document
All Implemented Interfaces:
java.io.Serializable

public class Document
extends java.lang.Object
implements java.io.Serializable

A Document contains - A DocumentSymbol, which knows how to display the document on the map, - A DocumentLocation, which knows where the document is.


Field Summary
private static java.lang.String PROP_SAMPLE_PROPERTY
           
private  java.beans.PropertyChangeSupport propertySupport
           
private  java.lang.String sampleProperty
           
(package private)  DocumentLocation theDocumentLocation
           
(package private)  DocumentSymbol theDocumentSymbol
           
 
Constructor Summary
Document()
          Creates new Document
Document(DocumentSymbol paramDocumentSymbol, DocumentLocation paramDocumentLocation)
           
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 DocumentLocation getDocumentLocation()
           
 DocumentSymbol getDocumentSymbol()
          Returns the DocumentSymbol associated with this Document
 java.lang.String getSampleProperty()
           
 void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 void setSampleProperty(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_SAMPLE_PROPERTY

private static final java.lang.String PROP_SAMPLE_PROPERTY
See Also:
Constant Field Values

sampleProperty

private java.lang.String sampleProperty

propertySupport

private java.beans.PropertyChangeSupport propertySupport

theDocumentSymbol

DocumentSymbol theDocumentSymbol

theDocumentLocation

DocumentLocation theDocumentLocation
Constructor Detail

Document

public Document()
Creates new Document


Document

public Document(DocumentSymbol paramDocumentSymbol,
                DocumentLocation paramDocumentLocation)
Method Detail

getSampleProperty

public java.lang.String getSampleProperty()

setSampleProperty

public void setSampleProperty(java.lang.String value)

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)

getDocumentSymbol

public DocumentSymbol getDocumentSymbol()
Returns the DocumentSymbol associated with this Document


getDocumentLocation

public DocumentLocation getDocumentLocation()