Winter Cardinal UI - v0.442.0 / DMenuItemSpaceOptions

Interface: DMenuItemSpaceOptions<THEME>

DBase options.

Type parameters

Name Type
THEME extends DThemeMenuItemSpace = DThemeMenuItemSpace

Hierarchy

Table of contents

Properties

Properties

background

Optional background: DBaseBackgroundOptions

A background options.

Inherited from

DLayoutSpaceOptions.background

Defined in

src/main/typescript/wcardinal/ui/d-base.ts:496


border

Optional border: DBaseBorderOptions

A border options.

Inherited from

DLayoutSpaceOptions.border

Defined in

src/main/typescript/wcardinal/ui/d-base.ts:499


children

Optional children: (null | DisplayObject)[]

Children.

Inherited from

DLayoutSpaceOptions.children

Defined in

src/main/typescript/wcardinal/ui/d-base.ts:399


clear

Optional clear: number | "NONE" | "BOTH" | "BEFORE" | "AFTER"

A clear type used by DLayoutVertical and DLayoutHorizontal.

Inherited from

DLayoutSpaceOptions.clear

Defined in

src/main/typescript/wcardinal/ui/d-base.ts:508


corner

Optional corner: number | DBaseCornerOptions

A corner options.

Inherited from

DLayoutSpaceOptions.corner

Defined in

src/main/typescript/wcardinal/ui/d-base.ts:471


cursor

Optional cursor: DStateAwareOrValueMightBe<string>

A cursor shape.

Inherited from

DLayoutSpaceOptions.cursor

Defined in

src/main/typescript/wcardinal/ui/d-base.ts:511


height

Optional height: DCoordinateSize

One of the followings:

Inherited from

DLayoutSpaceOptions.height

Defined in

src/main/typescript/wcardinal/ui/d-base.ts:442


interactive

Optional interactive: number | "NONE" | "SELF" | "CHILDREN" | "BOTH"

An interactivity option.

Inherited from

DLayoutSpaceOptions.interactive

Defined in

src/main/typescript/wcardinal/ui/d-base.ts:465


name

Optional name: string

A name.

Inherited from

DLayoutSpaceOptions.name

Defined in

src/main/typescript/wcardinal/ui/d-base.ts:402


on

Optional on: DBaseOnOptions<any>

Mappings of event names and event handlers.

Inherited from

DLayoutSpaceOptions.on

Defined in

src/main/typescript/wcardinal/ui/d-base.ts:479


outline

Optional outline: DBaseOutlineOptions

An outline options.

Inherited from

DLayoutSpaceOptions.outline

Defined in

src/main/typescript/wcardinal/ui/d-base.ts:502


padding

Optional padding: number | DBasePaddingOptions

A padding options.

Inherited from

DLayoutSpaceOptions.padding

Defined in

src/main/typescript/wcardinal/ui/d-base.ts:468


parent

Optional parent: Container

A parent.

In the case of UI classes which pop up (e.g., DDialog and DMenu), if multiple application instances are there, better to set this to an application.stage so that they pick a right application. By default, they assume the last created application is the one they belong to at the time when they are created.

Inherited from

DLayoutSpaceOptions.parent

Defined in

src/main/typescript/wcardinal/ui/d-base.ts:396


renderable

Optional renderable: boolean

A renderability. Unlike visible, non-renderable element occupies a space. Set to true to make DBase renderable. Set to false to make DBase not renderable. The default value is true.

Inherited from

DLayoutSpaceOptions.renderable

Defined in

src/main/typescript/wcardinal/ui/d-base.ts:459


shadow

Optional shadow: null | DBaseShadow

A shadow.

Inherited from

DLayoutSpaceOptions.shadow

Defined in

src/main/typescript/wcardinal/ui/d-base.ts:505


shortcut

Optional shortcut: string | UtilKeyboardEventShortcut

A shortcut option.

Inherited from

DLayoutSpaceOptions.shortcut

Defined in

src/main/typescript/wcardinal/ui/d-base.ts:490


shortcuts

Optional shortcuts: (string | UtilKeyboardEventShortcut)[]

A shortcut options.

Inherited from

DLayoutSpaceOptions.shortcuts

Defined in

src/main/typescript/wcardinal/ui/d-base.ts:493


space

space: true

Defined in

src/main/typescript/wcardinal/ui/d-menu-item-space.ts:10


state

Optional state: string | string[] | DBaseStateOptions

A default state.

Inherited from

DLayoutSpaceOptions.state

Defined in

src/main/typescript/wcardinal/ui/d-base.ts:462


theme

Optional theme: string | THEME

A theme or a theme name.

Inherited from

DLayoutSpaceOptions.theme

Defined in

src/main/typescript/wcardinal/ui/d-base.ts:474


title

Optional title: string

A tooltip text.

Inherited from

DLayoutSpaceOptions.title

Defined in

src/main/typescript/wcardinal/ui/d-base.ts:487


visible

Optional visible: boolean

A visibility. Set to true to make DBase visible. Set to false to make DBase invisible. The default value is true.

Inherited from

DLayoutSpaceOptions.visible

Defined in

src/main/typescript/wcardinal/ui/d-base.ts:450


weight

Optional weight: number

A weight used by DLayoutVertical and DLayoutHorizontal.

Inherited from

DLayoutSpaceOptions.weight

Defined in

src/main/typescript/wcardinal/ui/d-base.ts:484


width

Optional width: DCoordinateSize

One of the followings:

Inherited from

DLayoutSpaceOptions.width

Defined in

src/main/typescript/wcardinal/ui/d-base.ts:432


x

Optional x: DCoordinatePosition

One of the followings:

Inherited from

DLayoutSpaceOptions.x

Defined in

src/main/typescript/wcardinal/ui/d-base.ts:412


y

Optional y: DCoordinatePosition

One of the followings:

Inherited from

DLayoutSpaceOptions.y

Defined in

src/main/typescript/wcardinal/ui/d-base.ts:422