info.rolandkrueger.roklib.ui.swing.augmentedtyping
Class AugmentedTypingTextField.AugmentedTypingTextFieldEditor

java.lang.Object
  extended by info.rolandkrueger.roklib.ui.swing.augmentedtyping.AugmentedTypingTextField.AugmentedTypingTextFieldEditor
All Implemented Interfaces:
ComboBoxEditor
Enclosing class:
AugmentedTypingTextField

private class AugmentedTypingTextField.AugmentedTypingTextFieldEditor
extends Object
implements ComboBoxEditor


Field Summary
(package private)  JTextField mTextField
           
 
Constructor Summary
AugmentedTypingTextField.AugmentedTypingTextFieldEditor()
           
 
Method Summary
 void addActionListener(ActionListener l)
           
 Component getEditorComponent()
           
 Object getItem()
           
 void removeActionListener(ActionListener l)
           
 void selectAll()
           
 void setItem(Object anObject)
           
 void swapChar(Character newChar)
          Exchanges the character at the caret position with the provided new character.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mTextField

JTextField mTextField
Constructor Detail

AugmentedTypingTextField.AugmentedTypingTextFieldEditor

public AugmentedTypingTextField.AugmentedTypingTextFieldEditor()
Method Detail

swapChar

public void swapChar(Character newChar)
Exchanges the character at the caret position with the provided new character.

Parameters:
newChar - a character that is used to replace the character at the caret position

addActionListener

public void addActionListener(ActionListener l)
Specified by:
addActionListener in interface ComboBoxEditor

getEditorComponent

public Component getEditorComponent()
Specified by:
getEditorComponent in interface ComboBoxEditor

getItem

public Object getItem()
Specified by:
getItem in interface ComboBoxEditor

removeActionListener

public void removeActionListener(ActionListener l)
Specified by:
removeActionListener in interface ComboBoxEditor

selectAll

public void selectAll()
Specified by:
selectAll in interface ComboBoxEditor

setItem

public void setItem(Object anObject)
Specified by:
setItem in interface ComboBoxEditor


Copyright © 2007-2011. All Rights Reserved.