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