public interface ReportButtonExtension extends Serializable, SingularExtension
| Modifier and Type | Method and Description |
|---|---|
Icon |
getIcon() |
String |
getName() |
default void |
init(ISupplier<SingularReport> singularReport)
Allow Configuration based on SingularReport
|
default boolean |
isButtonEnabled()
Allow the control of the enabled state
|
default boolean |
isButtonVisible()
Allow the control of the visible state
|
void |
onAction(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget,
ViewGenerator viewGenerator)
Executed when the button is clicked
|
default void |
onBuild(SingularReportPanel reportPanel)
Allow append another components do the report panel, usefull to add modals
|
default void |
updateReportMetatada(ReportMetadata reportMetadata)
Allow update on report metadata
|
default void init(ISupplier<SingularReport> singularReport)
default void updateReportMetatada(ReportMetadata reportMetadata)
reportMetadata - the report metadatadefault void onBuild(SingularReportPanel reportPanel)
default boolean isButtonEnabled()
default boolean isButtonVisible()
Icon getIcon()
String getName()
void onAction(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget,
ViewGenerator viewGenerator)
ajaxRequestTarget - the request targetviewGenerator - the view generatorCopyright © 2018. All rights reserved.