    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class xt.xt_DocumentFrame

    java.lang.Object
       |
       +----java.awt.Component
               |
               +----java.awt.Container
                       |
                       +----com.sun.java.swing.JComponent
                               |
                               +----com.sun.java.swing.JInternalFrame
                                       |
                                       +----xt.xt_DocumentFrame

public class xt_DocumentFrame
extends JInternalFrame

A base class for internal frames which display document-related information.

##

xt_DocumentFrame(xm_DocumentModel, String)
  Constructor.

##

getDocumentModel()
  Retrieve the document model associated with this frame.
getSourceTextArea()
  Retrieve the text area in which the source is displayed and edited.

##

xt_DocumentFrame

     public xt_DocumentFrame(xm_DocumentModel InputDocumentModel,
                             String InputFrameTitle)

  Constructor.

##

getDocumentModel

     public xm_DocumentModel getDocumentModel()

  Retrieve the document model associated with this frame. The purpose of this is to make convenient operations on whichever is the current frame. For example, a 'parse' toolbar button simply has to retrieve the document model of the current frame and perform a parse on it.

  Returns:
    The document model about which this frame displays information

getSourceTextArea

     public JTextArea getSourceTextArea()

  Retrieve the text area in which the source is displayed and edited.

  Returns:
    The edit source text area

    All Packages  Class Hierarchy  This Package  Previous  Next  Index