com.objexcel.gui
Class CommandHistory

java.lang.Object
  |
  +--java.awt.event.KeyAdapter
        |
        +--com.objexcel.gui.CommandHistory

public final class CommandHistory
extends java.awt.event.KeyAdapter

plugs into a textfield and keeps an input history. Cycle though it with the up/down arrows


Constructor Summary
CommandHistory(javax.swing.JTextField c)
           
 
Method Summary
 void appendCurrent()
           
 void keyPressed(java.awt.event.KeyEvent e)
           
 
Methods inherited from class java.awt.event.KeyAdapter
keyReleased, keyTyped
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandHistory

public CommandHistory(javax.swing.JTextField c)
Method Detail

keyPressed

public void keyPressed(java.awt.event.KeyEvent e)
Overrides:
keyPressed in class java.awt.event.KeyAdapter

appendCurrent

public void appendCurrent()