- 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 ConstantsEnum ConstantDescriptionRepresenting QStyle::CE_CheckBoxRepresenting QStyle::CE_CheckBoxLabelRepresenting QStyle::CE_ColumnViewGripRepresenting QStyle::CE_ComboBoxLabelRepresenting QStyle::CE_CustomBaseRepresenting QStyle::CE_DockWidgetTitleRepresenting QStyle::CE_FocusFrameRepresenting QStyle::CE_HeaderRepresenting QStyle::CE_HeaderEmptyAreaRepresenting QStyle::CE_HeaderLabelRepresenting QStyle::CE_HeaderSectionRepresenting QStyle::CE_ItemViewItemRepresenting QStyle::CE_MenuBarEmptyAreaRepresenting QStyle::CE_MenuBarItemRepresenting QStyle::CE_MenuEmptyAreaRepresenting QStyle::CE_MenuHMarginRepresenting QStyle::CE_MenuItemRepresenting QStyle::CE_MenuScrollerRepresenting QStyle::CE_MenuTearoffRepresenting QStyle::CE_MenuVMarginRepresenting QStyle::CE_ProgressBarRepresenting QStyle::CE_ProgressBarContentsRepresenting QStyle::CE_ProgressBarGrooveRepresenting QStyle::CE_ProgressBarLabelRepresenting QStyle::CE_PushButtonRepresenting QStyle::CE_PushButtonBevelRepresenting QStyle::CE_PushButtonLabelRepresenting QStyle::CE_RadioButtonRepresenting QStyle::CE_RadioButtonLabelRepresenting QStyle::CE_RubberBandRepresenting QStyle::CE_ScrollBarAddLineRepresenting QStyle::CE_ScrollBarAddPageRepresenting QStyle::CE_ScrollBarFirstRepresenting QStyle::CE_ScrollBarLastRepresenting QStyle::CE_ScrollBarSliderRepresenting QStyle::CE_ScrollBarSubLineRepresenting QStyle::CE_ScrollBarSubPageRepresenting QStyle::CE_ShapedFrameRepresenting QStyle::CE_SizeGripRepresenting QStyle::CE_SplitterRepresenting QStyle::CE_TabBarTabRepresenting QStyle::CE_TabBarTabLabelRepresenting QStyle::CE_TabBarTabShapeRepresenting QStyle::CE_ToolBarRepresenting QStyle::CE_ToolBoxTabRepresenting QStyle::CE_ToolBoxTabLabelRepresenting QStyle::CE_ToolBoxTabShapeRepresenting QStyle::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.QtEnumerator
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.
-