Package | Description |
---|---|
org.fest.swing.fixture |
The power and flexibility of FEST-Swing come from the fixtures in
this package.
|
Modifier and Type | Method and Description |
---|---|
JTreeFixture |
JTreeFixture.cellReader(JTreeCellReader cellReader)
Updates the implementation of
to use when comparing internal values of a
and the values expected in a test. |
JTreeFixture |
JTreeFixture.click()
Simulates a user clicking this fixture's
. |
JTreeFixture |
JTreeFixture.click(MouseButton button)
Simulates a user clicking this fixture's
. |
JTreeFixture |
JTreeFixture.click(MouseClickInfo mouseClickInfo)
Simulates a user clicking this fixture's
. |
JTreeFixture |
JTreeFixture.clickPath(String path)
Clicks the given path, expanding parent nodes if necessary.
|
JTreeFixture |
JTreeFixture.clickPath(String path,
MouseButton button)
Clicks the given path, expanding parent nodes if necessary.
|
JTreeFixture |
JTreeFixture.clickPath(String path,
MouseClickInfo mouseClickInfo)
Clicks the given path, expanding parent nodes if necessary.
|
JTreeFixture |
JTreeFixture.clickRow(int row)
Clicks the given row.
|
JTreeFixture |
JTreeFixture.clickRow(int row,
MouseButton button)
Clicks the given row.
|
JTreeFixture |
JTreeFixture.clickRow(int row,
MouseClickInfo mouseClickInfo)
Clicks the given row.
|
JTreeFixture |
JTreeFixture.collapsePath(String path)
Simulates a user collapsing the tree node at the given path.
|
JTreeFixture |
JTreeFixture.collapseRow(int row)
Simulates a user collapsing the tree node at the given row.
|
JTreeFixture |
JTreeFixture.doubleClick()
Simulates a user double-clicking this fixture's
. |
JTreeFixture |
JTreeFixture.doubleClickPath(String path)
Double-clicks the given path.
|
JTreeFixture |
JTreeFixture.doubleClickRow(int row)
Double-clicks the given row.
|
JTreeFixture |
JTreeFixture.drag(int row)
Simulates a user dragging a row from this fixture's
. |
JTreeFixture |
JTreeFixture.drag(String path)
Simulates a user dragging an item from this fixture's
. |
JTreeFixture |
JTreeFixture.drop(int row)
Simulates a user dropping an item into this fixture's
. |
JTreeFixture |
JTreeFixture.drop(String path)
Simulates a user dropping an item into this fixture's
. |
JTreeFixture |
JTreeFixture.expandPath(String path)
Simulates a user expanding the tree node at the given path.
|
JTreeFixture |
JTreeFixture.expandRow(int row)
Simulates a user expanding the tree node at the given row.
|
JTreeFixture |
JTreeFixture.focus()
Gives input focus to this fixture's
. |
JTreeFixture |
JTreeFixture.pressAndReleaseKey(KeyPressInfo keyPressInfo)
Simulates a user pressing given key with the given modifiers on this fixture's
. |
JTreeFixture |
JTreeFixture.pressAndReleaseKeys(int... keyCodes)
Simulates a user pressing and releasing the given keys in this fixture's
. |
JTreeFixture |
JTreeFixture.pressKey(int keyCode)
Simulates a user pressing the given key on this fixture's
. |
JTreeFixture |
JTreeFixture.releaseKey(int keyCode)
Simulates a user releasing the given key on this fixture's
. |
JTreeFixture |
JTreeFixture.requireDisabled()
Asserts that this fixture's
is disabled. |
JTreeFixture |
JTreeFixture.requireEditable()
Asserts that this fixture's
is editable. |
JTreeFixture |
JTreeFixture.requireEnabled()
Asserts that this fixture's
is enabled. |
JTreeFixture |
JTreeFixture.requireEnabled(Timeout timeout)
Asserts that this fixture's
is enabled. |
JTreeFixture |
JTreeFixture.requireFocused()
Asserts that this fixture's
has input focus. |
JTreeFixture |
JTreeFixture.requireNoSelection()
Asserts that this fixture's
's does not have any selection. |
JTreeFixture |
JTreeFixture.requireNotEditable()
Asserts that this fixture's
is not editable. |
JTreeFixture |
JTreeFixture.requireNotVisible()
Asserts that this fixture's
is not visible. |
JTreeFixture |
JTreeFixture.requireSelection(int... rows)
Asserts that this fixture's
's selected rows are equal to the given one. |
JTreeFixture |
JTreeFixture.requireSelection(String... paths)
Asserts that this fixture's
selection is equal to the given paths. |
JTreeFixture |
JTreeFixture.requireToolTip(Pattern pattern)
Asserts that the toolTip in this fixture's
matches the given regular expression
pattern. |
JTreeFixture |
JTreeFixture.requireToolTip(String expected)
Asserts that the toolTip in this fixture's
matches the given value. |
JTreeFixture |
JTreeFixture.requireVisible()
Asserts that this fixture's
is visible. |
JTreeFixture |
JTreeFixture.rightClick()
Simulates a user right-clicking this fixture's
. |
JTreeFixture |
JTreeFixture.rightClickPath(String path)
Right-clicks the given path, expanding parent nodes if necessary.
|
JTreeFixture |
JTreeFixture.rightClickRow(int row)
Right-clicks the given row.
|
JTreeFixture |
JTreeFixture.selectPath(String path)
Selects the given path, expanding parent nodes if necessary.
|
JTreeFixture |
JTreeFixture.selectPaths(String... paths)
Select the given paths, expanding parent nodes if necessary.
|
JTreeFixture |
JTreeFixture.selectRow(int row)
Simulates a user selecting the tree node at the given row.
|
JTreeFixture |
JTreeFixture.selectRows(int... rows)
Simulates a user selecting the tree nodes at the given rows.
|
JTreeFixture |
JTreeFixture.separator(String separator)
Updates the separator to use when converting
s to String s. |
JTreeFixture |
JTreeFixture.toggleRow(int row)
Simulates a user toggling the open/closed state of the tree node at the given row.
|
JTreeFixture |
ContainerFixture.tree()
|
JTreeFixture |
ComponentContainerFixture.tree()
|
JTreeFixture |
ContainerFixture.tree(GenericTypeMatcher<? extends JTree> matcher)
|
JTreeFixture |
ComponentContainerFixture.tree(GenericTypeMatcher<? extends JTree> matcher)
|
JTreeFixture |
ContainerFixture.tree(String name)
|
JTreeFixture |
ComponentContainerFixture.tree(String name)
|
Constructor and Description |
---|
JTreePathFixture(JTreeFixture tree,
String path)
Creates a new
JTreePathFixture . |
JTreeRowFixture(JTreeFixture tree,
int index)
Creates a new
JTreeRowFixture . |
Copyright © 2007-2013 FEST (Fixtures for Easy Software Testing). All Rights Reserved.