All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vnr.awt.JCodeEditor

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----com.sun.java.swing.JComponent
                           |
                           +----com.sun.java.swing.text.JTextComponent
                                   |
                                   +----com.sun.java.swing.JTextArea
                                           |
                                           +----vnr.awt.JCodeEditor

public class JCodeEditor
extends JTextArea
subclass of JTextArea to handle Pgup/down, home/end, etc keys

Author:
dIon

Constructor Index

 o JCodeEditor()
repeat constructors from JTextArea
 o JCodeEditor(Document)
 o JCodeEditor(Document, String, int, int)
 o JCodeEditor(int, int)
 o JCodeEditor(String)
 o JCodeEditor(String, int, int)

Method Index

 o processKeyEvent(KeyEvent)
processKeyEvent - overridden to provide better :) behaviour
specifically handle key pressed events for
 o setUI(TextUI)
a workaround to the metal look and feel bug of not displaying tabs correctly

Constructors

 o JCodeEditor
 public JCodeEditor()
repeat constructors from JTextArea

 o JCodeEditor
 public JCodeEditor(String s)
 o JCodeEditor
 public JCodeEditor(int r,
                    int c)
 o JCodeEditor
 public JCodeEditor(String s,
                    int r,
                    int c)
 o JCodeEditor
 public JCodeEditor(Document d)
 o JCodeEditor
 public JCodeEditor(Document d,
                    String s,
                    int r,
                    int c)

Methods

 o processKeyEvent
 protected void processKeyEvent(KeyEvent ke)
processKeyEvent - overridden to provide better :) behaviour
specifically handle key pressed events for

Overrides:
processKeyEvent in class JComponent
 o setUI
 public void setUI(TextUI t)
a workaround to the metal look and feel bug of not displaying tabs correctly

Overrides:
setUI in class JTextComponent

All Packages  Class Hierarchy  This Package  Previous  Next  Index