Package org.gnome.gtk
Enum Class CellRendererState
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<CellRendererState>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum CellRendererState
extends Enum<CellRendererState>
implements Enumeration
Tells how a cell is to be rendered.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe cell is in a row that can be expandedThe cell is in a row that is expandedThe cell is in the focus row.The cell is drawn in an insensitive mannerThe mouse is hovering over the cell.The cell is currently selected, and probably has a selection colored background to render to.The cell is in a sorted row -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the CellRendererState classint
getValue()
Get the numeric value of this enumstatic CellRendererState
of
(int value) Create a new CellRendererState for the provided valuestatic CellRendererState
Returns the enum constant of this class with the specified name.static CellRendererState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SELECTED
The cell is currently selected, and probably has a selection colored background to render to. -
PRELIT
The mouse is hovering over the cell. -
INSENSITIVE
The cell is drawn in an insensitive manner -
SORTED
The cell is in a sorted row -
FOCUSED
The cell is in the focus row. -
EXPANDABLE
The cell is in a row that can be expanded -
EXPANDED
The cell is in a row that is expanded
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
of
Create a new CellRendererState for the provided value- Parameters:
value
- the bitfield value- Returns:
- the bitfield for the provided value
-
getValue
public int getValue()Get the numeric value of this enum- Specified by:
getValue
in interfaceEnumeration
- Returns:
- the enum value
-
getType
-