| javax.swing.JEditorPane javax.swing.JTextPane
JTextPane | public JTextPane()(Code) | | |
insertComponent | public synchronized void insertComponent(Component c)(Code) | | To insert component we should insert in the document whitespace with
special attribute StyleConstants.ComponentAttribute
|
insertIcon | public synchronized void insertIcon(Icon g)(Code) | | To insert icon we should insert in the document whitespace with
special attribute StyleConstants.IconAttribute
|
replaceSelection | public void replaceSelection(String content)(Code) | | This method differs from JEditorPane.replaceSelection only in one case.
If there is selection the replacement text should have not the attributes
currently defined for input, but the attributes of the first selected
symbol.
|
setCharacterAttributes | public synchronized void setCharacterAttributes(AttributeSet attr, boolean replace)(Code) | | |
setLogicalStyle | public void setLogicalStyle(Style s)(Code) | | |
setParagraphAttributes | public synchronized void setParagraphAttributes(AttributeSet attr, boolean replace)(Code) | | |
|
|