public class AutoCompletion extends PlainDocument
AbstractDocument.AbstractElement, AbstractDocument.AttributeContext, AbstractDocument.BranchElement, AbstractDocument.Content, AbstractDocument.DefaultDocumentEvent, AbstractDocument.ElementEdit, AbstractDocument.LeafElement
lineLimitAttribute, tabSizeAttribute
BAD_LOCATION, BidiElementName, ContentElementName, ElementNameAttribute, listenerList, ParagraphElementName, SectionElementName
StreamDescriptionProperty, TitleProperty
Constructor and Description |
---|
AutoCompletion(JComboBox pComboBox) |
Modifier and Type | Method and Description |
---|---|
static void |
enable(JComboBox pComboBox) |
void |
insertString(int pOffs,
String pStr,
AttributeSet pAttributeSet) |
static void |
main(String[] pArgs) |
void |
remove(int pOffs,
int pLen) |
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
public AutoCompletion(JComboBox pComboBox)
public static void enable(JComboBox pComboBox)
public void remove(int pOffs, int pLen) throws BadLocationException
remove
in interface Document
remove
in class AbstractDocument
BadLocationException
public void insertString(int pOffs, String pStr, AttributeSet pAttributeSet) throws BadLocationException
insertString
in interface Document
insertString
in class PlainDocument
BadLocationException
public static void main(String[] pArgs)
Copyright © 2017 Jürgen Zeller (privat). All rights reserved.