java.lang.Object
javax.swing.text.AbstractDocument
javax.swing.text.PlainDocument
de.grogra.pf.ui.swing.TextEditorSupport.Doc
- All Implemented Interfaces:
FileDocument,Serializable,Runnable,Document
- Enclosing class:
TextEditorSupport
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.text.AbstractDocument
AbstractDocument.AbstractElement, AbstractDocument.AttributeContext, AbstractDocument.BranchElement, AbstractDocument.Content, AbstractDocument.DefaultDocumentEvent, AbstractDocument.ElementEdit, AbstractDocument.LeafElement -
Field Summary
Fields inherited from class javax.swing.text.PlainDocument
lineLimitAttribute, tabSizeAttributeFields inherited from class javax.swing.text.AbstractDocument
BAD_LOCATION, BidiElementName, ContentElementName, ElementNameAttribute, listenerList, ParagraphElementName, SectionElementNameFields inherited from interface javax.swing.text.Document
StreamDescriptionProperty, TitleProperty -
Method Summary
Methods inherited from class javax.swing.text.PlainDocument
createDefaultRoot, getDefaultRootElement, getParagraphElement, insertString, removeUpdateMethods inherited from class javax.swing.text.AbstractDocument
addDocumentListener, addUndoableEditListener, createBranchElement, createLeafElement, createPosition, dump, fireUndoableEditUpdate, getAsynchronousLoadPriority, getAttributeContext, getBidiRootElement, getContent, getCurrentWriter, getDocumentFilter, getDocumentListeners, getDocumentProperties, getEndPosition, getLength, getListeners, getProperty, getRootElements, getStartPosition, getText, getText, getUndoableEditListeners, putProperty, readLock, readUnlock, remove, removeDocumentListener, removeUndoableEditListener, render, replace, setAsynchronousLoadPriority, setDocumentFilter, setDocumentProperties, writeLock, writeUnlockMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.swing.text.Document
addDocumentListener, addUndoableEditListener, createPosition, getDefaultRootElement, getEndPosition, getLength, getProperty, getRootElements, getStartPosition, getText, getText, insertString, putProperty, remove, removeDocumentListener, removeUndoableEditListener, render
-
Method Details
-
save
public void save()- Specified by:
savein interfaceFileDocument
-
run
public void run() -
postRemoveUpdate
- Overrides:
postRemoveUpdatein classAbstractDocument
-
insertUpdate
- Overrides:
insertUpdatein classPlainDocument
-
fireRemoveUpdate
- Overrides:
fireRemoveUpdatein classAbstractDocument
-
fireInsertUpdate
- Overrides:
fireInsertUpdatein classAbstractDocument
-
fireChangedUpdate
- Overrides:
fireChangedUpdatein classAbstractDocument
-
isModified
public boolean isModified()- Specified by:
isModifiedin interfaceFileDocument
-
isEditable
public boolean isEditable()- Specified by:
isEditablein interfaceFileDocument
-
getSystemId
- Specified by:
getSystemIdin interfaceFileDocument
-
getMimeType
- Specified by:
getMimeTypein interfaceFileDocument
-