ActionButtonItemDef Class

Abstract base class that is used by classes to execute an action when pressed.


Extended by


Name Description
constructor(itemProps: ItemProps): ActionButtonItemDef    
execute(): void    
getDimension(orientation: Orientation): number    
handleSizeKnown(size: SizeProps): void    
toolbarReactNode(index?: number): React.ReactNode    

Inherited methods

Name Inherited from Description
setLabel(v: string | StringGetter): void ItemDefBase Set the label.
setTooltip(v: string | StringGetter): void ItemDefBase Set the tooltip.
initializeDef(me: ItemDefBase, itemProps: ItemProps): void Static ItemDefBase  


Name Type Description
_commandHandler Protected undefined | CommandHandler    
parameters undefined | any    
size undefined | SizeProps    

Inherited properties

Name Type Inherited from Description
applicationData undefined | any ItemDefBase  
betaBadge boolean ItemDefBase  
iconElement undefined | React.ReactNode ItemDefBase  
iconSpec string | React.ReactNode ItemDefBase  
id Accessor ReadOnly string ItemDefBase  
isActive boolean ItemDefBase  
isEnabled boolean ItemDefBase  
isPressed boolean ItemDefBase  
isVisible boolean ItemDefBase  
label Accessor ReadOnly string ItemDefBase Get the label string
stateFunc undefined | (state: Readonly<BaseItemState>) => BaseItemState ItemDefBase  
stateSyncIds string[] ItemDefBase  
tooltip Accessor ReadOnly string ItemDefBase Get the tooltip string
trayId Accessor ReadOnly undefined ItemDefBase  

Defined in

Last Updated: 10 September, 2019