com.jaxfront.swing.ui.rtf
Class StyledText

java.lang.Object
  extended by 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

Constructor Summary
StyledText(JEditorComboStyledEditor src, javax.swing.JTextPane jEditorComboPane)
           
 
Method Summary
 void add(java.lang.String text, javax.swing.text.AttributeSet ca)
           
 void clear()
           
 javax.swing.text.AttributeSet getCharacterAttributes(int chunkNo)
           
 java.lang.String getCharactersAt(int chunkNo)
           
 void insert(javax.swing.text.Document doc, int insertPos)
           
 int size()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StyledText

public StyledText(JEditorComboStyledEditor src,
                  javax.swing.JTextPane jEditorComboPane)
           throws javax.swing.text.BadLocationException
Throws:
javax.swing.text.BadLocationException
Method Detail

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()