Package coop.intergal.ui.views
Class DynamicGridRowCard
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.polymertemplate.AbstractTemplate<M>
-
- com.vaadin.flow.component.polymertemplate.PolymerTemplate<com.vaadin.flow.templatemodel.TemplateModel>
-
- coop.intergal.ui.views.DynamicGridRowCard
-
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,com.vaadin.flow.router.AfterNavigationObserver,com.vaadin.flow.router.BeforeEnterObserver,com.vaadin.flow.router.HasDynamicTitle,com.vaadin.flow.router.internal.AfterNavigationHandler,com.vaadin.flow.router.internal.BeforeEnterHandler,Serializable
@Tag("dynamic-view-grid") @JsModule("./src/views/admin/products/dynamic-view-grid.js") public class DynamicGridRowCard extends com.vaadin.flow.component.polymertemplate.PolymerTemplate<com.vaadin.flow.templatemodel.TemplateModel> implements com.vaadin.flow.router.BeforeEnterObserver, com.vaadin.flow.router.AfterNavigationObserver, com.vaadin.flow.router.HasDynamicTitle- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DynamicGridRowCard()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterNavigation(com.vaadin.flow.router.AfterNavigationEvent event)voidbeforeEnter(com.vaadin.flow.router.BeforeEnterEvent event)StringcomponFKFilter(DynamicDBean bean, String resourceSubGrid)protected StringgetBasePage()protected com.vaadin.flow.data.binder.Binder<DynamicDBean>getBinder()StringgetFilter()com.vaadin.flow.component.grid.Grid<DynamicDBean>getGrid()StringgetPageTitle()StringgetResourceName()ArrayList<String[]>getRowsColList()static com.vaadin.flow.data.renderer.TemplateRenderer<DynamicDBean>getTemplate()voidsetDisplay(com.vaadin.flow.component.html.Div divDisplay)voidsetDivSubGrid(com.vaadin.flow.component.html.Div divSubGrid)voidsetFilter(String filter)voidsetGridSplitDisplay(com.vaadin.flow.component.splitlayout.SplitLayout gridSplitDisplay)voidsetLayout(DynamicQryGridDisplay layout)voidsetQueryParameters(com.vaadin.flow.router.QueryParameters queryParameters)voidsetResourceName(String resourceName)voidsetRowsColList(ArrayList<String[]> rowsColList)voidsetupGrid()-
Methods inherited from class com.vaadin.flow.component.polymertemplate.AbstractTemplate
getModel, getModelType, getModelType, getStateNode, initModel, isSupportedClass
-
Methods inherited from class com.vaadin.flow.component.Component
addListener, fireEvent, from, get, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
-
-
-
-
Method Detail
-
setupGrid
public void setupGrid()
-
getTemplate
public static com.vaadin.flow.data.renderer.TemplateRenderer<DynamicDBean> getTemplate()
-
getGrid
public com.vaadin.flow.component.grid.Grid<DynamicDBean> getGrid()
-
getBasePage
protected String getBasePage()
-
getBinder
protected com.vaadin.flow.data.binder.Binder<DynamicDBean> getBinder()
-
afterNavigation
public void afterNavigation(com.vaadin.flow.router.AfterNavigationEvent event)
- Specified by:
afterNavigationin interfacecom.vaadin.flow.router.internal.AfterNavigationHandler
-
componFKFilter
public String componFKFilter(DynamicDBean bean, String resourceSubGrid)
-
beforeEnter
public void beforeEnter(com.vaadin.flow.router.BeforeEnterEvent event)
- Specified by:
beforeEnterin interfacecom.vaadin.flow.router.internal.BeforeEnterHandler
-
getPageTitle
public String getPageTitle()
- Specified by:
getPageTitlein interfacecom.vaadin.flow.router.HasDynamicTitle
-
setQueryParameters
public void setQueryParameters(com.vaadin.flow.router.QueryParameters queryParameters)
-
setDisplay
public void setDisplay(com.vaadin.flow.component.html.Div divDisplay)
-
setLayout
public void setLayout(DynamicQryGridDisplay layout)
-
setGridSplitDisplay
public void setGridSplitDisplay(com.vaadin.flow.component.splitlayout.SplitLayout gridSplitDisplay)
-
setDivSubGrid
public void setDivSubGrid(com.vaadin.flow.component.html.Div divSubGrid)
-
getResourceName
public String getResourceName()
-
setResourceName
public void setResourceName(String resourceName)
-
getFilter
public String getFilter()
-
setFilter
public void setFilter(String filter)
-
-