com.quadrique.jbuildingblocks.gui
Class EditorDocument
java.lang.Object
javax.swing.text.AbstractDocument
javax.swing.text.DefaultStyledDocument
com.quadrique.jbuildingblocks.gui.EditorDocument
- All Implemented Interfaces:
- Serializable, Document, StyledDocument
public class EditorDocument
- extends DefaultStyledDocument
- See Also:
- Serialized Form
| Methods inherited from class javax.swing.text.DefaultStyledDocument |
addDocumentListener, addStyle, getBackground, getCharacterElement, getDefaultRootElement, getFont, getForeground, getLogicalStyle, getParagraphElement, getStyle, getStyleNames, removeDocumentListener, removeStyle, setCharacterAttributes, setLogicalStyle, setParagraphAttributes |
| Methods inherited from class javax.swing.text.AbstractDocument |
addUndoableEditListener, createPosition, dump, getAsynchronousLoadPriority, getBidiRootElement, getDocumentFilter, getDocumentListeners, getDocumentProperties, getEndPosition, getLength, getListeners, getProperty, getRootElements, getStartPosition, getText, getText, getUndoableEditListeners, putProperty, readLock, readUnlock, removeUndoableEditListener, render, replace, setAsynchronousLoadPriority, setDocumentFilter, setDocumentProperties |
| Methods inherited from interface javax.swing.text.Document |
addUndoableEditListener, createPosition, getEndPosition, getLength, getProperty, getRootElements, getStartPosition, getText, getText, putProperty, removeUndoableEditListener, render |
EditorDocument
public EditorDocument(EditorRETypes types)
insertString
public void insertString(int offset,
String text,
AttributeSet style)
throws BadLocationException
- Specified by:
insertString in interface Document- Overrides:
insertString in class AbstractDocument
- Throws:
BadLocationException
remove
public void remove(int offset,
int length)
throws BadLocationException
- Specified by:
remove in interface Document- Overrides:
remove in class AbstractDocument
- Throws:
BadLocationException
highlightSyntax
public void highlightSyntax()
Copyright © 2001-2009 Quadrique Corporation. All Rights Reserved.