- 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 ConstantDescriptionRepresentingQStyle::
SE_CheckBoxClickRect RepresentingQStyle::
SE_CheckBoxContents RepresentingQStyle::
SE_CheckBoxFocusRect RepresentingQStyle::
SE_CheckBoxIndicator RepresentingQStyle::
SE_CheckBoxLayoutItem RepresentingQStyle::
SE_ComboBoxFocusRect RepresentingQStyle::
SE_ComboBoxLayoutItem RepresentingQStyle::
SE_CustomBase RepresentingQStyle::
SE_DateTimeEditLayoutItem RepresentingQStyle::
SE_DockWidgetCloseButton RepresentingQStyle::
SE_DockWidgetFloatButton RepresentingQStyle::
SE_DockWidgetIcon RepresentingQStyle::
SE_DockWidgetTitleBarText RepresentingQStyle::
SE_FrameContents RepresentingQStyle::
SE_FrameLayoutItem RepresentingQStyle::
SE_GroupBoxLayoutItem RepresentingQStyle::
SE_HeaderArrow RepresentingQStyle::
SE_HeaderLabel RepresentingQStyle::
SE_ItemViewItemCheckIndicator RepresentingQStyle::
SE_ItemViewItemDecoration RepresentingQStyle::
SE_ItemViewItemFocusRect RepresentingQStyle::
SE_ItemViewItemText RepresentingQStyle::
SE_LabelLayoutItem RepresentingQStyle::
SE_LineEditContents RepresentingQStyle::
SE_ProgressBarContents RepresentingQStyle::
SE_ProgressBarGroove RepresentingQStyle::
SE_ProgressBarLabel RepresentingQStyle::
SE_ProgressBarLayoutItem RepresentingQStyle::
SE_PushButtonBevel RepresentingQStyle::
SE_PushButtonContents RepresentingQStyle::
SE_PushButtonFocusRect RepresentingQStyle::
SE_PushButtonLayoutItem RepresentingQStyle::
SE_RadioButtonClickRect RepresentingQStyle::
SE_RadioButtonContents RepresentingQStyle::
SE_RadioButtonFocusRect RepresentingQStyle::
SE_RadioButtonIndicator RepresentingQStyle::
SE_RadioButtonLayoutItem RepresentingQStyle::
SE_ShapedFrameContents RepresentingQStyle::
SE_SliderFocusRect RepresentingQStyle::
SE_SliderLayoutItem RepresentingQStyle::
SE_SpinBoxLayoutItem RepresentingQStyle::
SE_TabBarScrollLeftButton RepresentingQStyle::
SE_TabBarScrollRightButton RepresentingQStyle::
SE_TabBarTabLeftButton RepresentingQStyle::
SE_TabBarTabRightButton RepresentingQStyle::
SE_TabBarTabText RepresentingQStyle::
SE_TabBarTearIndicator RepresentingQStyle::
SE_TabBarTearIndicatorLeft RepresentingQStyle::
SE_TabBarTearIndicatorRight RepresentingQStyle::
SE_TabWidgetLayoutItem RepresentingQStyle::
SE_TabWidgetLeftCorner RepresentingQStyle::
SE_TabWidgetRightCorner RepresentingQStyle::
SE_TabWidgetTabBar RepresentingQStyle::
SE_TabWidgetTabContents RepresentingQStyle::
SE_TabWidgetTabPane RepresentingQStyle::
SE_ToolBarHandle RepresentingQStyle::
SE_ToolBoxTabContents RepresentingQStyle::
SE_ToolButtonLayoutItem RepresentingQStyle::
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.
-