- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Iterable<QTestEvent>
,Collection<QTestEvent>
,List<QTestEvent>
List of GUI events
Java wrapper for Qt class QTestEventList
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
addAll
(int index, Collection<? extends QTestEvent> c) Inserts all of the elements in the specified collection into this list at the specified position.final boolean
addAll
(Collection<? extends QTestEvent> c) Appends all of the elements in the specified collection to the end of this list.final void
addDelay
(int msecs) final void
addKeyClick
(byte ascii) Overloaded function foraddKeyClick(byte, io.qt.core.Qt.KeyboardModifiers, int)
final void
addKeyClick
(byte ascii, Qt.KeyboardModifiers modifiers) Overloaded function foraddKeyClick(byte, io.qt.core.Qt.KeyboardModifiers, int)
withmsecs = -1
.final void
addKeyClick
(byte ascii, Qt.KeyboardModifiers modifiers, int msecs) final void
addKeyClick
(Qt.Key qtKey) Overloaded function foraddKeyClick(io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
final void
addKeyClick
(Qt.Key qtKey, Qt.KeyboardModifiers modifiers) Overloaded function foraddKeyClick(io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
withmsecs = -1
.final void
addKeyClick
(Qt.Key qtKey, Qt.KeyboardModifiers modifiers, int msecs) final void
addKeyClicks
(String keys) Overloaded function foraddKeyClicks(java.lang.String, io.qt.core.Qt.KeyboardModifiers, int)
final void
addKeyClicks
(String keys, Qt.KeyboardModifiers modifiers) Overloaded function foraddKeyClicks(java.lang.String, io.qt.core.Qt.KeyboardModifiers, int)
withmsecs = -1
.final void
addKeyClicks
(String keys, Qt.KeyboardModifiers modifiers, int msecs) final void
addKeyEvent
(QTest.KeyAction action, byte ascii) Overloaded function foraddKeyEvent(io.qt.test.QTest.KeyAction, byte, io.qt.core.Qt.KeyboardModifiers, int)
final void
addKeyEvent
(QTest.KeyAction action, byte ascii, Qt.KeyboardModifiers modifiers) Overloaded function foraddKeyEvent(io.qt.test.QTest.KeyAction, byte, io.qt.core.Qt.KeyboardModifiers, int)
withmsecs = -1
.final void
addKeyEvent
(QTest.KeyAction action, byte ascii, Qt.KeyboardModifiers modifiers, int msecs) SeeQTestEventList::
addKeyEvent(QTest::KeyAction, char, Qt::KeyboardModifiers, int) final void
addKeyEvent
(QTest.KeyAction action, Qt.Key qtKey) Overloaded function foraddKeyEvent(io.qt.test.QTest.KeyAction, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
final void
addKeyEvent
(QTest.KeyAction action, Qt.Key qtKey, Qt.KeyboardModifiers modifiers) Overloaded function foraddKeyEvent(io.qt.test.QTest.KeyAction, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
withmsecs = -1
.final void
addKeyEvent
(QTest.KeyAction action, Qt.Key qtKey, Qt.KeyboardModifiers modifiers, int msecs) SeeQTestEventList::
addKeyEvent(QTest::KeyAction, Qt::Key, Qt::KeyboardModifiers, int) final void
addKeyPress
(byte ascii) Overloaded function foraddKeyPress(byte, io.qt.core.Qt.KeyboardModifiers, int)
final void
addKeyPress
(byte ascii, Qt.KeyboardModifiers modifiers) Overloaded function foraddKeyPress(byte, io.qt.core.Qt.KeyboardModifiers, int)
withmsecs = -1
.final void
addKeyPress
(byte ascii, Qt.KeyboardModifiers modifiers, int msecs) final void
addKeyPress
(Qt.Key qtKey) Overloaded function foraddKeyPress(io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
final void
addKeyPress
(Qt.Key qtKey, Qt.KeyboardModifiers modifiers) Overloaded function foraddKeyPress(io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
withmsecs = -1
.final void
addKeyPress
(Qt.Key qtKey, Qt.KeyboardModifiers modifiers, int msecs) final void
addKeyRelease
(byte ascii) Overloaded function foraddKeyRelease(byte, io.qt.core.Qt.KeyboardModifiers, int)
final void
addKeyRelease
(byte ascii, Qt.KeyboardModifiers modifiers) Overloaded function foraddKeyRelease(byte, io.qt.core.Qt.KeyboardModifiers, int)
withmsecs = -1
.final void
addKeyRelease
(byte ascii, Qt.KeyboardModifiers modifiers, int msecs) final void
addKeyRelease
(Qt.Key qtKey) Overloaded function foraddKeyRelease(io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
final void
addKeyRelease
(Qt.Key qtKey, Qt.KeyboardModifiers modifiers) Overloaded function foraddKeyRelease(io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
withmsecs = -1
.final void
addKeyRelease
(Qt.Key qtKey, Qt.KeyboardModifiers modifiers, int msecs) final void
addMouseClick
(Qt.MouseButton button) final void
addMouseClick
(Qt.MouseButton button, Qt.KeyboardModifiers stateKey) final void
addMouseClick
(Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function foraddMouseClick(io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
.final void
addMouseClick
(Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) final void
addMouseDClick
(Qt.MouseButton button) final void
addMouseDClick
(Qt.MouseButton button, Qt.KeyboardModifiers stateKey) final void
addMouseDClick
(Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function foraddMouseDClick(io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
.final void
addMouseDClick
(Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) final void
Overloaded function foraddMouseMove(io.qt.core.QPoint, int)
final void
addMouseMove
(QPoint pos) Overloaded function foraddMouseMove(io.qt.core.QPoint, int)
withdelay = -1
.final void
addMouseMove
(QPoint pos, int delay) final void
addMousePress
(Qt.MouseButton button) final void
addMousePress
(Qt.MouseButton button, Qt.KeyboardModifiers stateKey) final void
addMousePress
(Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function foraddMousePress(io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
.final void
addMousePress
(Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) final void
addMouseRelease
(Qt.MouseButton button) final void
addMouseRelease
(Qt.MouseButton button, Qt.KeyboardModifiers stateKey) final void
addMouseRelease
(Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function foraddMouseRelease(io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
.final void
addMouseRelease
(Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) clone()
Creates and returns a copy of this object.final boolean
containsAll
(Collection<?> c) Returnstrue
if this container contains all of the elements in the specified collection.int
hashCode()
Returns the objects's hash code computed byqHash(QTestEventList)
.final Iterator<QTestEvent>
iterator()
Returns an iterator over elements of typeT
.final ListIterator<QTestEvent>
Returns a list iterator over the elements in this list (in proper sequence).final ListIterator<QTestEvent>
listIterator
(int index) Returns a list iterator over the elements in this list (in proper sequence), starting at the specified position in the list.final void
purge()
final QTestEvent
remove
(int index) Removes the element at the specified position in this list.final boolean
removeAll
(Collection<?> c) Removes all of this container elements that are also contained in the specified collection.final boolean
retainAll
(Collection<?> c) Retains only the elements in this list that are contained in the specified collection (optional operation).final void
final List<QTestEvent>
subList
(int fromIndex, int toIndex) Returns a view of the portion of this list between the specifiedfromIndex
, inclusive, andtoIndex
, exclusive.final Object[]
toArray()
Returns an array containing all of the elements in this container.final <A> A[]
toArray
(A[] a) Returns an array containing all of the elements in this container.Methods inherited from class io.qt.core.QList
add, add, append, append, at, begin, capacity, clear, constBegin, constEnd, contains, count, count, createVariantList, createVariantList, end, endsWith, equals, fill, fill, first, get, indexOf, indexOf, insert, insert, isEmpty, last, lastIndexOf, lastIndexOf, length, mid, mid, move, of, of, prepend, readFrom, remove, remove, removeAll, removeAt, removeFirst, removeIf, removeLast, removeOne, replace, reserve, resize, set, size, squeeze, startsWith, swapItemsAt, takeAt, takeFirst, takeLast, toString, value, value, writeTo
Methods inherited from class io.qt.QtObject
dispose, isDisposed
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
Methods inherited from interface java.util.List
containsAll, iterator, removeAll, replaceAll, sort, spliterator, toArray, toArray
-
Constructor Details
-
QTestEventList
public QTestEventList() -
QTestEventList
-
-
Method Details
-
addDelay
-
addKeyClick
@QtUninvokable public final void addKeyClick(Qt.Key qtKey, Qt.KeyboardModifiers modifiers, int msecs) -
addKeyClick
-
addKeyClicks
@QtUninvokable public final void addKeyClicks(String keys, Qt.KeyboardModifiers modifiers, int msecs) -
addKeyEvent
@QtUninvokable public final void addKeyEvent(QTest.KeyAction action, Qt.Key qtKey, Qt.KeyboardModifiers modifiers, int msecs) See
QTestEventList::
addKeyEvent(QTest::KeyAction, Qt::Key, Qt::KeyboardModifiers, int) -
addKeyEvent
@QtUninvokable public final void addKeyEvent(QTest.KeyAction action, byte ascii, Qt.KeyboardModifiers modifiers, int msecs) See
QTestEventList::
addKeyEvent(QTest::KeyAction, char, Qt::KeyboardModifiers, int) -
addKeyPress
@QtUninvokable public final void addKeyPress(Qt.Key qtKey, Qt.KeyboardModifiers modifiers, int msecs) -
addKeyPress
-
addKeyRelease
@QtUninvokable public final void addKeyRelease(Qt.Key qtKey, Qt.KeyboardModifiers modifiers, int msecs) -
addKeyRelease
@QtUninvokable public final void addKeyRelease(byte ascii, Qt.KeyboardModifiers modifiers, int msecs) -
addMouseClick
@QtUninvokable public final void addMouseClick(Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) -
addMouseDClick
@QtUninvokable public final void addMouseDClick(Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) -
addMouseMove
-
addMousePress
@QtUninvokable public final void addMousePress(Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) -
addMouseRelease
@QtUninvokable public final void addMouseRelease(Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos, int delay) -
purge
-
simulate
-
hashCode
Returns the objects's hash code computed byqHash(QTestEventList)
.- Specified by:
hashCode
in interfaceCollection<QTestEvent>
- Specified by:
hashCode
in interfaceList<QTestEvent>
- Overrides:
hashCode
in classQList<QTestEvent>
-
clone
Creates and returns a copy of this object.
- Overrides:
clone
in classQList<QTestEvent>
-
addKeyClick
Overloaded function for
addKeyClick(io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
withmsecs = -1
. -
addKeyClick
Overloaded function for
addKeyClick(io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
with:
modifiers = new io.qt.core.Qt.KeyboardModifiers(0)
msecs = -1
-
addKeyClick
Overloaded function for
addKeyClick(byte, io.qt.core.Qt.KeyboardModifiers, int)
withmsecs = -1
. -
addKeyClick
Overloaded function for
addKeyClick(byte, io.qt.core.Qt.KeyboardModifiers, int)
with:
modifiers = new io.qt.core.Qt.KeyboardModifiers(0)
msecs = -1
-
addKeyClicks
Overloaded function for
addKeyClicks(java.lang.String, io.qt.core.Qt.KeyboardModifiers, int)
withmsecs = -1
. -
addKeyClicks
Overloaded function for
addKeyClicks(java.lang.String, io.qt.core.Qt.KeyboardModifiers, int)
with:
modifiers = new io.qt.core.Qt.KeyboardModifiers(0)
msecs = -1
-
addKeyEvent
@QtUninvokable public final void addKeyEvent(QTest.KeyAction action, Qt.Key qtKey, Qt.KeyboardModifiers modifiers) Overloaded function for
addKeyEvent(io.qt.test.QTest.KeyAction, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
withmsecs = -1
. -
addKeyEvent
Overloaded function for
addKeyEvent(io.qt.test.QTest.KeyAction, io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
with:
modifiers = new io.qt.core.Qt.KeyboardModifiers(0)
msecs = -1
-
addKeyEvent
@QtUninvokable public final void addKeyEvent(QTest.KeyAction action, byte ascii, Qt.KeyboardModifiers modifiers) Overloaded function for
addKeyEvent(io.qt.test.QTest.KeyAction, byte, io.qt.core.Qt.KeyboardModifiers, int)
withmsecs = -1
. -
addKeyEvent
Overloaded function for
addKeyEvent(io.qt.test.QTest.KeyAction, byte, io.qt.core.Qt.KeyboardModifiers, int)
with:
modifiers = new io.qt.core.Qt.KeyboardModifiers(0)
msecs = -1
-
addKeyPress
Overloaded function for
addKeyPress(io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
withmsecs = -1
. -
addKeyPress
Overloaded function for
addKeyPress(io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
with:
modifiers = new io.qt.core.Qt.KeyboardModifiers(0)
msecs = -1
-
addKeyPress
Overloaded function for
addKeyPress(byte, io.qt.core.Qt.KeyboardModifiers, int)
withmsecs = -1
. -
addKeyPress
Overloaded function for
addKeyPress(byte, io.qt.core.Qt.KeyboardModifiers, int)
with:
modifiers = new io.qt.core.Qt.KeyboardModifiers(0)
msecs = -1
-
addKeyRelease
Overloaded function for
addKeyRelease(io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
withmsecs = -1
. -
addKeyRelease
Overloaded function for
addKeyRelease(io.qt.core.Qt.Key, io.qt.core.Qt.KeyboardModifiers, int)
with:
modifiers = new io.qt.core.Qt.KeyboardModifiers(0)
msecs = -1
-
addKeyRelease
Overloaded function for
addKeyRelease(byte, io.qt.core.Qt.KeyboardModifiers, int)
withmsecs = -1
. -
addKeyRelease
Overloaded function for
addKeyRelease(byte, io.qt.core.Qt.KeyboardModifiers, int)
with:
modifiers = new io.qt.core.Qt.KeyboardModifiers(0)
msecs = -1
-
addMouseClick
@QtUninvokable public final void addMouseClick(Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function for
addMouseClick(io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
. -
addMouseClick
@QtUninvokable public final void addMouseClick(Qt.MouseButton button, Qt.KeyboardModifiers stateKey) Overloaded function for
addMouseClick(io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
with:
pos = new io.qt.core.QPoint()
delay = -1
-
addMouseClick
Overloaded function for
addMouseClick(io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
with:
stateKey = new io.qt.core.Qt.KeyboardModifiers(0)
pos = new io.qt.core.QPoint()
delay = -1
-
addMouseDClick
@QtUninvokable public final void addMouseDClick(Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function for
addMouseDClick(io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
. -
addMouseDClick
@QtUninvokable public final void addMouseDClick(Qt.MouseButton button, Qt.KeyboardModifiers stateKey) Overloaded function for
addMouseDClick(io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
with:
pos = new io.qt.core.QPoint()
delay = -1
-
addMouseDClick
Overloaded function for
addMouseDClick(io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
with:
stateKey = new io.qt.core.Qt.KeyboardModifiers(0)
pos = new io.qt.core.QPoint()
delay = -1
-
addMouseMove
Overloaded function for
addMouseMove(io.qt.core.QPoint, int)
withdelay = -1
. -
addMouseMove
Overloaded function for
addMouseMove(io.qt.core.QPoint, int)
with:
pos = new io.qt.core.QPoint()
delay = -1
-
addMousePress
@QtUninvokable public final void addMousePress(Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function for
addMousePress(io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
. -
addMousePress
@QtUninvokable public final void addMousePress(Qt.MouseButton button, Qt.KeyboardModifiers stateKey) Overloaded function for
addMousePress(io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
with:
pos = new io.qt.core.QPoint()
delay = -1
-
addMousePress
Overloaded function for
addMousePress(io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
with:
stateKey = new io.qt.core.Qt.KeyboardModifiers(0)
pos = new io.qt.core.QPoint()
delay = -1
-
addMouseRelease
@QtUninvokable public final void addMouseRelease(Qt.MouseButton button, Qt.KeyboardModifiers stateKey, QPoint pos) Overloaded function for
addMouseRelease(io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
withdelay = -1
. -
addMouseRelease
@QtUninvokable public final void addMouseRelease(Qt.MouseButton button, Qt.KeyboardModifiers stateKey) Overloaded function for
addMouseRelease(io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
with:
pos = new io.qt.core.QPoint()
delay = -1
-
addMouseRelease
Overloaded function for
addMouseRelease(io.qt.core.Qt.MouseButton, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QPoint, int)
with:
stateKey = new io.qt.core.Qt.KeyboardModifiers(0)
pos = new io.qt.core.QPoint()
delay = -1
-
addAll
Appends all of the elements in the specified collection to the end of this list.- Specified by:
addAll
in interfaceCollection<T>
- Specified by:
addAll
in interfaceList<T>
-
addAll
Inserts all of the elements in the specified collection into this list at the specified position. -
remove
Removes the element at the specified position in this list. -
listIterator
Returns a list iterator over the elements in this list (in proper sequence).- Specified by:
listIterator
in interfaceList<T>
-
listIterator
Returns a list iterator over the elements in this list (in proper sequence), starting at the specified position in the list.- Specified by:
listIterator
in interfaceList<T>
-
subList
Returns a view of the portion of this list between the specifiedfromIndex
, inclusive, andtoIndex
, exclusive. (IffromIndex
andtoIndex
are equal, the returned list is empty.) The returned list is backed by this list, so non-structural changes in the returned list are reflected in this list, and vice-versa. The returned list supports all of the optional list operations supported by this list. -
retainAll
Retains only the elements in this list that are contained in the specified collection (optional operation). In other words, removes from this list all of its elements that are not contained in the specified collection.- Specified by:
retainAll
in interfaceCollection<T>
- Specified by:
retainAll
in interfaceList<T>
-
toArray
Returns an array containing all of the elements in this container.- Specified by:
toArray
in interfaceCollection<T>
-
toArray
Returns an array containing all of the elements in this container.- Specified by:
toArray
in interfaceCollection<T>
-
containsAll
Returnstrue
if this container contains all of the elements in the specified collection.- Specified by:
containsAll
in interfaceCollection<T>
-
removeAll
Removes all of this container elements that are also contained in the specified collection.- Specified by:
removeAll
in interfaceCollection<T>
-
iterator
Returns an iterator over elements of typeT
.- Specified by:
iterator
in interfaceCollection<T>
- Specified by:
iterator
in interfaceIterable<T>
- Returns:
- an Iterator
-