Serializable, Documentprotected class AutoCompletion.AutoCompletionDocument extends PlainDocument
AbstractDocument.AbstractElement, AbstractDocument.AttributeContext, AbstractDocument.BranchElement, AbstractDocument.Content, AbstractDocument.DefaultDocumentEvent, AbstractDocument.ElementEdit, AbstractDocument.LeafElementBAD_LOCATION, BidiElementName, ContentElementName, ElementNameAttribute, listenerList, ParagraphElementName, SectionElementNameStreamDescriptionProperty, TitlePropertylineLimitAttribute, tabSizeAttribute| Modifier | Constructor | Description |
|---|---|---|
protected |
AutoCompletionDocument() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
insertString(int offs,
String str,
AttributeSet a) |
|
void |
remove(int offs,
int len) |
|
protected void |
setText(String text) |
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, writeUnlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateDefaultRoot, getDefaultRootElement, getParagraphElement, insertUpdate, removeUpdatepublic void remove(int offs,
int len)
throws BadLocationException
remove in interface Documentremove in class AbstractDocumentBadLocationExceptionpublic void insertString(int offs,
String str,
AttributeSet a)
throws BadLocationException
insertString in interface DocumentinsertString in class PlainDocumentBadLocationExceptionprotected void setText(String text)