Package edu.internet2.ndt
Class ResultsTextPane
java.lang.Object
com.vuze.plugins.mlab.tools.ndt.swingemu.Component
com.vuze.plugins.mlab.tools.ndt.swingemu.JTextPane
edu.internet2.ndt.ResultsTextPane
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidMethod to append String into the current documentvoidinsertComponent(Component paramCompObj) JTextPane method to insert a component into the document as a replacement for currently selected content.Methods inherited from class com.vuze.plugins.mlab.tools.ndt.swingemu.JTextPane
getStyledDocument, setSelectionEnd, setSelectionStartMethods inherited from class com.vuze.plugins.mlab.tools.ndt.swingemu.Component
add, add, add, addMouseListener, addWindowListener, getToolkit, pack, repaint, setBorder, setCursor, setEditable, setEnabled, setForeground, setLayout, setLayout, setPreferredSize, setResizable, setSize, setTitle, setVisible
-
Constructor Details
-
ResultsTextPane
public ResultsTextPane()
-
-
Method Details
-
append
Method to append String into the current document- Parameters:
paramTextStr- String to be inserted into the document
-
insertComponent
JTextPane method to insert a component into the document as a replacement for currently selected content. If no selection is made, the the component is inserted at the current position of the caret.- Overrides:
insertComponentin classJTextPane- Parameters:
paramCompObj- the component to insert
-