Enum Class TaskBar.Layout
- All Implemented Interfaces:
Serializable,Comparable<TaskBar.Layout>,Constable
- Enclosing class:
TaskBar
Lists the possible layouts of the TaskBar
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic TaskBar.LayoutgetInstance(String mode) Returns a static instance of the layout of the Taskbarstatic TaskBar.LayoutReturns the enum constant of this class with the specified name.static TaskBar.Layout[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FIXED_LOGO
-
FIXED_IDENTITY
-
FULL_SCROLL
-
-
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
-
getInstance
Returns a static instance of the layout of the Taskbar- Parameters:
mode- The string that describes the layout of the TaskBar.
The possible values are:
"fixedLogo": the logo's area remains fixed, and the user can scroll the rest of the TaskBar
"fixedIdentity": (the default one) the logo's area and the identity's area remains fixed, and the user can scroll the rest of the TaskBar
"fullScroll": it is possible to scroll the full TaskBar
"foldableFavorites" it is the same as "fixedIdentity" with the feature for hide/shows the favorites box in addition.- Returns:
- The layout of the TaskBar
-