Package org.gnome.gdk
Enum Class ToplevelState
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<ToplevelState>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum ToplevelState
extends Enum<ToplevelState>
implements Enumeration
Specifies the state of a toplevel surface.
On platforms that support information about individual edges, the
TILED
state will be set whenever any of the individual
tiled states is set. On platforms that lack that support, the tiled state
will give an indication of tiledness without any of the per-edge states
being set.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionthe surface is kept above other surfacesthe surface is kept below other surfaceswhether the bottom edge is resizablewhether the bottom edge is tiledthe surface is presented as focused (with active decorations)the surface is maximized without decorationswhether the left edge is resizablewhether the left edge is tiledthe surface is maximizedthe surface is minimizedwhether the right edge is resizablewhether the right edge is tiledthe surface is stickyThe surface is not visible to the user.the surface is in a tiled statewhether the top edge is resizablewhether the top edge is tiled -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the ToplevelState classint
getValue()
Get the numeric value of this enumstatic ToplevelState
of
(int value) Create a new ToplevelState for the provided valuestatic ToplevelState
Returns the enum constant of this class with the specified name.static ToplevelState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MINIMIZED
the surface is minimized -
MAXIMIZED
the surface is maximized -
STICKY
the surface is sticky -
FULLSCREEN
the surface is maximized without decorations -
ABOVE
the surface is kept above other surfaces -
BELOW
the surface is kept below other surfaces -
FOCUSED
the surface is presented as focused (with active decorations) -
TILED
the surface is in a tiled state -
TOP_TILED
whether the top edge is tiled -
TOP_RESIZABLE
whether the top edge is resizable -
RIGHT_TILED
whether the right edge is tiled -
RIGHT_RESIZABLE
whether the right edge is resizable -
BOTTOM_TILED
whether the bottom edge is tiled -
BOTTOM_RESIZABLE
whether the bottom edge is resizable -
LEFT_TILED
whether the left edge is tiled -
LEFT_RESIZABLE
whether the left edge is resizable -
SUSPENDED
The surface is not visible to the user.
-
-
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 ToplevelState 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
-