Class LiveSearchFooter
- java.lang.Object
-
- org.uberfire.ext.widgets.common.client.dropdown.footer.LiveSearchFooter
-
- All Implemented Interfaces:
org.jboss.errai.common.client.api.IsElement,LiveSearchFooterView.Presenter
@Dependent public class LiveSearchFooter extends Object implements LiveSearchFooterView.Presenter, org.jboss.errai.common.client.api.IsElement
-
-
Constructor Summary
Constructors Constructor Description LiveSearchFooter(LiveSearchFooterView view)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.errai.common.client.dom.HTMLElementgetElement()voidinit(org.uberfire.mvp.Command onNewEntry, org.uberfire.mvp.Command onReset)voidonNewEntryPressed()voidonResetPressed()voidrestore()voidsetNewEntryLabel(String newEntryLabel)voidsetResetLabel(String resetLabel)voidshowAddNewEntry(boolean show)voidshowEditor(InlineCreationEditor editor)voidshowReset(boolean show)
-
-
-
Constructor Detail
-
LiveSearchFooter
@Inject public LiveSearchFooter(LiveSearchFooterView view)
-
-
Method Detail
-
init
public void init(org.uberfire.mvp.Command onNewEntry, org.uberfire.mvp.Command onReset)
-
showEditor
public void showEditor(InlineCreationEditor editor)
-
showReset
public void showReset(boolean show)
-
showAddNewEntry
public void showAddNewEntry(boolean show)
-
onNewEntryPressed
public void onNewEntryPressed()
- Specified by:
onNewEntryPressedin interfaceLiveSearchFooterView.Presenter
-
onResetPressed
public void onResetPressed()
- Specified by:
onResetPressedin interfaceLiveSearchFooterView.Presenter
-
getElement
public org.jboss.errai.common.client.dom.HTMLElement getElement()
- Specified by:
getElementin interfaceorg.jboss.errai.common.client.api.IsElement
-
restore
public void restore()
-
setResetLabel
public void setResetLabel(String resetLabel)
-
setNewEntryLabel
public void setNewEntryLabel(String newEntryLabel)
-
-