public class JTextPane extends JComponent implements Document
actionCommand, actionListener, autoScrolls
enabled, height, id, minHeight, minWidth, mouseListener, name, parent, renderHeight, renderWidth, text, width
Constructor and Description |
---|
JTextPane() |
Modifier and Type | Method and Description |
---|---|
Document |
getDocument() |
void |
insertString(int i,
java.lang.String s,
java.lang.Object object) |
java.lang.String |
toHTML() |
addActionListener, getActionCommand, setActionCommand, setAutoscrolls
add, addComponent, getComponent, getComponentCount, getComponents, getSubcomponentHeight, getSubcomponentWidth, insertComponent, remove, removeAll
addMouseListener, getCSSstyle, getHeight, getName, getParent, getText, getWidth, isEnabled, isVisible, newID, repaint, setBackground, setEnabled, setMinimumSize, setName, setParent, setPreferredSize, setText, setVisible
public Document getDocument()
public void insertString(int i, java.lang.String s, java.lang.Object object)
insertString
in interface Document