projects/congarevenuecloud/ecommerce/src/lib/modules/catalog/classes/batch-action.model.ts
Batch Action model describes a batch action object. Batch actions are actions that can be taken on several selected items.
Methods |
|
constructor(displayLabel: string, iconName: string, actionMethod: Function)
|
Creates a new batch action object with the given parameters. |
Public getActionMethod |
getActionMethod()
|
Gets the action method for this batch action.
Returns :
Function
|
Public getDisplayName |
getDisplayName()
|
Gets the display name for this batch action.
Returns :
string
|
Public getIconName |
getIconName()
|
Gets the Open Iconic icon name for this batch action.
Returns :
string
|
Public getTooltipText |
getTooltipText()
|
Gets the tooltip text for this batch action.
Returns :
string
|
Public getTranslationKey |
getTranslationKey()
|
Returns :
string
|
Public isDisabled |
isDisabled()
|
Gets the disabled state of this batch action.
Returns :
boolean
|
Public isVisible |
isVisible()
|
Gets the visible state of this batch action.
Returns :
boolean
|
Public setDisabled | ||||||||
setDisabled(disabled: boolean)
|
||||||||
Setter for the disabled state of this batch action.
Parameters :
Returns :
void
|
Public setTooltipText | ||||||||
setTooltipText(text: string)
|
||||||||
Sets the tooltip text on this batch action when it is disabled.
Parameters :
Returns :
void
|
Public setVisible | ||||||||
setVisible(visible: boolean)
|
||||||||
Setter for the visible state of this batch action.
Parameters :
Returns :
void
|