android-components / mozilla.components.browser.menu / BrowserMenuHighlight / ClassicHighlight

ClassicHighlight

open class ~~ClassicHighlight~~ : BrowserMenuHighlight (source) Deprecated: Replace with LowPriority or HighPriority highlight

Described how to display a highlightable menu item when it is highlighted. Replaced by LowPriority and HighPriority which lets a priority be specified. This class only exists so that mozilla.components.browser.menu.item.BrowserMenuHighlightableItem.Highlight can subclass it.

Constructors

Name Summary
<init> ClassicHighlight(startImageResource: Int, endImageResource: Int, backgroundResource: Int, colorResource: Int)
Described how to display a highlightable menu item when it is highlighted. Replaced by LowPriority and HighPriority which lets a priority be specified. This class only exists so that mozilla.components.browser.menu.item.BrowserMenuHighlightableItem.Highlight can subclass it.

Properties

Name Summary
backgroundResource val backgroundResource: Int
colorResource val colorResource: Int
endImageResource val endImageResource: Int
label open val label: String?
startImageResource val startImageResource: Int

Inheritors

Name Summary
Highlight class ~~Highlight~~ : ClassicHighlight
Described how to display a BrowserMenuHighlightableItem when it is highlighted. Replaced by BrowserMenuHighlight which lets a priority be specified.