public class AutoCompletion extends PlainDocument
AbstractDocument.AbstractElement, AbstractDocument.AttributeContext, AbstractDocument.BranchElement, AbstractDocument.Content, AbstractDocument.DefaultDocumentEvent, AbstractDocument.ElementEdit, AbstractDocument.LeafElement
Modifier and Type | Field and Description |
---|---|
(package private) JComboBox |
comboBox
Deprecated.
|
(package private) JTextComponent |
editor
Deprecated.
|
(package private) FocusListener |
editorFocusListener
Deprecated.
|
(package private) KeyListener |
editorKeyListener
Deprecated.
|
(package private) boolean |
firstUpper
Deprecated.
|
(package private) boolean |
hidePopupOnFocusLoss
Deprecated.
|
(package private) boolean |
hitBackspace
Deprecated.
|
(package private) boolean |
hitBackspaceOnSelection
Deprecated.
|
(package private) ComboBoxModel |
model
Deprecated.
|
(package private) boolean |
selecting
Deprecated.
|
lineLimitAttribute, tabSizeAttribute
BAD_LOCATION, BidiElementName, ContentElementName, ElementNameAttribute, listenerList, ParagraphElementName, SectionElementName
StreamDescriptionProperty, TitleProperty
Constructor and Description |
---|
AutoCompletion(JComboBox comboBox)
Deprecated.
|
AutoCompletion(JComboBox comboBox,
boolean firstLetterUppercase)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
configureEditor(ComboBoxEditor newEditor)
Deprecated.
|
void |
insertString(int offs,
String str,
AttributeSet a)
Deprecated.
|
void |
remove(int offs,
int len)
Deprecated.
|
createDefaultRoot, getDefaultRootElement, getParagraphElement, insertUpdate, removeUpdate
addDocumentListener, addUndoableEditListener, createBranchElement, createLeafElement, createPosition, dump, fireChangedUpdate, fireInsertUpdate, fireRemoveUpdate, fireUndoableEditUpdate, getAsynchronousLoadPriority, getAttributeContext, getBidiRootElement, getContent, getCurrentWriter, getDocumentFilter, getDocumentListeners, getDocumentProperties, getEndPosition, getLength, getListeners, getProperty, getRootElements, getStartPosition, getText, getText, getUndoableEditListeners, postRemoveUpdate, putProperty, readLock, readUnlock, removeDocumentListener, removeUndoableEditListener, render, replace, setAsynchronousLoadPriority, setDocumentFilter, setDocumentProperties, writeLock, writeUnlock
JComboBox comboBox
ComboBoxModel model
JTextComponent editor
boolean selecting
boolean hidePopupOnFocusLoss
boolean hitBackspace
boolean hitBackspaceOnSelection
boolean firstUpper
KeyListener editorKeyListener
FocusListener editorFocusListener
public AutoCompletion(JComboBox comboBox)
public AutoCompletion(JComboBox comboBox, boolean firstLetterUppercase)
void configureEditor(ComboBoxEditor newEditor)
public void remove(int offs, int len) throws BadLocationException
remove
in interface Document
remove
in class AbstractDocument
BadLocationException
public void insertString(int offs, String str, AttributeSet a) throws BadLocationException
insertString
in interface Document
insertString
in class PlainDocument
BadLocationException
TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)