com.jaxfront.swing.ui.rtf
Class StyledText
java.lang.Object
com.jaxfront.swing.ui.rtf.StyledText
public class StyledText
- extends java.lang.Object
- Author:
- jaxfront-demo
TODO To change the template for this generated type comment go to
Window - Preferences - Java - Code Style - Code Templates
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StyledText
public StyledText(JEditorComboStyledEditor src,
javax.swing.JTextPane jEditorComboPane)
throws javax.swing.text.BadLocationException
- Throws:
javax.swing.text.BadLocationException
insert
public void insert(javax.swing.text.Document doc,
int insertPos)
throws javax.swing.text.BadLocationException,
java.io.IOException
- Throws:
javax.swing.text.BadLocationException
java.io.IOException
size
public int size()
getCharacterAttributes
public javax.swing.text.AttributeSet getCharacterAttributes(int chunkNo)
getCharactersAt
public java.lang.String getCharactersAt(int chunkNo)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
add
public void add(java.lang.String text,
javax.swing.text.AttributeSet ca)
clear
public void clear()