| javax.swing.BasicSwingTestCase javax.swing.text.CompositeViewTest
Inner Class :protected static class CompositeViewImpl extends CompositeView | |
Field Summary | |
static boolean | useBoth Controls implementation of isAfter(), isBefore() in CompositeViewImpl. | static boolean | useX |
useBoth | static boolean useBoth(Code) | | Controls implementation of isAfter(), isBefore() in CompositeViewImpl.
|
getAttributeSet | static AttributeSet getAttributeSet(int start, int end)(Code) | | Creates an attribute set with a subset of key-value pairs.
Parameters: start - the first index to use Parameters: end - (end - 1) is the last index to use created attribute set |
getAttributeSet | static AttributeSet getAttributeSet()(Code) | | Creates attribute set with all the key-value pairs.
created attribute set |
testCompositeView | public void testCompositeView()(Code) | | |
testFlipEastAndWestAtEnds | public void testFlipEastAndWestAtEnds()(Code) | | |
testGetBottomInset | public void testGetBottomInset()(Code) | | |
testGetChildAllocation | public void testGetChildAllocation()(Code) | | |
testGetInsideAllocation | public void testGetInsideAllocation()(Code) | | |
testGetInsideAllocationOverridden | public void testGetInsideAllocationOverridden()(Code) | | |
testGetLeftInset | public void testGetLeftInset()(Code) | | |
testGetRightInset | public void testGetRightInset()(Code) | | |
testGetTopInset | public void testGetTopInset()(Code) | | |
testGetView | public void testGetView()(Code) | | |
testGetViewAtPosition | public void testGetViewAtPosition()(Code) | | |
testGetViewCount | public void testGetViewCount()(Code) | | |
testGetViewIndexAtPosition | public void testGetViewIndexAtPosition()(Code) | | |
testGetViewIndexintBias | public void testGetViewIndexintBias()(Code) | | This tests int getViewIndex(int, Bias) .
The object is constructed upon root element of plain text document.
This element starts at document start (offset of 0) and ends at
document end (view.getEndOffset() == doc.getLength() ).
|
testGetViewIndexintBiasNotRoot | public void testGetViewIndexintBiasNotRoot() throws BadLocationException(Code) | | This tests int getViewIndex(int, Bias) .
The object is constructed upon element which represents a paragraph
of a styled text document. The element niether starts at 0, nor it ends
at doc.getLength() .
|
testLoadChildren01 | public void testLoadChildren01()(Code) | | Tests the number of children before and after the call.
|
testLoadChildrenNull | public void testLoadChildrenNull()(Code) | | |
testSetInsets | public void testSetInsets()(Code) | | |
testSetParagraphInsets | public void testSetParagraphInsets()(Code) | | |
testSetParent | public void testSetParent()(Code) | | |
testSetParentNoViewFactory | public void testSetParentNoViewFactory() throws Exception(Code) | | |
Methods inherited from javax.swing.BasicSwingTestCase | public static void assertEquals(Object[] expected, Object[] actual)(Code)(Java Doc) protected Graphics createTestGraphics()(Code)(Java Doc) protected Component findComponent(Container root, Class> findClass, boolean exactClassMatch)(Code)(Java Doc) protected FontMetrics getFontMetrics(Font fnt)(Code)(Java Doc) protected FontMetrics getFontMetrics(Font fnt, int charWidth)(Code)(Java Doc) protected FontMetrics getFontMetrics(Font fnt, int charWidth, int charHeight)(Code)(Java Doc) protected EventListener getListener(EventListener[] listeners, Class> listenerClass)(Code)(Java Doc) protected boolean hasListener(EventListener[] listeners, Class> listenerClass)(Code)(Java Doc) public static boolean isHarmony()(Code)(Java Doc) protected boolean isSystemWindow(Frame f)(Code)(Java Doc) protected void rethrow(Throwable exception) throws Throwable(Code)(Java Doc) public void runBare() throws Throwable(Code)(Java Doc) protected Throwable runBareImpl() throws Throwable(Code)(Java Doc) protected void runBareSuper() throws Throwable(Code)(Java Doc) public static Object serializeObject(Object objectToWrite) throws IOException, ClassNotFoundException(Code)(Java Doc) public void setIgnoreNotImplemented(boolean b)(Code)(Java Doc) protected void setUp() throws Exception(Code)(Java Doc) protected void tearDown() throws Exception(Code)(Java Doc) protected void testExceptionalCase(ExceptionalCase ec)(Code)(Java Doc) protected void traverseComponentTree(Component root, TraverseAction action)(Code)(Java Doc) protected boolean waitForFocus(Component c) throws Exception(Code)(Java Doc) protected void waitForIdle() throws Exception(Code)(Java Doc)
|
|
|