public abstract class GxAbstractQuerySpreadsheetPanel<QB,RB> extends AbstractDashboardPanel implements com.vaadin.navigator.View, TRAbstractQueryForm.QueryFormDelegate<QB>
com.vaadin.ui.Layout.AlignmentHandler, com.vaadin.ui.Layout.MarginHandler, com.vaadin.ui.Layout.SpacingHandlercom.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListenercom.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listenercom.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener| Constructor and Description |
|---|
GxAbstractQuerySpreadsheetPanel(Class<QB> queryBeanClass) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
generateCellsForDataRow(org.apache.poi.ss.usermodel.Sheet sheet,
org.apache.poi.ss.usermodel.Row row,
RB bean) |
protected abstract void |
generateCellsForHeaderRow(org.apache.poi.ss.usermodel.Sheet sheet,
org.apache.poi.ss.usermodel.Row headerRow) |
protected org.apache.poi.ss.usermodel.CellStyle |
getDateStyle() |
protected org.apache.poi.ss.usermodel.CellStyle |
getDateTimeStyle() |
protected org.apache.poi.ss.usermodel.CellStyle |
getTimeStyle() |
void |
onSubmit(QB queryBean) |
protected void |
postInitialize() |
protected abstract Collection<RB> |
query(QB queryBean) |
abstract TRAbstractQueryForm<QB> |
queryForm() |
protected void |
saveQuery(QB bean) |
void |
setOnDeleteCallback(TRParamCallback<GxSavedQueryBean> onDeleteCallback) |
void |
setOnSaveCallback(TRParamCallback<GxSavedQueryBean> onSaveCallback) |
protected boolean |
shouldShowHeader() |
addButtons, addComponent, addComponentsToToolbar, addComponentWithExpandRatio, isSpringComponent, localizedPluralValue, localizedPluralValue, localizedSingularValue, localizedSingularValue, localizeRecursively, localizeRecursively, panelTitle, setPanelTitle, shouldShowActionButtonaddComponent, addComponentAsFirst, addLayoutClickListener, addListener, getComponent, getComponentAlignment, getComponentCount, getComponentIndex, getCustomAttributes, getDefaultComponentAlignment, getExpandRatio, getMargin, getState, isSpacing, iterator, readDesign, removeComponent, removeLayoutClickListener, removeListener, replaceComponent, setComponentAlignment, setDefaultComponentAlignment, setExpandRatio, setMargin, setMargin, setSpacing, writeDesignaddComponentAttachListener, addComponentDetachListener, addComponents, addListener, addListener, fireComponentAttachEvent, fireComponentDetachEvent, getComponentIterator, moveComponentsFrom, removeAllComponents, removeComponentAttachListener, removeComponentDetachListener, removeListener, removeListener, setHeight, setWidthaddContextClickListener, addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getExplicitImmediateValue, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isImmediate, isOrHasAncestor, isReadOnly, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setEnabled, setHeight, setHeightUndefined, setIcon, setId, setImmediate, setLocale, setParent, setPrimaryStyleName, setReadOnly, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setStyleName, setVisible, setWidth, setWidthUndefinedaddAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResourceclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddComponents, addListener, addListener, getComponentIterator, moveComponentsFrom, removeAllComponents, removeListener, removeListeneraddListener, addStyleName, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setReadOnly, setStyleName, setVisibleaddAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlergetHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthUndefinedforEach, spliteratorpublic void onSubmit(QB queryBean)
onSubmit in interface TRAbstractQueryForm.QueryFormDelegate<QB>protected boolean shouldShowHeader()
shouldShowHeader in class AbstractDashboardPanelprotected abstract void generateCellsForDataRow(org.apache.poi.ss.usermodel.Sheet sheet,
org.apache.poi.ss.usermodel.Row row,
RB bean)
protected abstract void generateCellsForHeaderRow(org.apache.poi.ss.usermodel.Sheet sheet,
org.apache.poi.ss.usermodel.Row headerRow)
protected abstract Collection<RB> query(QB queryBean)
protected void postInitialize()
postInitialize in class AbstractDashboardPanelprotected void saveQuery(QB bean)
public abstract TRAbstractQueryForm<QB> queryForm()
protected org.apache.poi.ss.usermodel.CellStyle getDateStyle()
protected org.apache.poi.ss.usermodel.CellStyle getDateTimeStyle()
protected org.apache.poi.ss.usermodel.CellStyle getTimeStyle()
public void setOnSaveCallback(TRParamCallback<GxSavedQueryBean> onSaveCallback)
public void setOnDeleteCallback(TRParamCallback<GxSavedQueryBean> onDeleteCallback)
Copyright © 2018. All rights reserved.