javax.swing.text |
|
Java Source File Name | Type | Comment |
AbstractContentUndoableEdit.java | Class | |
AbstractDocument.java | Class | |
AbstractDocumentTest.java | Class | Tests functionality of AbstractDocument class. |
AbstractDocument_AbstractElementRTest.java | Class | |
AbstractDocument_AbstractElementTest.java | Class | Tests AbstractDocument.AbstractElement class. |
AbstractDocument_AbstractElement_MASNoLockTest.java | Class | Tests AbstractDocument.AbstractElement class - the part which
implements MutableAttributeSet interface - when no the document
is not write-locked. |
AbstractDocument_AbstractElement_MASTest.java | Class | Tests AbstractDocument.AbstractElement class - the part which implements
MutableAttributeSet interface. |
AbstractDocument_AbstractElement_TreeNodeTest.java | Class | Tests methods of AbstractElement which implement TreeNode interface. |
AbstractDocument_AttributeContextTest.java | Class | |
AbstractDocument_BranchElementTest.java | Class | Tests AbstractDocument.BranchElement class. |
AbstractDocument_BranchElement_TreeNodeTest.java | Class | Tests AbstractDocument.BranchElement class methods
implementing TreeNode interface. |
AbstractDocument_ContentTest.java | Class | This class is to test methods of AbstractDocument.Content inteface. |
AbstractDocument_DefaultDocumentEventTest.java | Class | This class tests functions of AbstractDocument.DefaultDocumentEvent. |
AbstractDocument_ElementEditTest.java | Class | All test methods should take into account that start and end positions of
an element are moved as the document is mutated (text is changed). |
AbstractDocument_FilterTest.java | Class | Tests filtering fuctionality of AbstractDocument. |
AbstractDocument_LeafElementTest.java | Class | Tests AbstractDocument.LeafElement class. |
AbstractDocument_LeafElement_TreeNodeTest.java | Class | Tests AbstractDocument.LeafElement class methods implementing
TreeNode interface. |
AbstractDocument_ListenerLockTest.java | Class | Tests for bug:
AbstractDocument blocks if an exception is thrown from a listener code. |
AbstractDocument_ListenerTest.java | Class | |
AbstractDocument_SerializationTest.java | Class | |
AbstractDocument_UpdateTest.java | Class | |
AbstractWriter.java | Class | |
AbstractWriterTest.java | Class | |
AttributeSet.java | Interface | |
AttributeSetTest.java | Class | |
AWTCaret.java | Class | |
BadLocationException.java | Class | |
BoxView.java | Class | |
BoxViewRTest.java | Class | |
BoxViewTest.java | Class | |
BoxView_WithChildrenTest.java | Class | Tests BoxView class which has special children. |
Caret.java | Interface | |
ChangedCharSetException.java | Class | |
ComponentView.java | Class | |
ComponentViewTest.java | Class | |
ComposedTextInterval.java | Class | Interval with composed text. |
CompositeView.java | Class | |
CompositeViewRTest.java | Class | |
CompositeViewTest.java | Class | |
CompositeView_ModelViewTest.java | Class | Tests CompositeView methods that deal with model/view conversions. |
CompositeView_NextNSVisPosTest.java | Class | |
CompositeView_VisualPositionTest.java | Class | Tests how CompositeView traverses view hierarchy to calculate
next visual position. |
ContentPositions.java | Class | |
DateFormatter.java | Class | |
DateFormatterTest.java | Class | |
DefaultCaret.java | Class | |
DefaultCaretTest.java | Class | |
DefaultCaret_BidiTest.java | Class | |
DefaultCaret_MultithreadedTest.java | Class | |
DefaultEditorKit.java | Class | |
DefaultEditorKitRTest.java | Class | |
DefaultEditorKitTest.java | Class | |
DefaultEditorKit_Actions_MultithreadedTest.java | Class | |
DefaultFormatter.java | Class | |
DefaultFormatterFactory.java | Class | |
DefaultFormatterFactoryTest.java | Class | |
DefaultFormatterTest.java | Class | |
DefaultGlyphPainter.java | Class | Default GlyphPainter which is used when a GlyphView needs a painter but
none was set. |
DefaultGlyphPainterTest.java | Class | Tests default implementation of GlyphPainter abstract class. |
DefaultHighlighter.java | Class | |
DefaultHighlighterTest.java | Class | |
DefaultHighlighter_DefaultHighlightPainterTest.java | Class | |
DefaultStyledDocument.java | Class | |
DefaultStyledDocumentRTest.java | Class | |
DefaultStyledDocumentTest.java | Class | |
DefaultStyledDocument_AttributeUndoableEditTest.java | Class | |
DefaultStyledDocument_CreateElementTest.java | Class | Tests DefaultStyledDocument class. |
DefaultStyledDocument_CreateInsertTest.java | Class | Tests create() and insert() methods of
DefaultStyledDocument. |
DefaultStyledDocument_ElementBufferTest.java | Class | Tests DefaultStyledDocument.ElementBuffer class. |
DefaultStyledDocument_ElementBuffer_ChangeTest.java | Class | Tests the behavior of
DefaultStyledDocument.ElementBuffer.change() method. |
DefaultStyledDocument_ElementBuffer_InsertMiscTest.java | Class | Contains the test case that failed when inserting into the document using
insertString method. |
DefaultStyledDocument_ElementBuffer_InsertNewLineTest.java | Class | Tests DefaultStyledDocument.ElementBuffer.insert() method with
ElementSpec array that was obtained from real-life text insertions. |
DefaultStyledDocument_ElementBuffer_InsertSeveralNewLinesTest.java | Class | Tests DefaultStyledDocument.ElementBuffer.insert() method with
ElementSpec array that was obtained from real-life text insertions. |
DefaultStyledDocument_ElementBuffer_InsertTextTest.java | Class | Tests DefaultStyledDocument.ElementBuffer.insert() method with
ElementSpec array that was obtained from real-life text insertions. |
DefaultStyledDocument_ElementBuffer_RemoveTest.java | Class | Tests the behavior of
DefaultStyledDocument.ElementBuffer.remove() method. |
DefaultStyledDocument_ElementBuffer_Specs1Test.java | Class | Tests DefaultStyledDocument class, in particular which ElementSpecs are
created during insertString with different parameters.
These tests insert some text into empty document,
i.e. |
DefaultStyledDocument_ElementBuffer_Specs2Test.java | Class | Tests DefaultStyledDocument class, in particular which ElementSpecs are
created during insertString with different parameters.
These tests insert some text into document containing following text
"first\nsecond\nthird" plus implied newline character.
Thus document has three paragraphs (Branch)
with one content (Leaf) under each paragraph.
Except for the above, this test-case is similar to
DefaultStyledDocument_ElementBuffer_Spec1Test .
The text is inserted into leaf of modifiedIndex at
offset insertOffset . |
DefaultStyledDocument_ElementBuffer_Specs3Test.java | Class | Tests DefaultStyledDocument class, in particular which ElementSpecs are
created during insertString with different parameters.
These tests insert some text into document containing one paragraph of
attributed text:
"plainbolditalic" plus implied newline character.
Thus document has one paragraph (Branch)
with three contents (Leaf) under the paragraph.
The text is inserted into leaf of leafIndex at
offset insertOffset . |
DefaultStyledDocument_ElementBuffer_UpdateTest.java | Class | Tests DefaultStyledDocument.ElementBuffer class. |
DefaultStyledDocument_ElementsAndAttributesTest.java | Class | Tests methods of DefaultStyledDocument which deal with getting paragraph
and character elements, setting their attributes and logical styles. |
DefaultStyledDocument_ElementSpecTest.java | Class | |
DefaultStyledDocument_SectionElementTest.java | Class | Tests DefaultStyledDocument.SectionElement class. |
DefaultStyledDocument_StylesAndStdAttrsTest.java | Class | Tests DefaultStyledDocument class: methods related to style management and
getting standard attributes from an AttributeSet. |
DefStyledDoc_Helpers.java | Class | Contains "complex" assert methods as well as logging versions
of DefaultStyledDocument and
DefaultStyledDocument.ElementBuffer which facilitate testing
and debugging. |
Document.java | Interface | |
DocumentFilter.java | Class | |
DocumentTest.java | Class | |
EditorKit.java | Class | |
EditorKitTest.java | Class | |
Element.java | Interface | |
ElementIterator.java | Class | |
ElementIteratorTest.java | Class | |
EmptyAttributeSet.java | Class | Implementation of empty attribute set. |
EmptyAttributeSetTest.java | Class | |
FieldView.java | Class | |
FieldViewI18N.java | Class | |
FieldViewTest.java | Class | |
FlowView.java | Class | |
FlowViewTest.java | Class | Tests the majority of methods of FlowView class. |
FlowView_ChangesTest.java | Class | Tests FlowView methods which react to changes in the associated document. |
FlowView_FlowStrategyTest.java | Class | |
FlowView_FlowStrategy_HostedRTest.java | Class | This class tests the behavior of {insert, remove, changed}Update
methods in FlowView.FlowStrategy in situation where FlowView
has associated container. |
GapContent.java | Class | |
GapContentRTest.java | Class | Tests for GapContent class. |
GapContentTest.java | Class | |
GapContent_ComplexUndoTest.java | Class | |
GapContent_GapVectorTest.java | Class | |
GapContent_InternalTest.java | Class | Tests some internal functionality of GapContent but not its methods. |
GapContent_PositionTest.java | Class | Tests GapContent methods which were in GapVector in respect to updating
positions. |
GapContent_SerializeTest.java | Class | |
GapContent_UndoTest.java | Class | |
GlyphView.java | Class | |
GlyphViewRTest.java | Class | |
GlyphViewTest.java | Class | Tests GlyphView class. |
GlyphView_AttributesTest.java | Class | Tests GlyphView class, its methods to get attributes. |
GlyphView_BreakTest.java | Class | Tests breaking behavior of GlyphView. |
GlyphView_ChangesTest.java | Class | Tests GlyphView methods which react to changes in a document. |
GlyphView_GlyphPainterTest.java | Class | Tests how GlyphView uses GlyphPainter. |
Highlighter.java | Interface | |
IconView.java | Class | |
IconViewTest.java | Class | |
InternationalFormatter.java | Class | |
InternationalFormatterRTest.java | Class | |
InternationalFormatterTest.java | Class | |
JTextComponent.java | Class | |
JTextComponentRTest.java | Class | |
JTextComponentTest.java | Class | |
JTextComponent_AccessibleJTextComponentTest.java | Class | |
JTextComponent_AccessibleJTextComponent_variousTextTest.java | Class | |
JTextComponent_byAuxiliaryComponentTest.java | Class | |
JTextComponent_IMLocationTest.java | Class | |
JTextComponent_IMTest.java | Class | |
JTextComponent_MultithreadedRTest.java | Class | |
JTextComponent_MultithreadedTest.java | Class | |
Keymap.java | Interface | |
LabelView.java | Class | |
LabelViewRTest.java | Class | |
LabelViewTest.java | Class | |
LayeredHighlighter.java | Class | |
MaskFormatter.java | Class | |
MaskFormatterTest.java | Class | |
MutableAttributeSet.java | Interface | |
MutableAttributeSetTest.java | Class | |
NavigationFilter.java | Class | |
NumberFormatter.java | Class | |
NumberFormatterTest.java | Class | |
ParagraphView.java | Class | |
ParagraphViewTest.java | Class | |
PasswordView.java | Class | |
PasswordViewTest.java | Class | |
PlainDocument.java | Class | |
PlainDocumentRTest.java | Class | |
PlainDocumentTest.java | Class | Tests functionality of PlainDocument class. |
PlainView.java | Class | |
PlainViewI18N.java | Class | Represents view for displaying bidirectional text. |
PlainViewI18NTest.java | Class | Tests PlainViewI18N class. |
PlainViewI18N_BidiTextViewTest.java | Class | |
PlainViewI18N_LayoutTest.java | Class | Tests PlainViewI18N class, in particular how views are laid out. |
PlainViewI18N_LineViewTest.java | Class | Tests PlainViewI18N.LineView class. |
PlainViewI18N_LineView_UpdateTest.java | Class | Tests PlainViewI18N.LineView class, in particular how it reacts to changes
in a document. |
PlainViewI18N_ModelViewTest.java | Class | Tests model/view conversions in PlainViewI18N class. |
PlainViewI18N_VisualPositionTest.java | Class | A bunch of tests for getNextVisualPositionFrom method in bidirectional
context. |
PlainViewTest.java | Class | This class tests PlainView behavior. |
PlainView_ChangesRTest.java | Class | |
PlainView_ChangesTest.java | Class | Tests mostly methods which are used when processing change
notifications. |
PlainView_SimpleTest.java | Class | Tests methods that don't require the proper view initialization.
This class uses very simple initialization. |
Position.java | Interface | |
PositionTest.java | Class | Tests the Position interface (actually checks Bias values only as
the Position interface itself is too simple and there is nothing to test). |
RootView.java | Class | |
Segment.java | Class | |
SegmentTest.java | Class | |
SelectedTextInterval.java | Class | Interval with selected text. |
SimpleAttributeSet.java | Class | |
SimpleAttributeSetTest.java | Class | |
StringContent.java | Class | |
StringContentTest.java | Class | Tests StringContent class. |
StringContentTest_CommonTest.java | Class | |
StringContent_ComplexUndoTest.java | Class | |
StringContent_UndoTest.java | Class | |
Style.java | Interface | |
StyleConstants.java | Class | |
StyleConstantsTest.java | Class | |
StyleContext.java | Class | |
StyleContextTest.java | Class | |
StyleContext_AddAttrsTest.java | Class | Tests for addAttributes method of StyleContext. |
StyleContext_AddAttrTest.java | Class | Tests for addAttribute method. |
StyleContext_NamedStyleTest.java | Class | |
StyleContext_PredefinedAttrTest.java | Class | Tests for getBackground, getFont, getFontMetrics, getForeground
methods. |
StyleContext_RemoveTest.java | Class | Tests for removeAttribute, removeAttributes(Enumeration),
removeAttributes(AttributeSet) methods. |
StyleContext_SerializableTest.java | Class | Tests serialization of StyleContext. |
StyleContext_SmallAttributeSetTest.java | Class | |
StyleContext_StaticAttrTest.java | Class | Tests for getStaticAttribute, getStaticAttributeKey, readAttributes,
readAttributeSet, registerStaticAttributeKey, writeAttributes,
writeAttributeSet methods. |
StyledDocument.java | Interface | |
StyledEditorKit.java | Class |
StyledEditorKit
Implementation Notes:
- The
serialVersionUID fields are explicitly declared as a performance
optimization, not as a guarantee of serialization compatibility. |
StyledEditorKitTest.java | Class | |
StyledEditorKit_ActionsTest.java | Class | |
StyledEditorKit_StyledTextActionTest.java | Class | |
StyleTest.java | Class | |
TabableView.java | Interface | |
TabExpander.java | Interface | |
TabSet.java | Class | |
TabSetTest.java | Class | |
TabStop.java | Class | |
TabStopTest.java | Class | |
TextAction.java | Class | |
TextActionTest.java | Class | |
TextAction_MultithreadedTest.java | Class | |
TextFactoryImpl.java | Class | |
TextInterval.java | Class | Represents a basic interval of text. |
TextPaintParams.java | Class | Stores parameters to paint text in plain text views. |
UnselectedTextInterval.java | Class | Interval with unselected text. |
Utilities.java | Class | |
UtilitiesTest.java | Class | |
View.java | Class | |
ViewFactory.java | Interface | |
ViewRTest.java | Class | |
ViewTest.java | Class | |
ViewTestHelpers.java | Class | This is utility class to manage child view creation. |
View_ChangesTest.java | Class | Tests changes-related methods of View class. |
View_ChildrenTest.java | Class | Tests View class methods which manage child views. |
View_ForwardUpdateRTest.java | Class | |
View_GetViewIndexTest.java | Class | |
View_NextVisualPositionFromTest.java | Class | Tests default implementation of View.getNextVisualPositionFrom method. |
View_VisualPositionTest.java | Class | Tests View.getNextVisualPositionFrom method on
PlainView which doesn't overrides this method. |
View_VisualPosition_PartTest.java | Class | Tests View.getNextVisualPositionFrom method on
PlainView which doesn't overrides this method. |
VisualPositionHelper.java | Class | Utility class to support testing of
View.getNextVisualPositionFrom method. |
WrappedPlainView.java | Class | |
WrappedPlainViewRTest.java | Class | |
WrappedPlainViewTest.java | Class | Tests WrappedPlainView methods which require "real" initialization. |
WrappedPlainView_SimpleTest.java | Class | Tests WrappedPlainView methods which can be tested with more simple
initialization (without actual GUI being created). |