- All Implemented Interfaces:
QtAbstractEnumerator
,QtEnumerator
,Serializable
,Comparable<QStyle.SubElement>
,Constable
- Enclosing class:
- QStyle
Java wrapper for Qt enum QStyle::SubElement
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated.Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic QStyle.SubElement
resolve
(int value) Returns the corresponding enum entry for the given value.static QStyle.SubElement
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.SubElement
Returns the enum constant of this type with the specified name.static QStyle.SubElement[]
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
-
SE_PushButtonContents
-
SE_PushButtonFocusRect
-
SE_CheckBoxIndicator
-
SE_CheckBoxContents
-
SE_CheckBoxFocusRect
-
SE_CheckBoxClickRect
-
SE_RadioButtonIndicator
-
SE_RadioButtonContents
-
SE_RadioButtonFocusRect
-
SE_RadioButtonClickRect
-
SE_ComboBoxFocusRect
-
SE_SliderFocusRect
-
SE_ProgressBarGroove
-
SE_ProgressBarContents
-
SE_ProgressBarLabel
-
SE_ToolBoxTabContents
-
SE_HeaderLabel
-
SE_HeaderArrow
-
SE_TabWidgetTabBar
-
SE_TabWidgetTabPane
-
SE_TabWidgetTabContents
-
SE_TabWidgetLeftCorner
-
SE_TabWidgetRightCorner
-
SE_ItemViewItemCheckIndicator
-
SE_ViewItemCheckIndicator
Deprecated. -
SE_TabBarTearIndicator
-
SE_TabBarTearIndicatorLeft
-
SE_TreeViewDisclosureItem
-
SE_LineEditContents
-
SE_FrameContents
-
SE_DockWidgetCloseButton
-
SE_DockWidgetFloatButton
-
SE_DockWidgetTitleBarText
-
SE_DockWidgetIcon
-
SE_CheckBoxLayoutItem
-
SE_ComboBoxLayoutItem
-
SE_DateTimeEditLayoutItem
-
SE_DialogButtonBoxLayoutItem
Deprecated. -
SE_LabelLayoutItem
-
SE_ProgressBarLayoutItem
-
SE_PushButtonLayoutItem
-
SE_RadioButtonLayoutItem
-
SE_SliderLayoutItem
-
SE_SpinBoxLayoutItem
-
SE_ToolButtonLayoutItem
-
SE_FrameLayoutItem
-
SE_GroupBoxLayoutItem
-
SE_TabWidgetLayoutItem
-
SE_ItemViewItemDecoration
-
SE_ItemViewItemText
-
SE_ItemViewItemFocusRect
-
SE_TabBarTabLeftButton
-
SE_TabBarTabRightButton
-
SE_TabBarTabText
-
SE_ShapedFrameContents
-
SE_ToolBarHandle
-
SE_TabBarScrollLeftButton
-
SE_TabBarScrollRightButton
-
SE_TabBarTearIndicatorRight
-
SE_PushButtonBevel
-
SE_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.- 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.
-