java.lang.Object
io.qt.QtObject
io.qt.core.QEvent
io.qt.gui.QFocusEvent
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Contains event parameters for widget focus events
Java wrapper for Qt class QFocusEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.core.QEvent
QEvent.Type
-
Field Summary
Fields inherited from class io.qt.core.QEvent
staticMetaObject
-
Constructor Summary
ConstructorDescriptionQFocusEvent
(QEvent.Type type) Overloaded constructor forQFocusEvent(io.qt.core.QEvent.Type, io.qt.core.Qt.FocusReason)
withreason = io.qt.core.Qt.FocusReason.OtherFocusReason
.QFocusEvent
(QEvent.Type type, Qt.FocusReason reason) QFocusEvent
(QFocusEvent other) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final boolean
gotFocus()
final boolean
final Qt.FocusReason
reason()
Methods inherited from class io.qt.core.QEvent
accept, assign, ignore, isAccepted, registerEventType, registerEventType, set, setAccepted, spontaneous, toString, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QFocusEvent
- Parameters:
type
-reason
-
-
QFocusEvent
- Parameters:
other
-
-
QFocusEvent
Overloaded constructor for
QFocusEvent(io.qt.core.QEvent.Type, io.qt.core.Qt.FocusReason)
withreason = io.qt.core.Qt.FocusReason.OtherFocusReason
.
-
-
Method Details
-
gotFocus
- Returns:
-
lostFocus
- Returns:
-
reason
- Returns:
-
clone
Creates and returns a copy of this object.
-