Enum IosThemeGeneration
- All Implemented Interfaces:
Comparable<IosThemeGeneration>
Which iOS design generation the modern theme targets.
Separate from ThemeMode rather than more constants on it, because the two
answer different questions and compose: themeMode picks the LOOK -- modern,
iOS 7, pre-flat -- and this picks which generation of the modern look.
Folding modern27 into ThemeMode would have made every combination a new
constant, on an enum already shared with Android and the desktop.
Consulted only when the theme resolves to modern/liquid. Every other themeMode ignores it, because there is only one iOS 7 and one pre-flat look.
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic IosThemeGenerationReturns the enum constant of this type with the specified name.static IosThemeGeneration[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class Enum
clone, compareTo, equals, getDeclaringClass, getEnumValues, hashCode, name, ordinal, setEnumValues, toString, valueOf
-
Enum Constant Details
-
DEFAULT
Say nothing, and let the build server apply its own default, which isIOS26. An application that never sets this keeps the theme it has. -
IOS26
The iOS 26 Liquid Glass look, shipped asiOSModernTheme.res. -
IOS27
The iOS 27 look, shipped as
iOSModern27Theme.res.It is a real design change rather than a version bump: 31 of the 68 native reference tiles differ from iOS 26, concentrated in the Liquid Glass surfaces and the bar and button chrome built on them.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-