- 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 ConstantDescriptionRepresentingQStyle::
SC_All RepresentingQStyle::
SC_ComboBoxArrow RepresentingQStyle::
SC_ComboBoxEditField RepresentingQStyle::
SC_ComboBoxFrame RepresentingQStyle::
SC_ComboBoxListBoxPopup RepresentingQStyle::
SC_CustomBase RepresentingQStyle::
SC_DialGroove RepresentingQStyle::
SC_DialHandle RepresentingQStyle::
SC_DialTickmarks RepresentingQStyle::
SC_GroupBoxCheckBox RepresentingQStyle::
SC_GroupBoxContents RepresentingQStyle::
SC_GroupBoxFrame RepresentingQStyle::
SC_GroupBoxLabel RepresentingQStyle::
SC_MdiCloseButton RepresentingQStyle::
SC_MdiMinButton RepresentingQStyle::
SC_MdiNormalButton RepresentingQStyle::
SC_None RepresentingQStyle::
SC_ScrollBarAddLine RepresentingQStyle::
SC_ScrollBarAddPage RepresentingQStyle::
SC_ScrollBarFirst RepresentingQStyle::
SC_ScrollBarGroove RepresentingQStyle::
SC_ScrollBarLast RepresentingQStyle::
SC_ScrollBarSlider RepresentingQStyle::
SC_ScrollBarSubLine RepresentingQStyle::
SC_ScrollBarSubPage RepresentingQStyle::
SC_SliderGroove RepresentingQStyle::
SC_SliderHandle RepresentingQStyle::
SC_SliderTickmarks RepresentingQStyle::
SC_SpinBoxDown RepresentingQStyle::
SC_SpinBoxEditField RepresentingQStyle::
SC_SpinBoxFrame RepresentingQStyle::
SC_SpinBoxUp RepresentingQStyle::
SC_TitleBarCloseButton RepresentingQStyle::
SC_TitleBarContextHelpButton RepresentingQStyle::
SC_TitleBarLabel RepresentingQStyle::
SC_TitleBarMaxButton RepresentingQStyle::
SC_TitleBarMinButton RepresentingQStyle::
SC_TitleBarNormalButton RepresentingQStyle::
SC_TitleBarShadeButton RepresentingQStyle::
SC_TitleBarSysMenu RepresentingQStyle::
SC_TitleBarUnshadeButton RepresentingQStyle::
SC_ToolButton RepresentingQStyle::
SC_ToolButtonMenu -
Method Summary
Modifier and TypeMethodDescriptionasFlags()
Create a QFlags of the enum entry.Excludes other enum entry from a flag of this 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.QtAbstractEnumerator
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
- Returns:
- QFlags
-
combined
Combines this entry with other enum entry.- Parameters:
e
- enum entry- Returns:
- new flag
-
cleared
Excludes other enum entry from a flag of this 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.
-