Package org.gnome.gtk
Enum Class StackTransitionType
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<StackTransitionType>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum StackTransitionType
extends Enum<StackTransitionType>
implements Enumeration
Possible transitions between pages in a
GtkStack
widget.
New values may be added to this enumeration over time.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA cross-fadeNo transitionCover the old page by sliding downCover the old page sliding down or uncover the new page sliding up, according to orderCover the old page by sliding to the leftCover the old page sliding left or uncover the new page sliding right, according to orderCover the old page by sliding to the rightCover the old page sliding right or uncover the new page sliding left, according to orderCover the old page by sliding upCover the old page sliding up or uncover the new page sliding down, according to orderPretend the pages are sides of a cube and rotate that cube to the leftPretend the pages are sides of a cube and rotate that cube to the left or right according to the children orderPretend the pages are sides of a cube and rotate that cube to the rightSlide from top downSlide from right to leftSlide from left or right according to the children orderSlide from left to rightSlide from bottom upSlide from top down or bottom up according to the orderUncover the new page by sliding downUncover the new page by sliding to the leftUncover the new page by sliding to the rightUncover the new page by sliding up -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the StackTransitionType classint
getValue()
Get the numeric value of this enumstatic StackTransitionType
of
(int value) Create a new StackTransitionType for the provided valuestatic StackTransitionType
Returns the enum constant of this class with the specified name.static StackTransitionType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No transition -
CROSSFADE
A cross-fade -
SLIDE_RIGHT
Slide from left to right -
SLIDE_LEFT
Slide from right to left -
SLIDE_UP
Slide from bottom up -
SLIDE_DOWN
Slide from top down -
SLIDE_LEFT_RIGHT
Slide from left or right according to the children order -
SLIDE_UP_DOWN
Slide from top down or bottom up according to the order -
OVER_UP
Cover the old page by sliding up -
OVER_DOWN
Cover the old page by sliding down -
OVER_LEFT
Cover the old page by sliding to the left -
OVER_RIGHT
Cover the old page by sliding to the right -
UNDER_UP
Uncover the new page by sliding up -
UNDER_DOWN
Uncover the new page by sliding down -
UNDER_LEFT
Uncover the new page by sliding to the left -
UNDER_RIGHT
Uncover the new page by sliding to the right -
OVER_UP_DOWN
Cover the old page sliding up or uncover the new page sliding down, according to order -
OVER_DOWN_UP
Cover the old page sliding down or uncover the new page sliding up, according to order -
OVER_LEFT_RIGHT
Cover the old page sliding left or uncover the new page sliding right, according to order -
OVER_RIGHT_LEFT
Cover the old page sliding right or uncover the new page sliding left, according to order -
ROTATE_LEFT
Pretend the pages are sides of a cube and rotate that cube to the left -
ROTATE_RIGHT
Pretend the pages are sides of a cube and rotate that cube to the right -
ROTATE_LEFT_RIGHT
Pretend the pages are sides of a cube and rotate that cube to the left or right according to the children order
-
-
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 StackTransitionType 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
-