- All Implemented Interfaces:
QtAbstractEnumerator
,QtEnumerator
,Serializable
,Comparable<QEvent.Type>
,Constable
- Enclosing class:
QEvent
Java wrapper for Qt enum QEvent::Type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRepresenting QEvent::AcceptDropsChangeRepresenting QEvent::ActionAddedRepresenting QEvent::ActionChangedRepresenting QEvent::ActionRemovedRepresenting QEvent::ActivateControlRepresenting QEvent::ActivationChangeRepresenting QEvent::ApplicationActivateRepresenting QEvent::ApplicationActivatedRepresenting QEvent::ApplicationDeactivateRepresenting QEvent::ApplicationDeactivatedRepresenting QEvent::ApplicationFontChangeRepresenting QEvent::ApplicationLayoutDirectionChangeRepresenting QEvent::ApplicationPaletteChangeRepresenting QEvent::ApplicationStateChangeRepresenting QEvent::ApplicationWindowIconChangeRepresenting QEvent::ChildAddedRepresenting QEvent::ChildPolishedRepresenting QEvent::ChildRemovedRepresenting QEvent::ClipboardRepresenting QEvent::CloseRepresenting QEvent::CloseSoftwareInputPanelRepresenting QEvent::ContentsRectChangeRepresenting QEvent::ContextMenuRepresenting QEvent::CreateRepresenting QEvent::CursorChangeRepresenting QEvent::DeactivateControlRepresenting QEvent::DeferredDeleteRepresenting QEvent::DestroyRepresenting QEvent::DragEnterRepresenting QEvent::DragLeaveRepresenting QEvent::DragMoveRepresenting QEvent::DragResponseRepresenting QEvent::DropRepresenting QEvent::DynamicPropertyChangeRepresenting QEvent::EmbeddingControlRepresenting QEvent::EnabledChangeRepresenting QEvent::EnterRepresenting QEvent::EnterEditFocusRepresenting QEvent::EnterWhatsThisModeRepresenting QEvent::ExposeRepresenting QEvent::FileOpenRepresenting QEvent::FocusAboutToChangeRepresenting QEvent::FocusInRepresenting QEvent::FocusOutRepresenting QEvent::FontChangeRepresenting QEvent::FutureCallOutRepresenting QEvent::GestureRepresenting QEvent::GestureOverrideRepresenting QEvent::GrabKeyboardRepresenting QEvent::GrabMouseRepresenting QEvent::GraphicsSceneContextMenuRepresenting QEvent::GraphicsSceneDragEnterRepresenting QEvent::GraphicsSceneDragLeaveRepresenting QEvent::GraphicsSceneDragMoveRepresenting QEvent::GraphicsSceneDropRepresenting QEvent::GraphicsSceneHelpRepresenting QEvent::GraphicsSceneHoverEnterRepresenting QEvent::GraphicsSceneHoverLeaveRepresenting QEvent::GraphicsSceneHoverMoveRepresenting QEvent::GraphicsSceneLeaveRepresenting QEvent::GraphicsSceneMouseDoubleClickRepresenting QEvent::GraphicsSceneMouseMoveRepresenting QEvent::GraphicsSceneMousePressRepresenting QEvent::GraphicsSceneMouseReleaseRepresenting QEvent::GraphicsSceneMoveRepresenting QEvent::GraphicsSceneResizeRepresenting QEvent::GraphicsSceneWheelRepresenting QEvent::HelpRequestRepresenting QEvent::HideRepresenting QEvent::HideToParentRepresenting QEvent::HoverEnterRepresenting QEvent::HoverLeaveRepresenting QEvent::HoverMoveRepresenting QEvent::IconDragRepresenting QEvent::IconTextChangeRepresenting QEvent::InputMethodRepresenting QEvent::InputMethodQueryRepresenting QEvent::KeyboardLayoutChangeRepresenting QEvent::KeyPressRepresenting QEvent::KeyReleaseRepresenting QEvent::LanguageChangeRepresenting QEvent::LayoutDirectionChangeRepresenting QEvent::LayoutRequestRepresenting QEvent::LeaveRepresenting QEvent::LeaveEditFocusRepresenting QEvent::LeaveWhatsThisModeRepresenting QEvent::LocaleChangeRepresenting QEvent::MacGLWindowChangeRepresenting QEvent::MacSizeChangeRepresenting QEvent::MaxUserRepresenting QEvent::MetaCallRepresenting QEvent::ModifiedChangeRepresenting QEvent::MouseButtonDblClickRepresenting QEvent::MouseButtonPressRepresenting QEvent::MouseButtonReleaseRepresenting QEvent::MouseMoveRepresenting QEvent::MouseTrackingChangeRepresenting QEvent::MoveRepresenting QEvent::NativeGestureRepresenting QEvent::NetworkReplyUpdatedRepresenting QEvent::NonClientAreaMouseButtonDblClickRepresenting QEvent::NonClientAreaMouseButtonPressRepresenting QEvent::NonClientAreaMouseButtonReleaseRepresenting QEvent::NonClientAreaMouseMoveRepresenting QEvent::NoneRepresenting QEvent::OkRequestRepresenting QEvent::OrientationChangeRepresenting QEvent::PaintRepresenting QEvent::PaletteChangeRepresenting QEvent::ParentAboutToChangeRepresenting QEvent::ParentChangeRepresenting QEvent::PlatformPanelRepresenting QEvent::PlatformSurfaceRepresenting QEvent::PointerRepresenting QEvent::PolishRepresenting QEvent::PolishRequestRepresenting QEvent::QueryWhatsThisRepresenting QEvent::QuitRepresenting QEvent::ReadOnlyChangeRepresenting QEvent::RequestSoftwareInputPanelRepresenting QEvent::ResizeRepresenting QEvent::ScreenChangeInternalRepresenting QEvent::ScrollRepresenting QEvent::ScrollPrepareRepresenting QEvent::ShortcutRepresenting QEvent::ShortcutOverrideRepresenting QEvent::ShowRepresenting QEvent::ShowToParentRepresenting QEvent::ShowWindowRequestRepresenting QEvent::SockActRepresenting QEvent::SockCloseRepresenting QEvent::SpeechRepresenting QEvent::StateMachineSignalRepresenting QEvent::StateMachineWrappedRepresenting QEvent::StatusTipRepresenting QEvent::StyleRepresenting QEvent::StyleAnimationUpdateRepresenting QEvent::StyleChangeRepresenting QEvent::TabletEnterProximityRepresenting QEvent::TabletLeaveProximityRepresenting QEvent::TabletMoveRepresenting QEvent::TabletPressRepresenting QEvent::TabletReleaseRepresenting QEvent::TabletTrackingChangeRepresenting QEvent::ThemeChangeRepresenting QEvent::ThreadChangeRepresenting QEvent::TimerRepresenting QEvent::ToolBarChangeRepresenting QEvent::ToolTipRepresenting QEvent::ToolTipChangeRepresenting QEvent::TouchBeginRepresenting QEvent::TouchCancelRepresenting QEvent::TouchEndRepresenting QEvent::TouchUpdateRepresenting QEvent::UngrabKeyboardRepresenting QEvent::UngrabMouseRepresenting QEvent::UpdateLaterRepresenting QEvent::UpdateRequestRepresenting QEvent::UserRepresenting QEvent::WhatsThisRepresenting QEvent::WhatsThisClickedRepresenting QEvent::WheelRepresenting QEvent::WindowAboutToChangeInternalRepresenting QEvent::WindowActivateRepresenting QEvent::WindowBlockedRepresenting QEvent::WindowChangeInternalRepresenting QEvent::WindowDeactivateRepresenting QEvent::WindowIconChangeRepresenting QEvent::WindowStateChangeRepresenting QEvent::WindowTitleChangeRepresenting QEvent::WindowUnblockedRepresenting QEvent::WinEventActRepresenting QEvent::WinIdChangeRepresenting QEvent::ZeroTimerEventRepresenting QEvent::ZOrderChange -
Method Summary
Modifier and TypeMethodDescriptionstatic QEvent.Type
resolve
(int value) Returns the corresponding enum entry for the given value.static QEvent.Type
Returns the corresponding enum entry for the given value and name.int
value()
This function should return an integer value for the enum values of the enumeration that implements this interface.static QEvent.Type
Returns the enum constant of this type with the specified name.static QEvent.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface io.qt.QtEnumerator
getDeclaringClass, name, ordinal
-
Enum Constant Details
-
None
Representing QEvent::None
-
Timer
Representing QEvent::Timer
-
MouseButtonPress
Representing QEvent::MouseButtonPress
-
MouseButtonRelease
Representing QEvent::MouseButtonRelease
-
MouseButtonDblClick
Representing QEvent::MouseButtonDblClick
-
MouseMove
Representing QEvent::MouseMove
-
KeyPress
Representing QEvent::KeyPress
-
KeyRelease
Representing QEvent::KeyRelease
-
FocusIn
Representing QEvent::FocusIn
-
FocusOut
Representing QEvent::FocusOut
-
FocusAboutToChange
Representing QEvent::FocusAboutToChange
-
Enter
Representing QEvent::Enter
-
Leave
Representing QEvent::Leave
-
Paint
Representing QEvent::Paint
-
Move
Representing QEvent::Move
-
Resize
Representing QEvent::Resize
-
Create
Representing QEvent::Create
-
Destroy
Representing QEvent::Destroy
-
Show
Representing QEvent::Show
-
Hide
Representing QEvent::Hide
-
Close
Representing QEvent::Close
-
Quit
Representing QEvent::Quit
-
ParentChange
Representing QEvent::ParentChange
-
ParentAboutToChange
Representing QEvent::ParentAboutToChange
-
ThreadChange
Representing QEvent::ThreadChange
-
WindowActivate
Representing QEvent::WindowActivate
-
WindowDeactivate
Representing QEvent::WindowDeactivate
-
ShowToParent
Representing QEvent::ShowToParent
-
HideToParent
Representing QEvent::HideToParent
-
Wheel
Representing QEvent::Wheel
-
WindowTitleChange
Representing QEvent::WindowTitleChange
-
WindowIconChange
Representing QEvent::WindowIconChange
-
ApplicationWindowIconChange
Representing QEvent::ApplicationWindowIconChange
-
ApplicationFontChange
Representing QEvent::ApplicationFontChange
-
ApplicationLayoutDirectionChange
Representing QEvent::ApplicationLayoutDirectionChange
-
ApplicationPaletteChange
Representing QEvent::ApplicationPaletteChange
-
PaletteChange
Representing QEvent::PaletteChange
-
Clipboard
Representing QEvent::Clipboard
-
Speech
Representing QEvent::Speech
-
MetaCall
Representing QEvent::MetaCall
-
SockAct
Representing QEvent::SockAct
-
WinEventAct
Representing QEvent::WinEventAct
-
DeferredDispose
Representing QEvent::DeferredDelete
-
DragEnter
Representing QEvent::DragEnter
-
DragMove
Representing QEvent::DragMove
-
DragLeave
Representing QEvent::DragLeave
-
Drop
Representing QEvent::Drop
-
DragResponse
Representing QEvent::DragResponse
-
ChildAdded
Representing QEvent::ChildAdded
-
ChildPolished
Representing QEvent::ChildPolished
-
ChildRemoved
Representing QEvent::ChildRemoved
-
ShowWindowRequest
Representing QEvent::ShowWindowRequest
-
PolishRequest
Representing QEvent::PolishRequest
-
Polish
Representing QEvent::Polish
-
LayoutRequest
Representing QEvent::LayoutRequest
-
UpdateRequest
Representing QEvent::UpdateRequest
-
UpdateLater
Representing QEvent::UpdateLater
-
EmbeddingControl
Representing QEvent::EmbeddingControl
-
ActivateControl
Representing QEvent::ActivateControl
-
DeactivateControl
Representing QEvent::DeactivateControl
-
ContextMenu
Representing QEvent::ContextMenu
-
InputMethod
Representing QEvent::InputMethod
-
TabletMove
Representing QEvent::TabletMove
-
LocaleChange
Representing QEvent::LocaleChange
-
LanguageChange
Representing QEvent::LanguageChange
-
LayoutDirectionChange
Representing QEvent::LayoutDirectionChange
-
Style
Representing QEvent::Style
-
TabletPress
Representing QEvent::TabletPress
-
TabletRelease
Representing QEvent::TabletRelease
-
OkRequest
Representing QEvent::OkRequest
-
HelpRequest
Representing QEvent::HelpRequest
-
IconDrag
Representing QEvent::IconDrag
-
FontChange
Representing QEvent::FontChange
-
EnabledChange
Representing QEvent::EnabledChange
-
ActivationChange
Representing QEvent::ActivationChange
-
StyleChange
Representing QEvent::StyleChange
-
IconTextChange
Representing QEvent::IconTextChange
-
ModifiedChange
Representing QEvent::ModifiedChange
-
MouseTrackingChange
Representing QEvent::MouseTrackingChange
-
WindowBlocked
Representing QEvent::WindowBlocked
-
WindowUnblocked
Representing QEvent::WindowUnblocked
-
WindowStateChange
Representing QEvent::WindowStateChange
-
ReadOnlyChange
Representing QEvent::ReadOnlyChange
-
ToolTip
Representing QEvent::ToolTip
-
WhatsThis
Representing QEvent::WhatsThis
-
StatusTip
Representing QEvent::StatusTip
-
ActionChanged
Representing QEvent::ActionChanged
-
ActionAdded
Representing QEvent::ActionAdded
-
ActionRemoved
Representing QEvent::ActionRemoved
-
FileOpen
Representing QEvent::FileOpen
-
Shortcut
Representing QEvent::Shortcut
-
ShortcutOverride
Representing QEvent::ShortcutOverride
-
WhatsThisClicked
Representing QEvent::WhatsThisClicked
-
ToolBarChange
Representing QEvent::ToolBarChange
-
ApplicationActivate
Representing QEvent::ApplicationActivate
-
ApplicationActivated
Representing QEvent::ApplicationActivated
-
ApplicationDeactivate
Representing QEvent::ApplicationDeactivate
-
ApplicationDeactivated
Representing QEvent::ApplicationDeactivated
-
QueryWhatsThis
Representing QEvent::QueryWhatsThis
-
EnterWhatsThisMode
Representing QEvent::EnterWhatsThisMode
-
LeaveWhatsThisMode
Representing QEvent::LeaveWhatsThisMode
-
ZOrderChange
Representing QEvent::ZOrderChange
-
HoverEnter
Representing QEvent::HoverEnter
-
HoverLeave
Representing QEvent::HoverLeave
-
HoverMove
Representing QEvent::HoverMove
-
EnterEditFocus
Representing QEvent::EnterEditFocus
-
LeaveEditFocus
Representing QEvent::LeaveEditFocus
-
AcceptDropsChange
Representing QEvent::AcceptDropsChange
-
ZeroTimerEvent
Representing QEvent::ZeroTimerEvent
-
GraphicsSceneMouseMove
Representing QEvent::GraphicsSceneMouseMove
-
GraphicsSceneMousePress
Representing QEvent::GraphicsSceneMousePress
-
GraphicsSceneMouseRelease
Representing QEvent::GraphicsSceneMouseRelease
-
GraphicsSceneMouseDoubleClick
Representing QEvent::GraphicsSceneMouseDoubleClick
-
GraphicsSceneContextMenu
Representing QEvent::GraphicsSceneContextMenu
-
GraphicsSceneHoverEnter
Representing QEvent::GraphicsSceneHoverEnter
-
GraphicsSceneHoverMove
Representing QEvent::GraphicsSceneHoverMove
-
GraphicsSceneHoverLeave
Representing QEvent::GraphicsSceneHoverLeave
-
GraphicsSceneHelp
Representing QEvent::GraphicsSceneHelp
-
GraphicsSceneDragEnter
Representing QEvent::GraphicsSceneDragEnter
-
GraphicsSceneDragMove
Representing QEvent::GraphicsSceneDragMove
-
GraphicsSceneDragLeave
Representing QEvent::GraphicsSceneDragLeave
-
GraphicsSceneDrop
Representing QEvent::GraphicsSceneDrop
-
GraphicsSceneWheel
Representing QEvent::GraphicsSceneWheel
-
GraphicsSceneLeave
Representing QEvent::GraphicsSceneLeave
-
KeyboardLayoutChange
Representing QEvent::KeyboardLayoutChange
-
DynamicPropertyChange
Representing QEvent::DynamicPropertyChange
-
TabletEnterProximity
Representing QEvent::TabletEnterProximity
-
TabletLeaveProximity
Representing QEvent::TabletLeaveProximity
-
NonClientAreaMouseMove
Representing QEvent::NonClientAreaMouseMove
-
NonClientAreaMouseButtonPress
Representing QEvent::NonClientAreaMouseButtonPress
-
NonClientAreaMouseButtonRelease
Representing QEvent::NonClientAreaMouseButtonRelease
-
NonClientAreaMouseButtonDblClick
Representing QEvent::NonClientAreaMouseButtonDblClick
-
MacSizeChange
Representing QEvent::MacSizeChange
-
ContentsRectChange
Representing QEvent::ContentsRectChange
-
MacGLWindowChange
Representing QEvent::MacGLWindowChange
-
FutureCallOut
Representing QEvent::FutureCallOut
-
GraphicsSceneResize
Representing QEvent::GraphicsSceneResize
-
GraphicsSceneMove
Representing QEvent::GraphicsSceneMove
-
CursorChange
Representing QEvent::CursorChange
-
ToolTipChange
Representing QEvent::ToolTipChange
-
NetworkReplyUpdated
Representing QEvent::NetworkReplyUpdated
-
GrabMouse
Representing QEvent::GrabMouse
-
UngrabMouse
Representing QEvent::UngrabMouse
-
GrabKeyboard
Representing QEvent::GrabKeyboard
-
UngrabKeyboard
Representing QEvent::UngrabKeyboard
-
StateMachineSignal
Representing QEvent::StateMachineSignal
-
StateMachineWrapped
Representing QEvent::StateMachineWrapped
-
TouchBegin
Representing QEvent::TouchBegin
-
TouchUpdate
Representing QEvent::TouchUpdate
-
TouchEnd
Representing QEvent::TouchEnd
-
NativeGesture
Representing QEvent::NativeGesture
-
RequestSoftwareInputPanel
Representing QEvent::RequestSoftwareInputPanel
-
CloseSoftwareInputPanel
Representing QEvent::CloseSoftwareInputPanel
-
WinIdChange
Representing QEvent::WinIdChange
-
Gesture
Representing QEvent::Gesture
-
GestureOverride
Representing QEvent::GestureOverride
-
ScrollPrepare
Representing QEvent::ScrollPrepare
-
Scroll
Representing QEvent::Scroll
-
Expose
Representing QEvent::Expose
-
InputMethodQuery
Representing QEvent::InputMethodQuery
-
OrientationChange
Representing QEvent::OrientationChange
-
TouchCancel
Representing QEvent::TouchCancel
-
ThemeChange
Representing QEvent::ThemeChange
-
SockClose
Representing QEvent::SockClose
-
PlatformPanel
Representing QEvent::PlatformPanel
-
StyleAnimationUpdate
Representing QEvent::StyleAnimationUpdate
-
ApplicationStateChange
Representing QEvent::ApplicationStateChange
-
WindowChangeInternal
Representing QEvent::WindowChangeInternal
-
ScreenChangeInternal
Representing QEvent::ScreenChangeInternal
-
PlatformSurface
Representing QEvent::PlatformSurface
-
Pointer
Representing QEvent::Pointer
-
TabletTrackingChange
Representing QEvent::TabletTrackingChange
-
WindowAboutToChangeInternal
Representing QEvent::WindowAboutToChangeInternal
-
User
Representing QEvent::User
-
MaxUser
Representing QEvent::MaxUser
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public int value()This function should return an integer value for the enum values of the enumeration that implements this interface. Default isEnum.ordinal()
.- Specified by:
value
in interfaceQtEnumerator
-
resolve
Returns the corresponding enum entry for the given value.- Parameters:
value
-- Returns:
- enum entry
- Throws:
QNoSuchEnumValueException
- if value not existent in the enum
-
resolve
Returns the corresponding enum entry for the given value and name.- Parameters:
value
-name
-- Returns:
- enum entry
- Throws:
QNoSuchEnumValueException
- if value not existent in the enum or name does not match.
-