protected class DictionaryDataField.DictionayDocument extends DefaultStyledDocument
DefaultStyledDocument.AttributeUndoableEdit, DefaultStyledDocument.ElementBuffer, DefaultStyledDocument.ElementSpec, DefaultStyledDocument.SectionElementAbstractDocument.AbstractElement, AbstractDocument.AttributeContext, AbstractDocument.BranchElement, AbstractDocument.Content, AbstractDocument.DefaultDocumentEvent, AbstractDocument.ElementEdit, AbstractDocument.LeafElement| Modifier and Type | Field and Description |
|---|---|
protected boolean |
innerListenerEnabled |
protected int |
maxLength |
protected boolean |
upper |
buffer, BUFFER_SIZE_DEFAULTBAD_LOCATION, BidiElementName, ContentElementName, ElementNameAttribute, listenerList, ParagraphElementName, SectionElementNameStreamDescriptionProperty, TitleProperty| Constructor and Description |
|---|
DictionaryDataField.DictionayDocument() |
DictionaryDataField.DictionayDocument(boolean upper,
int maxLength) |
| Modifier and Type | Method and Description |
|---|---|
void |
insertString(int offset,
String str,
AttributeSet a) |
void |
remove(int offset,
int len) |
void |
setInnerListenerEnabled(boolean act) |
void |
setMaxLength(int maxLength) |
void |
setUpper(boolean upper) |
addDocumentListener, addStyle, create, createDefaultRoot, getBackground, getCharacterElement, getDefaultRootElement, getFont, getForeground, getLogicalStyle, getParagraphElement, getStyle, getStyleNames, insert, insertUpdate, removeDocumentListener, removeElement, removeStyle, removeUpdate, setCharacterAttributes, setLogicalStyle, setParagraphAttributes, styleChangedaddUndoableEditListener, 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, removeUndoableEditListener, render, replace, setAsynchronousLoadPriority, setDocumentFilter, setDocumentProperties, writeLock, writeUnlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddUndoableEditListener, createPosition, getEndPosition, getLength, getProperty, getRootElements, getStartPosition, getText, getText, putProperty, removeUndoableEditListener, renderprotected boolean upper
protected int maxLength
protected boolean innerListenerEnabled
public DictionaryDataField.DictionayDocument(boolean upper,
int maxLength)
public DictionaryDataField.DictionayDocument()
public void setInnerListenerEnabled(boolean act)
public void setUpper(boolean upper)
public void setMaxLength(int maxLength)
public void insertString(int offset,
String str,
AttributeSet a)
throws BadLocationException
insertString in interface DocumentinsertString in class AbstractDocumentBadLocationExceptionpublic void remove(int offset,
int len)
throws BadLocationException
remove in interface Documentremove in class AbstractDocumentBadLocationExceptionCopyright © 2016 Imatia Innovation S.L.. All rights reserved.