All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vnr.ide.ClassCodeView

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----com.sun.java.swing.JComponent
                           |
                           +----com.sun.java.swing.JPanel
                                   |
                                   +----vnr.ide.ClassCodeView

public class ClassCodeView
extends JPanel
ClassCodeView - editing a class in VNR

Author:
dlg 1997-11-18 created

Constructor Index

 o ClassCodeView()
create an empty class code view
 o ClassCodeView(NetRexxClass)
Create a class code view from a class
 o ClassCodeView(String)
Create a class code view

Method Index

 o addDocumentListener(DocumentListener)
add someone else as a document listener to the code area
 o getCodeArea()
 o getCopy()
 o getCut()
 o getDesktop()
 o getFonts()
 o getHelpAction()
 o getPaste()
 o getTabs()
 o getTabSizes()
 o getTBar()
 o getText()
get the text from the text area
 o getTheClass()
 o removeDocumentListener(DocumentListener)
remove someone else as a document listener to the code area
 o setCodeArea(JTextArea)
 o setCopy(JButton)
 o setCut(JButton)
 o setDesktop()
set the currently used font for editing
 o setDesktop(Desktop)
 o setFonts(FontChooser)
 o setHelpAction(ClassViewAction)
set the action used to show help
 o setPaste(JButton)
 o setTabs(LabelledComponent)
 o setTabSizes(JComboBox)
 o setTBar(ToolBar)
 o setText(String)
set the text of the text area
 o setTheClass(NetRexxClass)

Constructors

 o ClassCodeView
 public ClassCodeView()
create an empty class code view

 o ClassCodeView
 public ClassCodeView(String text)
Create a class code view

 o ClassCodeView
 public ClassCodeView(NetRexxClass nrxClass)
Create a class code view from a class

See Also:
NetRexxClass

Methods

 o setHelpAction
 public void setHelpAction(ClassViewAction a)
set the action used to show help

 o setDesktop
 public void setDesktop()
set the currently used font for editing

 o setDesktop
 public void setDesktop(Desktop dt)
 o addDocumentListener
 public void addDocumentListener(DocumentListener dl)
add someone else as a document listener to the code area

 o removeDocumentListener
 public void removeDocumentListener(DocumentListener dl)
remove someone else as a document listener to the code area

 o getText
 public String getText()
get the text from the text area

 o setText
 public void setText(String txt)
set the text of the text area

 o getCodeArea
 public JTextArea getCodeArea()
 o setCodeArea
 public void setCodeArea(JTextArea $1)
 o getTBar
 public ToolBar getTBar()
 o setTBar
 public void setTBar(ToolBar $2)
 o getFonts
 public FontChooser getFonts()
 o setFonts
 public void setFonts(FontChooser $3)
 o getTabSizes
 public JComboBox getTabSizes()
 o setTabSizes
 public void setTabSizes(JComboBox $4)
 o getCopy
 public JButton getCopy()
 o setCopy
 public void setCopy(JButton $5)
 o getCut
 public JButton getCut()
 o setCut
 public void setCut(JButton $6)
 o getPaste
 public JButton getPaste()
 o setPaste
 public void setPaste(JButton $7)
 o getTabs
 public LabelledComponent getTabs()
 o setTabs
 public void setTabs(LabelledComponent $8)
 o getDesktop
 public Desktop getDesktop()
 o getTheClass
 public NetRexxClass getTheClass()
 o setTheClass
 public void setTheClass(NetRexxClass $9)
 o getHelpAction
 public ClassViewAction getHelpAction()

All Packages  Class Hierarchy  This Package  Previous  Next  Index