- All Implemented Interfaces:
QtAbstractEnumerator
,QtEnumerator
,Serializable
,Comparable<QStyle.ControlElement>
,Constable
- Enclosing class:
QStyle
Java wrapper for Qt enum QStyle::ControlElement
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRepresentingQStyle::
CE_CheckBox RepresentingQStyle::
CE_CheckBoxLabel RepresentingQStyle::
CE_ColumnViewGrip RepresentingQStyle::
CE_ComboBoxLabel RepresentingQStyle::
CE_CustomBase RepresentingQStyle::
CE_DockWidgetTitle RepresentingQStyle::
CE_FocusFrame RepresentingQStyle::
CE_Header RepresentingQStyle::
CE_HeaderEmptyArea RepresentingQStyle::
CE_HeaderLabel RepresentingQStyle::
CE_HeaderSection RepresentingQStyle::
CE_ItemViewItem RepresentingQStyle::
CE_MenuBarEmptyArea RepresentingQStyle::
CE_MenuBarItem RepresentingQStyle::
CE_MenuEmptyArea RepresentingQStyle::
CE_MenuHMargin RepresentingQStyle::
CE_MenuItem RepresentingQStyle::
CE_MenuScroller RepresentingQStyle::
CE_MenuTearoff RepresentingQStyle::
CE_MenuVMargin RepresentingQStyle::
CE_ProgressBar RepresentingQStyle::
CE_ProgressBarContents RepresentingQStyle::
CE_ProgressBarGroove RepresentingQStyle::
CE_ProgressBarLabel RepresentingQStyle::
CE_PushButton RepresentingQStyle::
CE_PushButtonBevel RepresentingQStyle::
CE_PushButtonLabel RepresentingQStyle::
CE_RadioButton RepresentingQStyle::
CE_RadioButtonLabel RepresentingQStyle::
CE_RubberBand RepresentingQStyle::
CE_ScrollBarAddLine RepresentingQStyle::
CE_ScrollBarAddPage RepresentingQStyle::
CE_ScrollBarFirst RepresentingQStyle::
CE_ScrollBarLast RepresentingQStyle::
CE_ScrollBarSlider RepresentingQStyle::
CE_ScrollBarSubLine RepresentingQStyle::
CE_ScrollBarSubPage RepresentingQStyle::
CE_ShapedFrame RepresentingQStyle::
CE_SizeGrip RepresentingQStyle::
CE_Splitter RepresentingQStyle::
CE_TabBarTab RepresentingQStyle::
CE_TabBarTabLabel RepresentingQStyle::
CE_TabBarTabShape RepresentingQStyle::
CE_ToolBar RepresentingQStyle::
CE_ToolBoxTab RepresentingQStyle::
CE_ToolBoxTabLabel RepresentingQStyle::
CE_ToolBoxTabShape RepresentingQStyle::
CE_ToolButtonLabel -
Method Summary
Modifier and TypeMethodDescriptionstatic QStyle.ControlElement
resolve
(int value) Returns the corresponding enum entry for the given value.static QStyle.ControlElement
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 QStyle.ControlElement
Returns the enum constant of this type with the specified name.static QStyle.ControlElement[]
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.QtAbstractEnumerator
getDeclaringClass, name, ordinal
-
Enum Constant Details
-
CE_PushButton
Representing
QStyle::
CE_PushButton -
CE_PushButtonBevel
Representing
QStyle::
CE_PushButtonBevel -
CE_PushButtonLabel
Representing
QStyle::
CE_PushButtonLabel -
CE_CheckBox
Representing
QStyle::
CE_CheckBox -
CE_CheckBoxLabel
Representing
QStyle::
CE_CheckBoxLabel -
CE_RadioButton
Representing
QStyle::
CE_RadioButton -
CE_RadioButtonLabel
Representing
QStyle::
CE_RadioButtonLabel -
CE_TabBarTab
Representing
QStyle::
CE_TabBarTab -
CE_TabBarTabShape
Representing
QStyle::
CE_TabBarTabShape -
CE_TabBarTabLabel
Representing
QStyle::
CE_TabBarTabLabel -
CE_ProgressBar
Representing
QStyle::
CE_ProgressBar -
CE_ProgressBarGroove
Representing
QStyle::
CE_ProgressBarGroove -
CE_ProgressBarContents
Representing
QStyle::
CE_ProgressBarContents -
CE_ProgressBarLabel
Representing
QStyle::
CE_ProgressBarLabel -
CE_MenuItem
Representing
QStyle::
CE_MenuItem -
CE_MenuScroller
Representing
QStyle::
CE_MenuScroller -
CE_MenuVMargin
Representing
QStyle::
CE_MenuVMargin -
CE_MenuHMargin
Representing
QStyle::
CE_MenuHMargin -
CE_MenuTearoff
Representing
QStyle::
CE_MenuTearoff -
CE_MenuEmptyArea
Representing
QStyle::
CE_MenuEmptyArea -
CE_MenuBarItem
Representing
QStyle::
CE_MenuBarItem -
CE_MenuBarEmptyArea
Representing
QStyle::
CE_MenuBarEmptyArea -
CE_ToolButtonLabel
Representing
QStyle::
CE_ToolButtonLabel -
CE_Header
Representing
QStyle::
CE_Header -
CE_HeaderSection
Representing
QStyle::
CE_HeaderSection -
CE_HeaderLabel
Representing
QStyle::
CE_HeaderLabel -
CE_ToolBoxTab
Representing
QStyle::
CE_ToolBoxTab -
CE_SizeGrip
Representing
QStyle::
CE_SizeGrip -
CE_Splitter
Representing
QStyle::
CE_Splitter -
CE_RubberBand
Representing
QStyle::
CE_RubberBand -
CE_DockWidgetTitle
Representing
QStyle::
CE_DockWidgetTitle -
CE_ScrollBarAddLine
Representing
QStyle::
CE_ScrollBarAddLine -
CE_ScrollBarSubLine
Representing
QStyle::
CE_ScrollBarSubLine -
CE_ScrollBarAddPage
Representing
QStyle::
CE_ScrollBarAddPage -
CE_ScrollBarSubPage
Representing
QStyle::
CE_ScrollBarSubPage -
CE_ScrollBarSlider
Representing
QStyle::
CE_ScrollBarSlider -
CE_ScrollBarFirst
Representing
QStyle::
CE_ScrollBarFirst -
CE_ScrollBarLast
Representing
QStyle::
CE_ScrollBarLast -
CE_FocusFrame
Representing
QStyle::
CE_FocusFrame -
CE_ComboBoxLabel
Representing
QStyle::
CE_ComboBoxLabel -
CE_ToolBar
Representing
QStyle::
CE_ToolBar -
CE_ToolBoxTabShape
Representing
QStyle::
CE_ToolBoxTabShape -
CE_ToolBoxTabLabel
Representing
QStyle::
CE_ToolBoxTabLabel -
CE_HeaderEmptyArea
Representing
QStyle::
CE_HeaderEmptyArea -
CE_ColumnViewGrip
Representing
QStyle::
CE_ColumnViewGrip -
CE_ItemViewItem
Representing
QStyle::
CE_ItemViewItem -
CE_ShapedFrame
Representing
QStyle::
CE_ShapedFrame -
CE_CustomBase
Representing
QStyle::
CE_CustomBase
-
-
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.
-