public class ColumnFooter<M> extends Component
Grid
, which renders one to many aggregation rows.Modifier and Type | Field and Description |
---|---|
protected ColumnModel<M> |
cm |
protected Grid<M> |
grid |
protected GridView<M> |
gridView |
adjustSize, allowTextSelection, cacheSizes, disableContextMenu, disabled, disabledStyle, ensureVisibilityOnSizing, height, hidden, lastSize, layer, left, mask, maskMessage, monitorWindowResize, pageX, pageY, resizeHandler, shim, tabIndex, toolTip, toolTipConfig, top, width, windowResizeDelay, windowResizeTask
Constructor and Description |
---|
ColumnFooter(Grid<M> grid,
ColumnModel<M> cm)
Creates a new column footer.
|
Modifier and Type | Method and Description |
---|---|
protected SafeHtml |
doRender() |
protected <N,O> SafeHtml |
getRenderedValue(int row,
int col) |
protected void |
onAfterFirstAttach()
Called immediately after the first time the widget becomes attached to the browser's document only the first time.
|
protected void |
refresh() |
protected SafeHtml |
renderRows() |
void |
updateColumnHidden(int column,
boolean hidden)
Updates the column hidden state.
|
void |
updateColumnWidth(int column,
int width)
Updates the column width.
|
void |
updateTotalWidth(int offset,
int width)
Updates the total column width.
|
addBeforeHideHandler, addBeforeShowContextMenuHandler, addBeforeShowHandler, addBlurHandler, addDisableHandler, addEnableHandler, addFocusHandler, addHideHandler, addMoveHandler, addResizeHandler, addShowContextMenuHandler, addShowHandler, addStyleDependentName, addStyleOnOver, adjustPosition, adjustSize, applyState, assertAfterRender, assertPreRender, blur, clearSizeCache, disable, disableContextMenu, disableEvents, enable, enableEvents, fireCancellableEvent, fireEvent, focus, getData, getElement, getFocusEl, getFocusSupport, getHideMode, getId, getItemId, getOffsetHeight, getOffsetWidth, getPositionEl, getShadow, getShadowPosition, getStateId, getTabIndex, getToolTip, hide, hideShadow, hideToolTip, isAllowTextSelection, isAutoHeight, isAutoWidth, isDeferHeight, isEnabled, isMonitorWindowResize, isRendered, isStateful, isVisible, isVisible, mask, mask, notifyHide, notifyShow, onAttach, onBlur, onBrowserEvent, onDetach, onDisable, onEnable, onFocus, onHide, onHideContextMenu, onLoad, onPosition, onResize, onRightClick, onShow, onShowContextMenu, onUnload, onWindowResize, removeStyleDependentName, removeStyleOnOver, removeToolTip, setAllowTextSelection, setBorders, setBounds, setBounds, setContextMenu, setData, setDeferHeight, setEnabled, setHeight, setHeight, setHideMode, setId, setItemId, setMonitorWindowResize, setPagePosition, setPixelSize, setPosition, setShadow, setShadowPosition, setSize, setStateful, setStateId, setStyleDependentName, setTabIndex, setToolTip, setToolTipConfig, setVisible, setWidth, setWidth, show, sync, syncSize, unmask
protected ColumnModel<M> cm
public ColumnFooter(Grid<M> grid, ColumnModel<M> cm)
grid
- the target gridcm
- the column modelpublic void updateColumnHidden(int column, boolean hidden)
column
- the target columnhidden
- true if hiddenpublic void updateColumnWidth(int column, int width)
column
- the target columnwidth
- the new widthpublic void updateTotalWidth(int offset, int width)
offset
- the offsetwidth
- the total widthprotected SafeHtml doRender()
protected void onAfterFirstAttach()
Component
onAfterFirstAttach
in class Component
protected void refresh()
protected <N,O> SafeHtml getRenderedValue(int row, int col)
protected SafeHtml renderRows()
Copyright © 2018. All rights reserved.