@Dependent public class LiveSearchFooter extends Object implements LiveSearchFooterView.Presenter, org.jboss.errai.common.client.api.IsElement
Constructor and Description |
---|
LiveSearchFooter(LiveSearchFooterView view) |
Modifier and Type | Method and Description |
---|---|
org.jboss.errai.common.client.dom.HTMLElement |
getElement() |
void |
init(Command onNewEntry,
Command onReset) |
void |
onNewEntryPressed() |
void |
onResetPressed() |
void |
restore() |
void |
setNewEntryLabel(String newEntryLabel) |
void |
setResetLabel(String resetLabel) |
void |
showAddNewEntry(boolean show) |
void |
showEditor(InlineCreationEditor editor) |
void |
showReset(boolean show) |
@Inject public LiveSearchFooter(LiveSearchFooterView view)
public void showEditor(InlineCreationEditor editor)
public void showReset(boolean show)
public void showAddNewEntry(boolean show)
public void onNewEntryPressed()
onNewEntryPressed
in interface LiveSearchFooterView.Presenter
public void onResetPressed()
onResetPressed
in interface LiveSearchFooterView.Presenter
public org.jboss.errai.common.client.dom.HTMLElement getElement()
getElement
in interface org.jboss.errai.common.client.api.IsElement
public void restore()
public void setResetLabel(String resetLabel)
public void setNewEntryLabel(String newEntryLabel)
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.