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.
-
Edit(String)
- Construcs a new Edit window.
-
Edit(String, boolean)
- Construcs a new Edit window.
-
actionPerformed(ActionEvent)
-
-
addMenu(boolean)
-
-
adjustOpenFrames()
-
-
lostOwnership(Clipboard, Transferable)
-
-
main(String[])
- Runs the app.
-
openFile(TextArea)
-
-
removeFrame()
-
-
saveFile(TextArea)
-
-
undo(Edit. Undo)
-
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.
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.
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.
adjustOpenFrames
protected void adjustOpenFrames()
removeFrame
protected void removeFrame()
actionPerformed
public void actionPerformed(ActionEvent e)
addMenu
protected void addMenu(boolean noExit)
lostOwnership
public void lostOwnership(Clipboard clipboard,
Transferable content)
openFile
protected void openFile(TextArea area)
saveFile
protected void saveFile(TextArea area)
undo
protected void undo(Edit. Undo undo)
All Packages Class Hierarchy This Package Previous Next Index