Uses of Interface
com.tensegrity.gui.document.Document

Packages that use Document
com.tensegrity.application This package contains the main interfaces and meta classes for the skeleton framework.  
com.tensegrity.gui.document Contains the interfaces for document types and the framework which maintains such documents.  
com.tensegrity.gui.document.event This package contains all implementation and interface related to all sorts of Document related events such as DocumentEvent, -Multiplexer, -Listener and -VetoExceptions. 
com.tensegrity.gui.document.persistence   
com.tensegrity.gui.graphdocument This package contains the GraphDocument interface, a Factory for creating such documents as well as a definition for a panel which may hold such documents.  
com.tensegrity.gui.graphdocument.persistence   
com.tensegrity.gui.swing.control.tree This package contains the implementation for an Object Tree for VisualGraph objects. 
com.tensegrity.gui.swing.control.tree.strategy   
com.tensegrity.gui.swing.document This package contains all of the current document implementations for use in a swing-based environment.  
com.tensegrity.gui.swt.document   
com.tensegrity.gui.template   
com.tensegrity.skeleton.commands The command package contains all the predefined commands of the skeleton, like Save, Print, Quit, Zoom, etc. 
com.tensegrity.skeleton.swing The Swing based implementation of the skeleton framework. 
com.tensegrity.skeleton.swt   
com.tensegrity.skeleton.swt.commands   
 

Uses of Document in com.tensegrity.application
 

Methods in com.tensegrity.application that return Document
abstract  Document ApplicationFrame.newDocument()
          Creates a new Document.
abstract  Document ApplicationFrame.openDocument(java.io.File file)
          This method is responsible to load a document from a specified file location.
abstract  Document ApplicationFrame.openDocument(java.io.InputStream is, java.lang.String name)
          This method is responsible to load a document from a specified input stream.
 

Methods in com.tensegrity.application with parameters of type Document
abstract  void ApplicationFrame.configureEmptyDocument(Document document)
          Configures a newly created document.
abstract  void ApplicationFrame.configureDocumentView(Document document, int documenttype)
          Configures the view of a document.
abstract  void ApplicationFrame.configureNewDocument(Document document)
          This method should be overridden in order to perform a post-creation configuration of the passed document.
abstract  void ApplicationFrame.saveDocument(Document document, java.io.File file)
          This method is responsible to save a given document to a specified file location.
abstract  void ApplicationFrame.saveDocument(Document document, java.io.OutputStream os)
          This method is responsible to save a given document to a specified output stream.
 

Uses of Document in com.tensegrity.gui.document
 

Classes in com.tensegrity.gui.document that implement Document
 class AbstractDocument
           Class AbstractDocument implements functionality common to all Document implementations.
 

Methods in com.tensegrity.gui.document that return Document
 Document MDIDelegate.getActiveDocument()
           
 Document MDIComponent.getActiveDocument()
          Returns the active document.
 

Methods in com.tensegrity.gui.document with parameters of type Document
 void MDIDelegate.addDocument(Document document)
           
 void MDIDelegate.removeDocument(Document document)
           
 void MDIDelegate.setActiveDocument(Document document)
           
 void MDIDelegate.renameDocument(Document document, java.lang.String name)
           
 void MDIDelegate.indicateModifiedDocument(Document document)
           
 void MDIDelegate.indicateUnmodifiedDocument(Document document)
           
 void MDIDelegate.fireDocumentDataChanged(Document document)
           
static DocumentSettingsProvider.DocSetting DocumentSettingsProvider.newDocSetting(Document gDoc, java.lang.String docKey, java.util.Map prefValue2DocValue)
          Creates a new DocSetting using the given information.
 void MDIComponent.addDocument(Document document)
          Adds the given Document to the container.
 void MDIComponent.removeDocument(Document document)
          Closes the given document and removes it from the mdi container.
 void MDIComponent.setActiveDocument(Document document)
          Sets the active document.
 void MDIComponent.renameDocument(Document document, java.lang.String name)
          Renames a document.
 void MDIComponent.indicateModifiedDocument(Document document)
          The mdi component shall indicate visually that the given document was modified.
 void MDIComponent.indicateUnmodifiedDocument(Document document)
          The mdi component shall indicate visually that the given document was not modified.
 void MDIComponent.fireDocumentDataChanged(Document document)
          Fires the document data changed event from the outside world.
 

Constructors in com.tensegrity.gui.document with parameters of type Document
DocumentSettingsProvider(Document gDoc, java.util.Map mapPref2Doc, java.lang.String preferenceFileName, java.lang.Class refClass)
          Constructor
 

Uses of Document in com.tensegrity.gui.document.event
 

Methods in com.tensegrity.gui.document.event that return Document
 Document AbstractDocumentEvent.getDocument()
           
 Document DocumentRootEvent.getDocument()
          Returns the document that caused the event.
 

Constructors in com.tensegrity.gui.document.event with parameters of type Document
AbstractDocumentEvent(MDIComponent mdicomponent, Document document, java.lang.String description)
          Constructor for AbstractDocumentEvent.
DocumentEvent(int eventid, MDIComponent mdicomponent, Document document)
          Creates a new DocumentEvent.
 

Uses of Document in com.tensegrity.gui.document.persistence
 

Methods in com.tensegrity.gui.document.persistence with parameters of type Document
 boolean DocumentWriter.writeDocument(Document doc, java.io.OutputStream output)
          Writes the data from the given document into the output stream.
 boolean DocumentReader.readDocument(Document doc, java.io.InputStream input)
          Reads data from the input stream to build the contents of the given (empty) document.
 

Uses of Document in com.tensegrity.gui.graphdocument
 

Subinterfaces of Document in com.tensegrity.gui.graphdocument
 interface GraphDocument
           Interface GraphDocument represents the document type for a persisted Graph which, together with its views, can be queried from its parent GraphPanel.
 

Methods in com.tensegrity.gui.graphdocument with parameters of type Document
static java.util.Map GraphDocumentSettingsProvider.getDefaultPref2DocMap(Document gDoc)
          Returns a map containing all document settings provided by the framework.
 

Constructors in com.tensegrity.gui.graphdocument with parameters of type Document
GraphDocumentSettingsProvider(Document gDoc, java.util.Map mapPref2Doc, java.lang.String preferenceFileName, java.lang.Class refClass)
          Constructor
 

Uses of Document in com.tensegrity.gui.graphdocument.persistence
 

Methods in com.tensegrity.gui.graphdocument.persistence with parameters of type Document
protected  void GraphDocumentWriter.writeDocumentToStream(Document doc, AttributeList list, java.io.OutputStream output)
          Writes the given AttributeList to the output stream.
protected  void GraphDocumentWriter.prepareForWriting(Document doc)
          Makes preparations depending on the settings in the given document.
 boolean GraphDocumentReader.readDocument(Document doc, java.io.InputStream input)
           
 

Uses of Document in com.tensegrity.gui.swing.control.tree
 

Methods in com.tensegrity.gui.swing.control.tree that return Document
protected  Document TreeOutliner.getLastSelected()
          Returns the last selected Document property
protected  Document TreeOutliner.getLastUnSelected()
          Returns the last unselected Document property
protected  Document TreeOutliner.getActiveDocument()
          Retrieves the ActiveDocument property
 

Methods in com.tensegrity.gui.swing.control.tree with parameters of type Document
protected  void TreeOutliner.setLastSelected(Document lastSelected)
          Sets the last selected Document property
protected  void TreeOutliner.setLastUnSelected(Document lastUnSelected)
          Sets the last unselected Document property
protected  void TreeOutliner.setActiveDocument(Document activeDocument)
          Sets the ActiveDocument property
 AbstractTreeStrategy TreeOutliner.getDefaultStrategy(Document doc)
          Returns the defaultStrategy associated to the passed document Important When overridding this method it is important to set the default strategy using setDefaultStrategy if the default strategy required did not previously exist and is herein created.
protected  AbstractTreeStrategy TreeOutliner.getStrategyAssociatedToDocument(Document doc, java.lang.String name)
          Method getStrategyAssociatedToGraph returns the AbstractVisualGraphObjectTreeStrategy corresponding to the passed document.
protected  VisualGraphView TreeOutliner.getGraphFromDocument(Document doc)
          Utility method.
protected  boolean TreeOutliner.isGraphDocument(Document doc)
          Method isGraphDocument returns true if the parameter document instance is of type GraphDocument.
protected  void TreeOutliner.doAddListeners(Document doc)
          Method called by documentSelected(DocumentEvent).
protected  void TreeOutliner.doRemoveListeners(Document doc)
          Method called by clearModel(Document).
 

Constructors in com.tensegrity.gui.swing.control.tree with parameters of type Document
NodeWrapperComponent(javax.swing.tree.DefaultMutableTreeNode node, Document document)
          Creates a new NodeWrapperComponent for the parameter node.
 

Uses of Document in com.tensegrity.gui.swing.control.tree.strategy
 

Methods in com.tensegrity.gui.swing.control.tree.strategy that return Document
protected  Document AbstractTreeStrategy.getActiveDocument()
          Returns the currently active Document.
 

Methods in com.tensegrity.gui.swing.control.tree.strategy with parameters of type Document
 javax.swing.tree.DefaultTreeModel DefaultVisualGraphTreeStrategy.initializeModel(java.util.Map uiMap, Document document, java.lang.String name, boolean recreateModelEvenIfExists)
          Note that the assertion is made that the Documents passed to/used into this method are in fact SwingGraphDocuments.
protected  java.util.Map AbstractTreeStrategy.getIdNodeMap(Document document)
          Returns the Map of VisualGraphObject s Ids /TreeNode s corresponding to the passed Document.
 void AbstractTreeStrategy.removeModel(Document document)
           Removes the model associated to the passed Document from the local Map of Document s and DefaultTreeModels.
abstract  javax.swing.tree.DefaultTreeModel AbstractTreeStrategy.initializeModel(java.util.Map uiMap, Document document, java.lang.String name, boolean recreateModelEvenIfExists)
           Method initializing and returning the TreeModel associated to the passed Document.
protected  void AbstractTreeStrategy.setActiveDocument(Document activeDocument)
           Sets the currently active Document.
 

Uses of Document in com.tensegrity.gui.swing.document
 

Classes in com.tensegrity.gui.swing.document that implement Document
 class AttributeTableDocument
          This class is derived from the base document class and represents an attribute document.
 class HyperTextDocument
          This class is derived from the base document class and represents a html-document.
 class LayoutToolDocument
          The LayoutTool document wrapps up the layouttools inside a document.
 class NavigatorDocument
          This class is derived from the base document class and represents a navigator document.
 class ObjectTreeDocument
          ObjectTreeDocument.java
 class RepositoryDocument
          This class is derived from the base document class and represents a repository document.
 class SwingDocument
           This class represents a Swing-based Document.
 class SwingGraphDocument
           This class represents the GraphDocument implementation for Swing-based applications.
 class SwingTemplateDocument
          The SwingTemplateDocument implements the document to be used when creating Templates.
 

Methods in com.tensegrity.gui.swing.document that return Document
 Document FramedMDIComponent.getActiveDocument()
           
 Document WindowMDIComponent.getActiveDocument()
           
 Document PanelMDIComponent.getActiveDocument()
           
 Document DockMDIComponent.getActiveDocument()
           
 Document TabbedMDIComponent.getActiveDocument()
           
 

Methods in com.tensegrity.gui.swing.document with parameters of type Document
 void FramedMDIComponent.addDocument(Document document)
           
 void FramedMDIComponent.removeDocument(Document document)
           
 void FramedMDIComponent.indicateModifiedDocument(Document document)
           
 void FramedMDIComponent.indicateUnmodifiedDocument(Document document)
           
 void FramedMDIComponent.setActiveDocument(Document document)
           
 void FramedMDIComponent.renameDocument(Document document, java.lang.String name)
           
 void FramedMDIComponent.fireDocumentDataChanged(Document document)
          Fires a document-added event for the given Document.
 void WindowMDIComponent.addDocument(Document document)
           
 void WindowMDIComponent.removeDocument(Document document)
           
 void WindowMDIComponent.removeDocument(Document document, boolean destroy)
           
 void WindowMDIComponent.setActiveDocument(Document document)
           
 void WindowMDIComponent.indicateModifiedDocument(Document document)
           
 void WindowMDIComponent.indicateUnmodifiedDocument(Document document)
           
 void WindowMDIComponent.renameDocument(Document document, java.lang.String name)
           
 void WindowMDIComponent.fireDocumentDataChanged(Document document)
           
 boolean SwingGraphDocumentWriter.writeDocument(Document doc, java.io.OutputStream output)
           
 void PanelMDIComponent.addDocument(Document document)
           
 void PanelMDIComponent.removeDocument(Document document)
           
 void PanelMDIComponent.setActiveDocument(Document document)
           
 void PanelMDIComponent.indicateModifiedDocument(Document document)
           
 void PanelMDIComponent.indicateUnmodifiedDocument(Document document)
           
 void PanelMDIComponent.renameDocument(Document document, java.lang.String name)
           
 void PanelMDIComponent.fireDocumentDataChanged(Document document)
           
 void DockMDIComponent.fireDocumentDataChanged(Document document)
           
 void DockMDIComponent.addDocument(Document document)
           
 void DockMDIComponent.removeDocument(Document document)
           
 void DockMDIComponent.setActiveDocument(Document document)
           
 void DockMDIComponent.renameDocument(Document document, java.lang.String name)
           
 void DockMDIComponent.indicateModifiedDocument(Document document)
           
 void DockMDIComponent.indicateUnmodifiedDocument(Document document)
           
 TabEntry DockMDIComponent.getEntryForDocument(Document document)
          Returns the TabEntry for the given Document.
 void MenuTool.add(Document document)
          Method add(Document) adds a new CheckBoxMenuItem to the top of the internal menu.
 void MenuTool.remove(Document document)
          Removes the specified document from the menuMap and the associated menuitem as well.
 boolean SwingGraphDocumentReader.readDocument(Document doc, java.io.InputStream input)
           
 void TabbedMDIComponent.addDocument(Document document)
           
 void TabbedMDIComponent.removeDocument(Document document)
           
 void TabbedMDIComponent.removeDocument(Document document, boolean destroy)
          Removes a document from the MDIComponent
 void TabbedMDIComponent.setActiveDocument(Document document)
           
 void TabbedMDIComponent.indicateModifiedDocument(Document document)
           
 void TabbedMDIComponent.indicateUnmodifiedDocument(Document document)
           
 void TabbedMDIComponent.renameDocument(Document document, java.lang.String name)
           
 void TabbedMDIComponent.fireDocumentDataChanged(Document document)
           
 

Uses of Document in com.tensegrity.gui.swt.document
 

Classes in com.tensegrity.gui.swt.document that implement Document
 class SwtDocument
           This class represents a SWT-based Document.
 class SwtGraphDocument
           This class represents the GraphDocument implementation for SWT-based applications.
 

Methods in com.tensegrity.gui.swt.document that return Document
 Document SwtTabbedMDIComponent.getActiveDocument()
           
 

Methods in com.tensegrity.gui.swt.document with parameters of type Document
 boolean SwtGraphDocumentWriter.writeDocument(Document doc, java.io.OutputStream output)
           
 void SwtTabbedMDIComponent.addDocument(Document document)
           
 void SwtTabbedMDIComponent.removeDocument(Document document)
           
 void SwtTabbedMDIComponent.removeDocument(Document document, boolean destroy)
           Closes the given document and removes it from the mdi container.
 void SwtTabbedMDIComponent.setActiveDocument(Document document)
           
 void SwtTabbedMDIComponent.renameDocument(Document document, java.lang.String name)
           
 void SwtTabbedMDIComponent.indicateModifiedDocument(Document document)
           
 void SwtTabbedMDIComponent.indicateUnmodifiedDocument(Document document)
           
 void SwtTabbedMDIComponent.fireDocumentDataChanged(Document document)
           
 boolean SwtGraphDocumentReader.readDocument(Document doc, java.io.InputStream input)
           
 

Uses of Document in com.tensegrity.gui.template
 

Subinterfaces of Document in com.tensegrity.gui.template
 interface TemplateDocument
           Interface TemplateDocument is responsible for creating templates of repository items and new composites.
 

Uses of Document in com.tensegrity.skeleton.commands
 

Methods in com.tensegrity.skeleton.commands that return Document
protected  Document DocumentCommand.getDocument()
          The method getDocument returns the current active Document or null.
 

Methods in com.tensegrity.skeleton.commands with parameters of type Document
 int CloseCommand.closeDocument(Document document)
          Closes the given document.
protected  void CloseCommand.doSaveConfirmedAction(Document document)
          This method is invoked when the user confirmed the save dialog upon closing a dirty document.
 

Uses of Document in com.tensegrity.skeleton.swing
 

Methods in com.tensegrity.skeleton.swing that return Document
 Document SwingApplicationFrame.newDocument()
          Sublcasses may override it to specify the creation of new documents.
 Document SwingApplicationFrame.openDocument(java.io.InputStream is, java.lang.String name)
           
 Document SwingApplicationFrame.openDocument(java.io.File file)
           
 

Methods in com.tensegrity.skeleton.swing with parameters of type Document
 void SwingApplicationFrame.configureEmptyDocument(Document document)
           
 void SwingApplicationFrame.configureDocumentView(Document document, int documenttype)
           
 void SwingApplicationFrame.configureNewDocument(Document document)
          This method performs post-creation configuration of the passed document.
 void SwingApplicationFrame.saveDocument(Document document, java.io.OutputStream os)
           
 void SwingApplicationFrame.saveDocument(Document document, java.io.File file)
           
 

Uses of Document in com.tensegrity.skeleton.swt
 

Methods in com.tensegrity.skeleton.swt that return Document
 Document SwtApplicationFrame.newDocument()
          Sublcasses may override it to specify the creation of new documents.
 Document SwtApplicationFrame.openDocument(java.io.InputStream is, java.lang.String name)
           
 Document SwtApplicationFrame.openDocument(java.io.File file)
           
 

Methods in com.tensegrity.skeleton.swt with parameters of type Document
 void SwtApplicationFrame.configureNewDocument(Document document)
          This method performs post-creation configuration of the passed document.
 void SwtApplicationFrame.configureEmptyDocument(Document document)
          Does nothing.
 void SwtApplicationFrame.configureDocumentView(Document document, int documenttype)
          This method is called from SwtApplicationFrame.configureNewDocument(Document).
 void SwtApplicationFrame.saveDocument(Document document, java.io.OutputStream os)
           
 void SwtApplicationFrame.saveDocument(Document document, java.io.File file)
           
 void SwtApplicationFrame.saveDocument_org(Document document, java.io.File file)
           
 

Uses of Document in com.tensegrity.skeleton.swt.commands
 

Methods in com.tensegrity.skeleton.swt.commands that return Document
protected  Document SwtDocumentCommand.getDocument()
          This method returns the currently active Document or null.
 

Methods in com.tensegrity.skeleton.swt.commands with parameters of type Document
 int SwtCloseCommand.closeDocument(Document document)
          Closes the given document.
 



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