org.biomoby.service.dashboard
Class PerlMoSeSSyntaxDocument
java.lang.Object
javax.swing.text.AbstractDocument
javax.swing.text.DefaultStyledDocument
org.biomoby.service.dashboard.PerlMoSeSSyntaxDocument
- All Implemented Interfaces:
- Serializable, Document, StyledDocument
public class PerlMoSeSSyntaxDocument
- extends DefaultStyledDocument
This class implements the functionality needed to create
a Stylized view of perl scripts in the Perl MoSeS editor
sub panel that is part of the Perl-MoSeS panel.
- Author:
- Eddie Kawas
- 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 |
PerlMoSeSSyntaxDocument
public PerlMoSeSSyntaxDocument()
- Default Constructor
insertString
public void insertString(int offset,
String str,
AttributeSet a)
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
processChangedLines
public void processChangedLines(int offset,
int length)
throws BadLocationException
- Throws:
BadLocationException
Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010