All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vnet.apps.edit.Edit

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----vnet.apps.edit.Edit

public class Edit
extends Frame
implements ClipboardOwner, ActionListener
A quick and easy text editor. Run from a command line or create a new instance of the Frame from an existing app.

Edit dosen't use Swing but needs a JRE/JDK >= 1.1 Java Platform.


Constructor Index

 o Edit(String)
Construcs a new Edit window.
 o Edit(String, boolean)
Construcs a new Edit window.

Method Index

 o actionPerformed(ActionEvent)
 o addMenu(boolean)
 o adjustOpenFrames()
 o lostOwnership(Clipboard, Transferable)
 o main(String[])
Runs the app.
 o openFile(TextArea)
 o removeFrame()
 o saveFile(TextArea)
 o undo(Edit. Undo)

Constructors

 o Edit
 public Edit(String filename)
Construcs a new Edit window. Will attempt to open the passed filename.

Parameters:
filaneme - a filename to open or null for an empty frame.
 o Edit
 public Edit(String filename,
             boolean noExit)
Construcs a new Edit window. Will attempt to open the passed filename.

Parameters:
filaneme - a filename to open or null for an empty frame.
noExit - if true, will not kill the runtime when closing.

Methods

 o main
 public static void main(String args[])
Runs the app. The filename of a text to load file may be specifed as the first argument.

 o adjustOpenFrames
 protected void adjustOpenFrames()
 o removeFrame
 protected void removeFrame()
 o actionPerformed
 public void actionPerformed(ActionEvent e)
 o addMenu
 protected void addMenu(boolean noExit)
 o lostOwnership
 public void lostOwnership(Clipboard clipboard,
                           Transferable content)
 o openFile
 protected void openFile(TextArea area)
 o saveFile
 protected void saveFile(TextArea area)
 o undo
 protected void undo(Edit. Undo undo)

All Packages  Class Hierarchy  This Package  Previous  Next  Index