com.tensegrity.gui.swing.document
Class LayoutToolDocument

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

public class LayoutToolDocument
extends SwingDocument

The LayoutTool document wrapps up the layouttools inside a document.

Version:
$Id: LayoutToolDocument.java,v 1.3 2003/03/18 13:26:23 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
LayoutToolDocument(java.lang.String name, SlidePanel layouttool)
          Constructor for LayoutToolDocument.
 
Method Summary
 int getFlags()
          Returns the flags of this document.
 javax.swing.JComponent getJComponent()
          Returns the reference to the internal panel.
 
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

LayoutToolDocument

public LayoutToolDocument(java.lang.String name,
                          SlidePanel layouttool)
Constructor for LayoutToolDocument.

Parameters:
name - the document's name.
layouttool - the slidepanel to show in the document.
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.

getJComponent

public javax.swing.JComponent getJComponent()
Description copied from class: SwingDocument
Returns the reference to the internal panel.

Overrides:
getJComponent in class SwingDocument
Returns:
reference to the internal panel.


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