MenuBehavior

abstract class MenuBehavior : Behavior<Menu> (source)

Specifies Behavior used to manage a Menu's look/feel.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard

Configuration for an ActionItemInfo.

Link copied to clipboard

Configuration for an ItemInfo.

Link copied to clipboard
interface ItemInfo

Context for an item in a Menu.

Link copied to clipboard
interface SeparatorConfig

Configuration for a separator within a Menu.

Link copied to clipboard
Link copied to clipboard

Context for submenu within a Menu.

Properties

Link copied to clipboard

Allows implementors to check whether any of the Menu's items have an icon.

Link copied to clipboard

Allows implementors to specify a Menu's insets.

Functions

Link copied to clipboard

Provides a configuration for action items in a Menu.

Link copied to clipboard

Provides a configuration for prompt items in a Menu.

Link copied to clipboard

Provides a configuration for separators in a Menu.

Link copied to clipboard

Provides a configuration for submenu items in a Menu.

Inherited functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun contains(view: Menu, point: Point): Boolean
Link copied to clipboard
open fun install(view: Menu)
Link copied to clipboard
Link copied to clipboard
open fun render(view: Menu, canvas: Canvas)
Link copied to clipboard
open fun uninstall(view: Menu)