java.lang.Object
com.vuze.plugins.mlab.tools.ndt.swingemu.Component
com.vuze.plugins.mlab.tools.ndt.swingemu.JTextPane
edu.internet2.ndt.ResultsTextPane
Text pane component used as the chief results window that summarizes test results. This class is declared separately to allow easy extension for customization.
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longCompiler auto-generate value not directly related to class functionality.Constructor Summary
ConstructorsConstructorDescriptionThe pane starts empty; text arrives throughappend(String)and insert(), so nothing is configured at construction.Method Summary
All MethodsModifier and TypeMethodDescriptionvoidMethod to append String into the current document.voidinsertComponent(Component paramCompObj) JTextPane method to insert a component into the document as a replacement for currently selected content.Methods inherited from class JTextPane
getStyledDocument, setSelectionEnd, setSelectionStartModifier and TypeMethodDescriptionReturn the styled document.voidsetSelectionEnd(int i) The selection end (no-op).voidsetSelectionStart(int i) The selection start (no-op).Methods inherited from class Component
add, add, add, addMouseListener, addWindowListener, getToolkit, pack, repaint, setBorder, setCursor, setEditable, setEnabled, setForeground, setLayout, setLayout, setPreferredSize, setResizable, setSize, setTitle, setVisibleModifier and TypeMethodDescriptionvoidStub, discards its arguments.voidStub, discards its arguments.voidStub, discards its arguments.voidStub, discards its arguments.voidStub, discards its arguments.Creates a stub toolkit; this AWT emulation has no real one.voidpack()Stub, does nothing.voidrepaint()Stub, does nothing.voidStub, discards its arguments.voidStub, discards its arguments.voidsetEditable(boolean b) Stub, discards its arguments.voidsetEnabled(boolean b) Stub, discards its arguments.voidStub, discards its arguments.voidStub, discards its arguments.voidStub, discards its arguments.voidStub, discards its arguments.voidsetResizable(boolean b) Stub, discards its arguments.voidsetSize(int i, int j) Stub, discards its arguments.voidStub, discards its arguments.voidsetVisible(boolean b) Stub, discards its arguments.
Field Details
serialVersionUID
private static final long serialVersionUIDCompiler auto-generate value not directly related to class functionality.- See Also:
Constructor Details
ResultsTextPane
public ResultsTextPane()The pane starts empty; text arrives throughappend(String)and insert(), so nothing is configured at construction.
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