- All Implemented Interfaces:
QtAbstractEnumerator
,QtAbstractFlagEnumerator
,QtEnumerator
,QtFlagEnumerator
,Serializable
,Comparable<QStyle.SubControl>
,Constable
- Enclosing class:
QStyle
Java wrapper for Qt enum QStyle::SubControl
- See Also:
-
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::SC_AllRepresenting QStyle::SC_ComboBoxArrowRepresenting QStyle::SC_ComboBoxEditFieldRepresenting QStyle::SC_ComboBoxFrameRepresenting QStyle::SC_ComboBoxListBoxPopupRepresenting QStyle::SC_CustomBaseRepresenting QStyle::SC_DialGrooveRepresenting QStyle::SC_DialHandleRepresenting QStyle::SC_DialTickmarksRepresenting QStyle::SC_GroupBoxCheckBoxRepresenting QStyle::SC_GroupBoxContentsRepresenting QStyle::SC_GroupBoxFrameRepresenting QStyle::SC_GroupBoxLabelRepresenting QStyle::SC_MdiCloseButtonRepresenting QStyle::SC_MdiMinButtonRepresenting QStyle::SC_MdiNormalButtonRepresenting QStyle::SC_NoneRepresenting QStyle::SC_ScrollBarAddLineRepresenting QStyle::SC_ScrollBarAddPageRepresenting QStyle::SC_ScrollBarFirstRepresenting QStyle::SC_ScrollBarGrooveRepresenting QStyle::SC_ScrollBarLastRepresenting QStyle::SC_ScrollBarSliderRepresenting QStyle::SC_ScrollBarSubLineRepresenting QStyle::SC_ScrollBarSubPageRepresenting QStyle::SC_SliderGrooveRepresenting QStyle::SC_SliderHandleRepresenting QStyle::SC_SliderTickmarksRepresenting QStyle::SC_SpinBoxDownRepresenting QStyle::SC_SpinBoxEditFieldRepresenting QStyle::SC_SpinBoxFrameRepresenting QStyle::SC_SpinBoxUpRepresenting QStyle::SC_TitleBarCloseButtonRepresenting QStyle::SC_TitleBarContextHelpButtonRepresenting QStyle::SC_TitleBarLabelRepresenting QStyle::SC_TitleBarMaxButtonRepresenting QStyle::SC_TitleBarMinButtonRepresenting QStyle::SC_TitleBarNormalButtonRepresenting QStyle::SC_TitleBarShadeButtonRepresenting QStyle::SC_TitleBarSysMenuRepresenting QStyle::SC_TitleBarUnshadeButtonRepresenting QStyle::SC_ToolButtonRepresenting QStyle::SC_ToolButtonMenu -
Method Summary
Modifier and TypeMethodDescriptionasFlags()
Create a QFlags of the enum entry.Combines this entry with other enum entry.static QStyle.SubControls
flags
(QStyle.SubControl ... values) Creates a newQStyle.SubControls
from the entries.static QStyle.SubControl
resolve
(int value) Returns the corresponding enum entry for the given value.static QStyle.SubControl
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.SubControl
Returns the enum constant of this type with the specified name.static QStyle.SubControl[]
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
-
SC_None
Representing QStyle::SC_None
-
SC_ScrollBarAddLine
Representing QStyle::SC_ScrollBarAddLine
-
SC_ScrollBarSubLine
Representing QStyle::SC_ScrollBarSubLine
-
SC_ScrollBarAddPage
Representing QStyle::SC_ScrollBarAddPage
-
SC_ScrollBarSubPage
Representing QStyle::SC_ScrollBarSubPage
-
SC_ScrollBarFirst
Representing QStyle::SC_ScrollBarFirst
-
SC_ScrollBarLast
Representing QStyle::SC_ScrollBarLast
-
SC_ScrollBarSlider
Representing QStyle::SC_ScrollBarSlider
-
SC_ScrollBarGroove
Representing QStyle::SC_ScrollBarGroove
-
SC_SpinBoxUp
Representing QStyle::SC_SpinBoxUp
-
SC_SpinBoxDown
Representing QStyle::SC_SpinBoxDown
-
SC_SpinBoxFrame
Representing QStyle::SC_SpinBoxFrame
-
SC_SpinBoxEditField
Representing QStyle::SC_SpinBoxEditField
-
SC_ComboBoxFrame
Representing QStyle::SC_ComboBoxFrame
-
SC_ComboBoxEditField
Representing QStyle::SC_ComboBoxEditField
-
SC_ComboBoxArrow
Representing QStyle::SC_ComboBoxArrow
-
SC_ComboBoxListBoxPopup
Representing QStyle::SC_ComboBoxListBoxPopup
-
SC_SliderGroove
Representing QStyle::SC_SliderGroove
-
SC_SliderHandle
Representing QStyle::SC_SliderHandle
-
SC_SliderTickmarks
Representing QStyle::SC_SliderTickmarks
-
SC_ToolButton
Representing QStyle::SC_ToolButton
-
SC_ToolButtonMenu
Representing QStyle::SC_ToolButtonMenu
-
SC_TitleBarSysMenu
Representing QStyle::SC_TitleBarSysMenu
-
SC_TitleBarMinButton
Representing QStyle::SC_TitleBarMinButton
-
SC_TitleBarMaxButton
Representing QStyle::SC_TitleBarMaxButton
-
SC_TitleBarCloseButton
Representing QStyle::SC_TitleBarCloseButton
-
SC_TitleBarNormalButton
Representing QStyle::SC_TitleBarNormalButton
-
SC_TitleBarShadeButton
Representing QStyle::SC_TitleBarShadeButton
-
SC_TitleBarUnshadeButton
Representing QStyle::SC_TitleBarUnshadeButton
-
SC_TitleBarContextHelpButton
Representing QStyle::SC_TitleBarContextHelpButton
-
SC_TitleBarLabel
Representing QStyle::SC_TitleBarLabel
-
SC_DialGroove
Representing QStyle::SC_DialGroove
-
SC_DialHandle
Representing QStyle::SC_DialHandle
-
SC_DialTickmarks
Representing QStyle::SC_DialTickmarks
-
SC_GroupBoxCheckBox
Representing QStyle::SC_GroupBoxCheckBox
-
SC_GroupBoxLabel
Representing QStyle::SC_GroupBoxLabel
-
SC_GroupBoxContents
Representing QStyle::SC_GroupBoxContents
-
SC_GroupBoxFrame
Representing QStyle::SC_GroupBoxFrame
-
SC_MdiMinButton
Representing QStyle::SC_MdiMinButton
-
SC_MdiNormalButton
Representing QStyle::SC_MdiNormalButton
-
SC_MdiCloseButton
Representing QStyle::SC_MdiCloseButton
-
SC_CustomBase
Representing QStyle::SC_CustomBase
-
SC_All
Representing QStyle::SC_All
-
-
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
- Specified by:
value
in interfaceQtFlagEnumerator
-
asFlags
Create a QFlags of the enum entry.- Specified by:
asFlags
in interfaceQtAbstractFlagEnumerator
- Specified by:
asFlags
in interfaceQtFlagEnumerator
- Returns:
- QFlags
-
combined
Combines this entry with other enum entry.- Parameters:
e
- enum entry- Returns:
- new flag
-
flags
Creates a newQStyle.SubControls
from the entries.- Parameters:
values
- entries- Returns:
- new flag
-
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.
-