| Package | Description |
|---|---|
| org.assertj.swing.fixture |
Public API, source of FEST's power and flexibility.
|
| Modifier and Type | Method and Description |
|---|---|
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.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
JTree. |
JTreeFixture |
JTreeFixture.drag(String path)
Simulates a user dragging an item from this fixture's
JTree. |
JTreeFixture |
JTreeFixture.drop(int row)
Simulates a user dropping an item into this fixture's
JTree. |
JTreeFixture |
JTreeFixture.drop(String path)
Simulates a user dropping an item into this fixture's
JTree. |
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.replaceCellReader(JTreeCellReader cellReader)
Updates the implementation of
JTreeCellReader to use when comparing internal values of a JTree and
the values expected in a test. |
JTreeFixture |
JTreeFixture.replaceSeparator(String separator)
Updates the separator to use when converting
TreePaths to Strings. |
JTreeFixture |
JTreeFixture.requireEditable()
Asserts that this fixture's
JTree is editable. |
JTreeFixture |
JTreeFixture.requireNoSelection()
Asserts that this fixture's
JTree's does not have any selection. |
JTreeFixture |
JTreeFixture.requireNotEditable()
Asserts that this fixture's
JTree is not editable. |
JTreeFixture |
JTreeFixture.requireSelection(int... rows)
Asserts that this fixture's
JTree's selected rows are equal to the given one. |
JTreeFixture |
JTreeFixture.requireSelection(String... paths)
Asserts that this fixture's
JTree selection is equal to the given paths. |
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.toggleRow(int row)
Simulates a user toggling the open/closed state of the tree node at the given row.
|
JTreeFixture |
ComponentContainerFixture.tree()
Returns a
JTree found in this fixture's Container. |
JTreeFixture |
AbstractContainerFixture.tree() |
JTreeFixture |
ComponentContainerFixture.tree(GenericTypeMatcher<? extends JTree> matcher)
Finds a
JTree in this fixture's Container, that matches the specified search criteria. |
JTreeFixture |
AbstractContainerFixture.tree(GenericTypeMatcher<? extends JTree> matcher) |
JTreeFixture |
ComponentContainerFixture.tree(String name)
Finds a
JTree in this fixture's Container, which name matches the specified one. |
JTreeFixture |
AbstractContainerFixture.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 © 2014 AssertJ. All rights reserved.