com.tensegrity.gui.swing.document
Class RepositoryDocument

java.lang.Object
  extended bycom.tensegrity.gui.document.AbstractDocument
      extended bycom.tensegrity.gui.swing.document.SwingDocument
          extended bycom.tensegrity.gui.swing.document.RepositoryDocument
All Implemented Interfaces:
Container, Document, Observer

public class RepositoryDocument
extends SwingDocument

This class is derived from the base document class and represents a repository document. Such a document can be a globally visible attributes-windows or such.

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

Field Summary
 
Fields inherited from interface com.tensegrity.gui.document.Document
GLUE_LEFTBOTTOM, GLUE_LEFTCENTEREXTEND, GLUE_LEFTTOP, GLUE_RIGHTBOTTOM, GLUE_RIGHTCENTEREXTEND, GLUE_RIGHTTOP, TYPE_FIXED_SIZE, TYPE_PACK_IS_OK, TYPE_TOOLDOCUMENT
 
Constructor Summary
RepositoryDocument(java.lang.String name, SlidePanel repositorypanel)
          Constructor for HtmlDocument.
 
Method Summary
 int getFlags()
          Returns the flags of this document.
 javax.swing.JComponent getJComponent()
          Returns the embedded Jcomponent as JComponent.
 SlidePanel getRepositoryPanel()
          Returns the repositorypanel.
 
Methods inherited from class com.tensegrity.gui.swing.document.SwingDocument
getApplicationFrame, update
 
Methods inherited from class com.tensegrity.gui.document.AbstractDocument
closeHandler, getCopyCounter, getDocumentDataProvider, getDocumentSetting, getDocumentSettings, getFile, getName, isModified, setDocumentSetting, setDocumentSettings, setFile, setModified, setName, setSelected, setUnmodified
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryDocument

public RepositoryDocument(java.lang.String name,
                          SlidePanel repositorypanel)
Constructor for HtmlDocument.

Parameters:
name - the document's name.
repositorypanel - the SlidePanel to use internally.
Method Detail

getFlags

public int getFlags()
Returns the flags of this document.

Specified by:
getFlags in interface Document
Overrides:
getFlags in class AbstractDocument
Returns:
the flags of this document.

getRepositoryPanel

public SlidePanel getRepositoryPanel()
Returns the repositorypanel.

Returns:
the repositorypanel

getJComponent

public javax.swing.JComponent getJComponent()
Returns the embedded Jcomponent as JComponent.

Overrides:
getJComponent in class SwingDocument
Returns:
the embedded Jcomponent as JComponent.


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