android-components / mozilla.components.concept.menu.candidate

Package mozilla.components.concept.menu.candidate

Types

Name Summary
CompoundMenuCandidate data class CompoundMenuCandidate : MenuCandidate
Menu option that shows a switch or checkbox.
ContainerStyle data class ContainerStyle
Describes styling for the menu option container.
DecorativeTextMenuCandidate data class DecorativeTextMenuCandidate : MenuCandidate
Menu option that displays static text.
DividerMenuCandidate data class DividerMenuCandidate : MenuCandidate
Menu option to display a horizontal divider.
DrawableButtonMenuIcon data class DrawableButtonMenuIcon : MenuIcon, MenuIconWithDrawable
Menu icon that displays an image button.
DrawableMenuIcon data class DrawableMenuIcon : MenuIcon, MenuIconWithDrawable
Menu icon that displays a drawable.
HighPriorityHighlightEffect data class HighPriorityHighlightEffect : MenuCandidateEffect
Changes the background of the menu item. Used for errors that require user attention, like sync errors.
LowPriorityHighlightEffect data class LowPriorityHighlightEffect : MenuIconEffect
Displays a notification dot. Used for highlighting new features to the user, such as what’s new or a recommended feature.
MenuCandidate sealed class MenuCandidate
Menu option data classes to be shown in the browser menu.
MenuCandidateEffect sealed class MenuCandidateEffect : MenuEffect
Describes an effect for a menu candidate and its container. Effects can also alter the button that opens the menu.
MenuEffect sealed class MenuEffect
Describes an effect for the menu. Effects can also alter the button to open the menu.
MenuIcon sealed class MenuIcon
Menu option data classes to be shown alongside menu options
MenuIconEffect sealed class MenuIconEffect : MenuEffect
Describes an effect for a menu icon. Effects can also alter the button that opens the menu.
MenuIconWithDrawable interface MenuIconWithDrawable
Interface shared by all MenuIcons with drawables.
RowMenuCandidate data class RowMenuCandidate : MenuCandidate
Displays a row of small menu options.
SmallMenuCandidate data class SmallMenuCandidate
Small icon button menu option. Can only be used with RowMenuCandidate.
TextMenuCandidate data class TextMenuCandidate : MenuCandidate
Interactive menu option that displays some text.
TextMenuIcon data class TextMenuIcon : MenuIcon
Menu icon to display additional text at the end of a menu option.
TextStyle data class TextStyle
Describes styling for text inside a menu option.

Annotations

Name Summary
TextAlignment annotation class TextAlignment
Enum for text alignment values.
TypefaceStyle annotation class TypefaceStyle
Enum for Typeface values.