Package | Description |
---|---|
org.assertj.swing.fixture |
Public API, source of AssertJ-Swing'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.dropAbove(int row)
Simulates a user dropping an item into this fixture's
JTree . |
JTreeFixture |
JTreeFixture.dropBelow(int row)
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
TreePath s to String s. |
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 |
AbstractContainerFixture.tree() |
JTreeFixture |
ComponentContainerFixture.tree()
Returns a
JTree found in this fixture's Container . |
JTreeFixture |
AbstractContainerFixture.tree(GenericTypeMatcher<? extends JTree> matcher) |
JTreeFixture |
ComponentContainerFixture.tree(GenericTypeMatcher<? extends JTree> matcher)
Finds a
JTree in this fixture's Container , that matches the specified search criteria. |
JTreeFixture |
AbstractContainerFixture.tree(String name) |
JTreeFixture |
ComponentContainerFixture.tree(String name)
Finds a
JTree in this fixture's Container , which name matches the specified one. |
JTreeFixture |
JTreeFixture.unselectPath(String path)
Unselects the given path, expanding parent nodes if necessary.
|
JTreeFixture |
JTreeFixture.unselectPaths(String... paths)
Unselect the given paths, expanding parent nodes if necessary.
|
JTreeFixture |
JTreeFixture.unselectRow(int row)
Simulates a user unselecting the tree node at the given row.
|
JTreeFixture |
JTreeFixture.unselectRows(int... rows)
Simulates a user unselecting the tree nodes at the given rows.
|
Constructor and Description |
---|
JTreePathFixture(JTreeFixture tree,
String path)
Creates a new
JTreePathFixture . |
JTreeRowFixture(JTreeFixture tree,
int index)
Creates a new
JTreeRowFixture . |
Copyright © 2014–2019 AssertJ. All rights reserved.