public class PulseListFooterPresenter extends Object implements PulseListFooterView.Listener
PulseListFooterView
and binds it with other Pulse components
via PulseListFooterPresenter.Listener
interface.Modifier and Type | Class and Description |
---|---|
static interface |
PulseListFooterPresenter.Listener
Bulk action triggering listener interface.
|
Constructor and Description |
---|
PulseListFooterPresenter(PulseListFooterView view) |
Modifier and Type | Method and Description |
---|---|
void |
onBulkActionTriggered(String actionId) |
void |
setActionEnabled(String actionId,
boolean isEnabled) |
void |
setListener(PulseListFooterPresenter.Listener listener) |
PulseListFooterView |
start(List<ActionDefinition> bulkActions,
long totalAmount) |
void |
updateStatus(long totalAmount,
int totalSelected) |
@Inject public PulseListFooterPresenter(PulseListFooterView view)
public void setListener(PulseListFooterPresenter.Listener listener)
public PulseListFooterView start(List<ActionDefinition> bulkActions, long totalAmount)
public void onBulkActionTriggered(String actionId)
onBulkActionTriggered
in interface PulseListFooterView.Listener
public void setActionEnabled(String actionId, boolean isEnabled)
public void updateStatus(long totalAmount, int totalSelected)
Copyright © 2019 Magnolia International Ltd.. All rights reserved.