Winter Cardinal UI - v0.457.0 / DMenus
• new DMenus(): DMenus
▪ Static Protected CREATORS: DMenuItemCreator[] = []
src/main/typescript/wcardinal/ui/d-menus.ts:18
▪ Static Protected CREATOR_DEFAULT: null | DMenuItemCreator = null
src/main/typescript/wcardinal/ui/d-menus.ts:19
▪ Static Protected Optional MENU_CREATOR: DMenuMenuCreator
src/main/typescript/wcardinal/ui/d-menus.ts:20
▸ addItemCreator(creator): void
| Name | Type |
|---|---|
creator |
DMenuItemCreator |
void
src/main/typescript/wcardinal/ui/d-menus.ts:22
▸ newItem<VALUE>(options, sticky): null | DisplayObject
| Name |
|---|
VALUE |
| Name | Type |
|---|---|
options |
DMenuItemOptionsUnion<VALUE> |
sticky |
boolean |
null | DisplayObject
src/main/typescript/wcardinal/ui/d-menus.ts:52
▸ newItemOf<VALUE>(creators, creatorDefault, options, sticky): null | DisplayObject
| Name |
|---|
VALUE |
| Name | Type |
|---|---|
creators |
DMenuItemCreator[] |
creatorDefault |
null | DMenuItemCreator |
options |
DMenuItemOptionsUnion<VALUE> |
sticky |
boolean |
null | DisplayObject
src/main/typescript/wcardinal/ui/d-menus.ts:34
▸ newItems<VALUE>(parent, items, sticky): void
| Name |
|---|
VALUE |
| Name | Type |
|---|---|
parent |
Container |
items |
(undefined | null | DisplayObject | DMenuItemOptionsUnion<VALUE>)[] |
sticky |
boolean |
void
src/main/typescript/wcardinal/ui/d-menus.ts:82
▸ newItemsOf<VALUE>(creator, parent, items, sticky): void
| Name |
|---|
VALUE |
| Name | Type |
|---|---|
creator |
Object |
creator.newItem |
(options: DMenuItemOptionsUnion<VALUE>, sticky: boolean) => null | DisplayObject |
parent |
Container |
items |
(undefined | null | DisplayObject | DMenuItemOptionsUnion<VALUE>)[] |
sticky |
boolean |
void
src/main/typescript/wcardinal/ui/d-menus.ts:59
▸ newMenu<VALUE>(options?): DMenu<VALUE, DThemeMenu, DMenuOptions<VALUE, DThemeMenu>>
| Name |
|---|
VALUE |
| Name | Type |
|---|---|
options? |
DMenuOptions<VALUE, DThemeMenu> |
DMenu<VALUE, DThemeMenu, DMenuOptions<VALUE, DThemeMenu>>
src/main/typescript/wcardinal/ui/d-menus.ts:90
▸ setItemCreatorDefault(creator): void
| Name | Type |
|---|---|
creator |
DMenuItemCreator |
void
src/main/typescript/wcardinal/ui/d-menus.ts:26
▸ setMenuCreator(creator): void
| Name | Type |
|---|---|
creator |
DMenuMenuCreator |
void