ToolbarWidgetDefBase Class
A Toolbar Widget normally displayed in the top left & top right zones in the 9-Zone Layout system.
Extends
Extended by
Methods
Name | Description | |
---|---|---|
constructor(def: ToolbarWidgetProps): ToolbarWidgetDefBase | ||
createCachedHorizontalItemList(toolbarId: string): void Protected | ||
createCachedVerticalItemList(toolbarId: string): void Protected | ||
createMergedItemList(originalItemList: ItemList | undefined, insertSpecs: ToolbarItemInsertSpec[], insertAtStart: boolean = false): ItemList Protected | Create a Merged ItemList leaving the original ItemList untouched. | |
generateMergedItemLists(): void | ||
renderHorizontalToolbar(): React.ReactNode | ||
renderVerticalToolbar(): React.ReactNode |
Inherited methods
Name | Inherited from | Description |
---|---|---|
canOpen(): boolean | WidgetDef | |
getWidgetControl(type: ConfigurableUiControlType): WidgetControl | undefined | WidgetDef | |
setLabel(v: string | StringGetter): void | WidgetDef | Set the label. |
setTooltip(v: string | StringGetter): void | WidgetDef | Set the tooltip. |
setUpSyncSupport(props: WidgetProps): void | WidgetDef | |
setWidgetState(newState: WidgetState): void | WidgetDef | |
initializeFromWidgetProps(widgetProps: WidgetProps, me: WidgetDef): void Static | WidgetDef |
Properties
Name | Type | Description | |
---|---|---|---|
_cachedHorizontalItems Protected | undefined | ItemList | ||
_cachedVerticalItems Protected | undefined | ItemList | ||
horizontalDirection | Direction | ||
horizontalItems | undefined | ItemList | ||
horizontalPanelAlignment | ToolbarPanelAlignment | ||
verticalDirection | Direction | ||
verticalItems | undefined | ItemList | ||
verticalPanelAlignment | ToolbarPanelAlignment | ||
widgetBaseName Accessor | string |
Inherited properties
Defined in
Last Updated: 08 January, 2020