Class JTextPane
java.lang.Object
org.jmol.awtjs.swing.Component
org.jmol.awtjs.swing.Container
org.jmol.awtjs.swing.JComponent
org.jmol.awtjs.swing.JTextPane
- All Implemented Interfaces:
Document
A simple implementation of a Swing JTextPane.
Operates as its own Document; no attributes
- Author:
- hansonr
-
Field Summary
Fields inherited from class JComponent
actionCommand, actionListener, autoScrollsFields inherited from class Component
enabled, height, id, minHeight, minWidth, mouseListener, name, parent, renderHeight, renderWidth, text, width -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class JComponent
addActionListener, getActionCommand, setActionCommand, setAutoscrollsMethods inherited from class Container
add, addComponent, getComponent, getComponentCount, getComponents, getSubcomponentHeight, getSubcomponentWidth, insertComponent, remove, removeAllMethods inherited from class Component
addMouseListener, getCSSstyle, getHeight, getName, getParent, getText, getWidth, isEnabled, isVisible, newID, repaint, setBackground, setEnabled, setMinimumSize, setName, setParent, setPreferredSize, setText, setVisible
-
Constructor Details
-
JTextPane
public JTextPane()
-
-
Method Details
-
getDocument
-
insertString
- Specified by:
insertStringin interfaceDocument
-
toHTML
-