public class DDocument extends PlainDocument
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
OPTION_INT |
lineLimitAttribute, tabSizeAttributeBAD_LOCATION, BidiElementName, ContentElementName, ElementNameAttribute, listenerList, ParagraphElementName, SectionElementNameStreamDescriptionProperty, TitleProperty| 限定符和类型 | 方法和说明 |
|---|---|
int |
getOption() |
void |
insertString(int offset,
String str,
AttributeSet a) |
boolean |
isInsertBool() |
void |
setInsertBool(boolean boo) |
void |
setOption(int option) |
createDefaultRoot, getDefaultRootElement, getParagraphElement, insertUpdate, removeUpdateaddDocumentListener, 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, remove, removeDocumentListener, removeUndoableEditListener, render, replace, setAsynchronousLoadPriority, setDocumentFilter, setDocumentProperties, writeLock, writeUnlockpublic static final int OPTION_INT
public void setInsertBool(boolean boo)
public boolean isInsertBool()
public void insertString(int offset,
String str,
AttributeSet a)
throws BadLocationException
insertString 在接口中 DocumentinsertString 在类中 PlainDocumentBadLocationExceptionpublic void setOption(int option)
public int getOption()
Copyright © 2021. All rights reserved.