Class NavigationBarCustomization
-
- All Implemented Interfaces:
public final class NavigationBarCustomizationUse this class to provide objects that specify user interface customizations for the navigation bar that appears at the top of the challenge screen for 3DS1 and 3DS2, and includes the screen title and the Cancel button.
-
-
Field Summary
Fields Modifier and Type Field Description private IntegerbackgroundColorprivate IntegerpanelElevationprivate final TextCustomizationheadingStyleCustomizationprivate final TextCustomizationbuttonStyleCustomization
-
Constructor Summary
Constructors Constructor Description NavigationBarCustomization(Integer backgroundColor, Integer panelElevation, TextCustomization headingStyleCustomization, TextCustomization buttonStyleCustomization)
-
Method Summary
Modifier and Type Method Description final IntegergetBackgroundColor()final UnitsetBackgroundColor(Integer backgroundColor)final IntegergetPanelElevation()final UnitsetPanelElevation(Integer panelElevation)final TextCustomizationgetHeadingStyleCustomization()final TextCustomizationgetButtonStyleCustomization()final Unitheading(Function1<TextCustomization, Unit> block)DSL Method for Navigation Heading setup final Unitbutton(Function1<TextCustomization, Unit> block)DSL Method for Navigation Button setup -
-
Constructor Detail
-
NavigationBarCustomization
NavigationBarCustomization(Integer backgroundColor, Integer panelElevation, TextCustomization headingStyleCustomization, TextCustomization buttonStyleCustomization)
- Parameters:
backgroundColor- Background colour resource referencepanelElevation- Elevation resource referenceheadingStyleCustomization- Customisation heading text.buttonStyleCustomization- Customised text for the Cancel button.
-
-
Method Detail
-
getBackgroundColor
final Integer getBackgroundColor()
-
setBackgroundColor
final Unit setBackgroundColor(Integer backgroundColor)
- Parameters:
backgroundColor- Background colour resource reference
-
getPanelElevation
final Integer getPanelElevation()
-
setPanelElevation
final Unit setPanelElevation(Integer panelElevation)
- Parameters:
panelElevation- Elevation resource reference
-
getHeadingStyleCustomization
final TextCustomization getHeadingStyleCustomization()
-
getButtonStyleCustomization
final TextCustomization getButtonStyleCustomization()
-
heading
final Unit heading(Function1<TextCustomization, Unit> block)
DSL Method for Navigation Heading setup
-
button
final Unit button(Function1<TextCustomization, Unit> block)
DSL Method for Navigation Button setup
-
-
-
-