|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.gui.document.AbstractDocument
com.tensegrity.gui.swing.document.SwingDocument
This class represents a Swing-based Document.
Class SwingDocument holds a JPanel instance to ease
the integration of documents in a Swing-based context. As an observer, this
class delegates each update invocation to a call to the repaint method of the
panel.
| 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 | |
SwingDocument(java.lang.String name)
Constructor for HtmlDocument. |
|
| Method Summary | |
ApplicationFrame |
getApplicationFrame()
Returns the enclosing ApplicationFrame of this
Container. |
javax.swing.JComponent |
getJComponent()
Returns the reference to the internal panel. |
void |
update(Observable o,
java.lang.Object arg)
Triggers a repaint. |
| Methods inherited from class com.tensegrity.gui.document.AbstractDocument |
closeHandler, getCopyCounter, getDocumentDataProvider, getDocumentSetting, getDocumentSettings, getFile, getFlags, 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 |
public SwingDocument(java.lang.String name)
name - the document's name.| Method Detail |
public javax.swing.JComponent getJComponent()
public void update(Observable o,
java.lang.Object arg)
AbstractDocument
update in interface Observerupdate in class AbstractDocumentpublic ApplicationFrame getApplicationFrame()
ContainerApplicationFrame of this
Container.
ApplicationFrame.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||