- 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 ConstantsEnum ConstantDescriptionRepresenting QStyle::SE_CheckBoxClickRectRepresenting QStyle::SE_CheckBoxContentsRepresenting QStyle::SE_CheckBoxFocusRectRepresenting QStyle::SE_CheckBoxIndicatorRepresenting QStyle::SE_CheckBoxLayoutItemRepresenting QStyle::SE_ComboBoxFocusRectRepresenting QStyle::SE_ComboBoxLayoutItemRepresenting QStyle::SE_CustomBaseRepresenting QStyle::SE_DateTimeEditLayoutItemRepresenting QStyle::SE_DockWidgetCloseButtonRepresenting QStyle::SE_DockWidgetFloatButtonRepresenting QStyle::SE_DockWidgetIconRepresenting QStyle::SE_DockWidgetTitleBarTextRepresenting QStyle::SE_FrameContentsRepresenting QStyle::SE_FrameLayoutItemRepresenting QStyle::SE_GroupBoxLayoutItemRepresenting QStyle::SE_HeaderArrowRepresenting QStyle::SE_HeaderLabelRepresenting QStyle::SE_ItemViewItemCheckIndicatorRepresenting QStyle::SE_ItemViewItemDecorationRepresenting QStyle::SE_ItemViewItemFocusRectRepresenting QStyle::SE_ItemViewItemTextRepresenting QStyle::SE_LabelLayoutItemRepresenting QStyle::SE_LineEditContentsRepresenting QStyle::SE_ProgressBarContentsRepresenting QStyle::SE_ProgressBarGrooveRepresenting QStyle::SE_ProgressBarLabelRepresenting QStyle::SE_ProgressBarLayoutItemRepresenting QStyle::SE_PushButtonBevelRepresenting QStyle::SE_PushButtonContentsRepresenting QStyle::SE_PushButtonFocusRectRepresenting QStyle::SE_PushButtonLayoutItemRepresenting QStyle::SE_RadioButtonClickRectRepresenting QStyle::SE_RadioButtonContentsRepresenting QStyle::SE_RadioButtonFocusRectRepresenting QStyle::SE_RadioButtonIndicatorRepresenting QStyle::SE_RadioButtonLayoutItemRepresenting QStyle::SE_ShapedFrameContentsRepresenting QStyle::SE_SliderFocusRectRepresenting QStyle::SE_SliderLayoutItemRepresenting QStyle::SE_SpinBoxLayoutItemRepresenting QStyle::SE_TabBarScrollLeftButtonRepresenting QStyle::SE_TabBarScrollRightButtonRepresenting QStyle::SE_TabBarTabLeftButtonRepresenting QStyle::SE_TabBarTabRightButtonRepresenting QStyle::SE_TabBarTabTextRepresenting QStyle::SE_TabBarTearIndicatorRepresenting QStyle::SE_TabBarTearIndicatorLeftRepresenting QStyle::SE_TabBarTearIndicatorRightRepresenting QStyle::SE_TabWidgetLayoutItemRepresenting QStyle::SE_TabWidgetLeftCornerRepresenting QStyle::SE_TabWidgetRightCornerRepresenting QStyle::SE_TabWidgetTabBarRepresenting QStyle::SE_TabWidgetTabContentsRepresenting QStyle::SE_TabWidgetTabPaneRepresenting QStyle::SE_ToolBarHandleRepresenting QStyle::SE_ToolBoxTabContentsRepresenting QStyle::SE_ToolButtonLayoutItemRepresenting QStyle::SE_TreeViewDisclosureItem -
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
Representing QStyle::SE_PushButtonContents
-
SE_PushButtonFocusRect
Representing QStyle::SE_PushButtonFocusRect
-
SE_CheckBoxIndicator
Representing QStyle::SE_CheckBoxIndicator
-
SE_CheckBoxContents
Representing QStyle::SE_CheckBoxContents
-
SE_CheckBoxFocusRect
Representing QStyle::SE_CheckBoxFocusRect
-
SE_CheckBoxClickRect
Representing QStyle::SE_CheckBoxClickRect
-
SE_RadioButtonIndicator
Representing QStyle::SE_RadioButtonIndicator
-
SE_RadioButtonContents
Representing QStyle::SE_RadioButtonContents
-
SE_RadioButtonFocusRect
Representing QStyle::SE_RadioButtonFocusRect
-
SE_RadioButtonClickRect
Representing QStyle::SE_RadioButtonClickRect
-
SE_ComboBoxFocusRect
Representing QStyle::SE_ComboBoxFocusRect
-
SE_SliderFocusRect
Representing QStyle::SE_SliderFocusRect
-
SE_ProgressBarGroove
Representing QStyle::SE_ProgressBarGroove
-
SE_ProgressBarContents
Representing QStyle::SE_ProgressBarContents
-
SE_ProgressBarLabel
Representing QStyle::SE_ProgressBarLabel
-
SE_ToolBoxTabContents
Representing QStyle::SE_ToolBoxTabContents
-
SE_HeaderLabel
Representing QStyle::SE_HeaderLabel
-
SE_HeaderArrow
Representing QStyle::SE_HeaderArrow
-
SE_TabWidgetTabBar
Representing QStyle::SE_TabWidgetTabBar
-
SE_TabWidgetTabPane
Representing QStyle::SE_TabWidgetTabPane
-
SE_TabWidgetTabContents
Representing QStyle::SE_TabWidgetTabContents
-
SE_TabWidgetLeftCorner
Representing QStyle::SE_TabWidgetLeftCorner
-
SE_TabWidgetRightCorner
Representing QStyle::SE_TabWidgetRightCorner
-
SE_ItemViewItemCheckIndicator
Representing QStyle::SE_ItemViewItemCheckIndicator
-
SE_TabBarTearIndicator
Representing QStyle::SE_TabBarTearIndicator
-
SE_TabBarTearIndicatorLeft
Representing QStyle::SE_TabBarTearIndicatorLeft
-
SE_TreeViewDisclosureItem
Representing QStyle::SE_TreeViewDisclosureItem
-
SE_LineEditContents
Representing QStyle::SE_LineEditContents
-
SE_FrameContents
Representing QStyle::SE_FrameContents
-
SE_DockWidgetCloseButton
Representing QStyle::SE_DockWidgetCloseButton
-
SE_DockWidgetFloatButton
Representing QStyle::SE_DockWidgetFloatButton
-
SE_DockWidgetTitleBarText
Representing QStyle::SE_DockWidgetTitleBarText
-
SE_DockWidgetIcon
Representing QStyle::SE_DockWidgetIcon
-
SE_CheckBoxLayoutItem
Representing QStyle::SE_CheckBoxLayoutItem
-
SE_ComboBoxLayoutItem
Representing QStyle::SE_ComboBoxLayoutItem
-
SE_DateTimeEditLayoutItem
Representing QStyle::SE_DateTimeEditLayoutItem
-
SE_LabelLayoutItem
Representing QStyle::SE_LabelLayoutItem
-
SE_ProgressBarLayoutItem
Representing QStyle::SE_ProgressBarLayoutItem
-
SE_PushButtonLayoutItem
Representing QStyle::SE_PushButtonLayoutItem
-
SE_RadioButtonLayoutItem
Representing QStyle::SE_RadioButtonLayoutItem
-
SE_SliderLayoutItem
Representing QStyle::SE_SliderLayoutItem
-
SE_SpinBoxLayoutItem
Representing QStyle::SE_SpinBoxLayoutItem
-
SE_ToolButtonLayoutItem
Representing QStyle::SE_ToolButtonLayoutItem
-
SE_FrameLayoutItem
Representing QStyle::SE_FrameLayoutItem
-
SE_GroupBoxLayoutItem
Representing QStyle::SE_GroupBoxLayoutItem
-
SE_TabWidgetLayoutItem
Representing QStyle::SE_TabWidgetLayoutItem
-
SE_ItemViewItemDecoration
Representing QStyle::SE_ItemViewItemDecoration
-
SE_ItemViewItemText
Representing QStyle::SE_ItemViewItemText
-
SE_ItemViewItemFocusRect
Representing QStyle::SE_ItemViewItemFocusRect
-
SE_TabBarTabLeftButton
Representing QStyle::SE_TabBarTabLeftButton
-
SE_TabBarTabRightButton
Representing QStyle::SE_TabBarTabRightButton
-
SE_TabBarTabText
Representing QStyle::SE_TabBarTabText
-
SE_ShapedFrameContents
Representing QStyle::SE_ShapedFrameContents
-
SE_ToolBarHandle
Representing QStyle::SE_ToolBarHandle
-
SE_TabBarScrollLeftButton
Representing QStyle::SE_TabBarScrollLeftButton
-
SE_TabBarScrollRightButton
Representing QStyle::SE_TabBarScrollRightButton
-
SE_TabBarTearIndicatorRight
Representing QStyle::SE_TabBarTearIndicatorRight
-
SE_PushButtonBevel
Representing QStyle::SE_PushButtonBevel
-
SE_CustomBase
Representing QStyle::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. 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.
-