Class ActionButtonFactory
- Namespace
- JJMasterData.Core.UI.Components
- Assembly
- JJMasterData.Core.dll
public class ActionButtonFactory
- Inheritance
-
ActionButtonFactory
- Inherited Members
-
Constructors
public ActionButtonFactory(IComponentFactory<JJLinkButton> linkButtonFactory, ActionScripts actionScripts, ExpressionsService expressionsService, IEncryptionService encryptionService, IStringLocalizer<MasterDataResources> stringLocalizer)
Parameters
linkButtonFactory
IComponentFactory<JJLinkButton>
actionScripts
ActionScripts
expressionsService
ExpressionsService
encryptionService
IEncryptionService
stringLocalizer
IStringLocalizer<MasterDataResources>
Methods
public JJLinkButton Create()
Returns
- JJLinkButton
public JJLinkButton Create(BasicAction action, bool visible, bool enabled)
Parameters
action
BasicAction
visible
bool
enabled
bool
Returns
- JJLinkButton
CreateFieldButton(BasicAction, ActionContext)
public JJLinkButton CreateFieldButton(BasicAction action, ActionContext actionContext)
Parameters
action
BasicAction
actionContext
ActionContext
Returns
- JJLinkButton
public JJLinkButton CreateFormToolbarButton(BasicAction action, FormStateData formStateData, JJFormView formView)
Parameters
action
BasicAction
formStateData
FormStateData
formView
JJFormView
Returns
- JJLinkButton
public JJLinkButton CreateGridTableButton(BasicAction action, JJGridView gridView, FormStateData formStateData)
Parameters
action
BasicAction
gridView
JJGridView
formStateData
FormStateData
Returns
- JJLinkButton
public JJLinkButton CreateGridToolbarButton(BasicAction action, JJGridView gridView, FormStateData formStateData)
Parameters
action
BasicAction
gridView
JJGridView
formStateData
FormStateData
Returns
- JJLinkButton