Package | Description |
---|---|
org.assertj.swing.fixture |
Public API, source of AssertJ-Swing's power and flexibility.
|
Modifier and Type | Method and Description |
---|---|
JListFixture |
JListFixture.clearSelection()
Clears the selection in this fixture's
JList . |
JListFixture |
JListFixture.clickItem(int index)
Simulates a user clicking an item in this fixture's
JList . |
JListFixture |
JListFixture.clickItem(Pattern pattern)
Simulates a user clicking an item in this fixture's
JList . |
JListFixture |
JListFixture.clickItem(String text)
Simulates a user clicking an item in this fixture's
JList . |
JListFixture |
JListFixture.drag(int index)
Simulates a user dragging an item from this fixture's
JList . |
JListFixture |
JListFixture.drag(Pattern pattern)
Simulates a drag operation at the location of the first item in this fixture's
JList matching the given
regular expression pattern. |
JListFixture |
JListFixture.drag(String text)
Simulates a drag operation at the location of the first item in this fixture's
JList matching the given
value. |
JListFixture |
JListFixture.drop(int index)
Simulates a user dropping an item to this fixture's
JList . |
JListFixture |
JListFixture.drop(Pattern pattern)
Ends a drag operation at the location of the first item matching the given regular expression pattern.
|
JListFixture |
JListFixture.drop(String text)
Ends a drag operation at the location of the first item matching the given value.
|
JListFixture |
JListFixture.dropAbove(int index)
Simulates a user dropping an item to this fixture's
JList . |
JListFixture |
JListFixture.dropBelow(int index)
Simulates a user dropping an item to this fixture's
JList . |
JListFixture |
AbstractContainerFixture.list() |
JListFixture |
ComponentContainerFixture.list()
Returns a
JList found in this fixture's Container . |
JListFixture |
AbstractContainerFixture.list(GenericTypeMatcher<? extends JList> matcher) |
JListFixture |
ComponentContainerFixture.list(GenericTypeMatcher<? extends JList> matcher)
Finds a
JList in this fixture's Container , that matches the specified search criteria. |
JListFixture |
AbstractContainerFixture.list(String name) |
JListFixture |
ComponentContainerFixture.list(String name)
Finds a
JList in this fixture's Container , which name matches the specified one. |
JListFixture |
JListFixture.requireItemCount(int expected)
Verifies that this fixture's
JList has the expected number of items |
JListFixture |
JListFixture.requireNoSelection()
Verifies that this fixture's
JList does not have any selection. |
JListFixture |
JListFixture.requireSelectedItems(int... indices)
Verifies that the given item indices are selected in this fixture's
JList . |
JListFixture |
JListFixture.requireSelectedItems(Pattern[] patterns)
Verifies that the
String representations of the selected items in this fixture's JList match the
given regular expression patterns. |
JListFixture |
JListFixture.requireSelectedItems(String... items)
Verifies that the
String representations of the selected items in this fixture's JList match the
given text items. |
JListFixture |
JListFixture.requireSelection(int index)
Verifies that the index of the selected item in this fixture's
JList is equal to the given value. |
JListFixture |
JListFixture.requireSelection(Pattern pattern)
Verifies that the
String representation of the selected item in this fixture's JList matches the
given regular expression pattern. |
JListFixture |
JListFixture.requireSelection(String text)
Verifies that the
String representation of the selected item in this fixture's JList matches the
given text. |
JListFixture |
JListFixture.selectItem(int index)
Simulates a user selecting an item in this fixture's
JList . |
JListFixture |
JListFixture.selectItem(Pattern pattern)
Simulates a user selecting an item in this fixture's
JList . |
JListFixture |
JListFixture.selectItem(String text)
Simulates a user selecting an item in this fixture's
JList . |
JListFixture |
JListFixture.selectItems(int... indices)
Simulates a user selecting the specified items in this fixture's
JList . |
JListFixture |
JListFixture.selectItems(Pattern... patterns)
Simulates a user selecting the specified items in this fixture's
JList . |
JListFixture |
JListFixture.selectItems(Range.From from,
Range.To to)
Simulates a user selecting the items (in the specified range) in this fixture's
JList . |
JListFixture |
JListFixture.selectItems(String... items)
Simulates a user selecting the specified items in this fixture's
JList . |
JListFixture |
JListFixture.unselectItem(int index)
Simulates a user unselecting an item in this fixture's
JList . |
JListFixture |
JListFixture.unselectItems(int... indices)
Simulates a user unselecting the specified items in this fixture's
JList . |
Constructor and Description |
---|
JListItemFixture(JListFixture list,
int index)
Creates a new
JListItemFixture . |
Copyright © 2014–2019 AssertJ. All rights reserved.