Jatha Software

org.jatha.display
Class LispInputEditor

java.lang.Object
  extended byjavax.swing.plaf.basic.BasicComboBoxEditor
      extended byorg.jatha.display.LispInputEditor
All Implemented Interfaces:
ComboBoxEditor, EventListener, FocusListener

public class LispInputEditor
extends BasicComboBoxEditor

LispInputEditor Is a ComboxBoxEditor for the LispInput area. The default editor (BasicComboBoxEditor) uses a JTextField as an editing area. This one uses a JTextArea if the number of lines sent in is greater than 1.


Nested Class Summary
 
Nested classes inherited from class javax.swing.plaf.basic.BasicComboBoxEditor
BasicComboBoxEditor.UIResource
 
Field Summary
protected  int f_numberOfColumns
           
protected  int f_numberOfRows
           
protected  JTextComponent f_textComponent
           
 
Fields inherited from class javax.swing.plaf.basic.BasicComboBoxEditor
editor
 
Constructor Summary
LispInputEditor()
           
LispInputEditor(int numberOfRows)
           
 
Method Summary
 Component getEditorComponent()
           
 Object getItem()
           
 int getNumberOfTextLines()
           
 void incrementTextLines(int increment)
           
 void setItem(Object o)
           
 
Methods inherited from class javax.swing.plaf.basic.BasicComboBoxEditor
addActionListener, focusGained, focusLost, removeActionListener, selectAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

f_numberOfRows

protected int f_numberOfRows

f_numberOfColumns

protected int f_numberOfColumns

f_textComponent

protected JTextComponent f_textComponent
Constructor Detail

LispInputEditor

public LispInputEditor()

LispInputEditor

public LispInputEditor(int numberOfRows)
Method Detail

getEditorComponent

public Component getEditorComponent()

getItem

public Object getItem()

setItem

public void setItem(Object o)

getNumberOfTextLines

public int getNumberOfTextLines()

incrementTextLines

public void incrementTextLines(int increment)

Jatha Software