Table of Contents

Class ActionButtonFactory

Namespace
JJMasterData.Core.UI.Components
Assembly
JJMasterData.Core.dll
public class ActionButtonFactory
Inheritance
ActionButtonFactory
Inherited Members

Constructors

ActionButtonFactory(IComponentFactory<JJLinkButton>, ActionScripts, ExpressionsService, IEncryptionService, IStringLocalizer<MasterDataResources>)

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

Create()

public JJLinkButton Create()

Returns

JJLinkButton

Create(BasicAction, bool, bool)

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

CreateFormToolbarButton(BasicAction, FormStateData, JJFormView)

public JJLinkButton CreateFormToolbarButton(BasicAction action, FormStateData formStateData, JJFormView formView)

Parameters

action BasicAction
formStateData FormStateData
formView JJFormView

Returns

JJLinkButton

CreateGridTableButton(BasicAction, JJGridView, FormStateData)

public JJLinkButton CreateGridTableButton(BasicAction action, JJGridView gridView, FormStateData formStateData)

Parameters

action BasicAction
gridView JJGridView
formStateData FormStateData

Returns

JJLinkButton

CreateGridToolbarButton(BasicAction, JJGridView, FormStateData)

public JJLinkButton CreateGridToolbarButton(BasicAction action, JJGridView gridView, FormStateData formStateData)

Parameters

action BasicAction
gridView JJGridView
formStateData FormStateData

Returns

JJLinkButton