Package org.gnome.gtk
Enum Class ScrollType
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<ScrollType>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum ScrollType
extends Enum<ScrollType>
implements Enumeration
Scrolling types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionScroll to end.Jump to new location.No scrolling.Page backward.Page down.Page forward.Page to the left.Page to the right.Page up.Scroll to start.Step backward.Step down.Step forward.Step to the left.Step to the right.Step up. -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the ScrollType classint
getValue()
Get the numeric value of this enumstatic ScrollType
of
(int value) Create a new ScrollType for the provided valuestatic ScrollType
Returns the enum constant of this class with the specified name.static ScrollType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No scrolling. -
JUMP
Jump to new location. -
STEP_BACKWARD
Step backward. -
STEP_FORWARD
Step forward. -
PAGE_BACKWARD
Page backward. -
PAGE_FORWARD
Page forward. -
STEP_UP
Step up. -
STEP_DOWN
Step down. -
PAGE_UP
Page up. -
PAGE_DOWN
Page down. -
STEP_LEFT
Step to the left. -
STEP_RIGHT
Step to the right. -
PAGE_LEFT
Page to the left. -
PAGE_RIGHT
Page to the right. -
START
Scroll to start. -
END
Scroll to end.
-
-
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 ScrollType for the provided value- Parameters:
value
- the enum value- Returns:
- the enum 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
-