com.tensegrity.gui.swing.document
Class AttributeTableDocument

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

public class AttributeTableDocument
extends SwingDocument

This class is derived from the base document class and represents an attribute document. The attribute document consists of a nested attribute-panel.

Version:
$Id: AttributeTableDocument.java,v 1.2 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
AttributeTableDocument(java.lang.String name, SlidePanel attributepanel)
          Constructor for AttributeTableDocument.
 
Method Summary
 javax.swing.JComponent getAttributePanel()
          Returns the attributepane that is embedded in the document.
 int getFlags()
          Returns the flags of this document.
 javax.swing.JComponent getJComponent()
          Returns the embedded Jcomponent as JComponent.
 
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

AttributeTableDocument

public AttributeTableDocument(java.lang.String name,
                              SlidePanel attributepanel)
Constructor for AttributeTableDocument.

Parameters:
name - the document's name.
attributepanel - a SlidePanel holding the attribute-table.
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.

getAttributePanel

public javax.swing.JComponent getAttributePanel()
Returns the attributepane that is embedded in the document.

Returns:
attributepane that is embedded in the document.

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.