public class GroupByDataLayer<T> extends DataLayer implements Observer
Modifier and Type | Field and Description |
---|---|
static String |
GROUP_BY_OBJECT
Label that indicates the shown tree item object as GroupByObject
|
dataProvider, DEFAULT_COLUMN_WIDTH, DEFAULT_ROW_HEIGHT, PERSISTENCE_KEY_COLUMN_WIDTH, PERSISTENCE_KEY_ROW_HEIGHT
layerPainter
DOT, VALUE_SEPARATOR
Constructor and Description |
---|
GroupByDataLayer(GroupByModel groupByModel,
ca.odell.glazedlists.EventList<T> eventList,
IColumnAccessor<T> columnAccessor) |
Modifier and Type | Method and Description |
---|---|
LabelStack |
getConfigLabelsByPosition(int columnPosition,
int rowPosition) |
ca.odell.glazedlists.TreeList<Object> |
getTreeList() |
GlazedListTreeRowModel<Object> |
getTreeRowModel() |
void |
update(Observable o,
Object arg) |
protected void |
updateTree()
Method to update the tree list after filter or TreeList.Format changed.
|
doCommand, getColumnCount, getColumnIndexByPosition, getColumnPositionByIndex, getColumnPositionByX, getColumnWidthByPosition, getDataProvider, getDataValueByPosition, getHeight, getPreferredColumnCount, getPreferredHeight, getPreferredRowCount, getPreferredWidth, getRowCount, getRowHeightByPosition, getRowIndexByPosition, getRowPositionByIndex, getRowPositionByY, getStartXOfColumnPosition, getStartYOfRowPosition, getUnderlyingLayerByPosition, getUnderlyingLayersByColumnPosition, getUnderlyingLayersByRowPosition, getWidth, isColumnPercentageSizing, isColumnPositionResizable, isRowPercentageSizing, isRowPositionResizable, loadState, localToUnderlyingColumnPosition, localToUnderlyingRowPosition, registerCommandHandlers, saveState, setColumnPercentageSizing, setColumnPositionResizable, setColumnsResizableByDefault, setColumnWidthByPosition, setColumnWidthPercentageByPosition, setDataProvider, setDefaultColumnWidth, setDefaultColumnWidthByPosition, setDefaultRowHeight, setDefaultRowHeightByPosition, setRowHeightByPosition, setRowHeightPercentageByPosition, setRowPercentageSizing, setRowPositionResizable, setRowsResizableByDefault, underlyingToLocalColumnPosition, underlyingToLocalColumnPositions, underlyingToLocalRowPosition, underlyingToLocalRowPositions
addConfiguration, addLayerListener, clearConfiguration, configure, dispose, fireLayerEvent, getBoundsByPosition, getCellByPosition, getCellPainter, getClientAreaProvider, getConfigLabelAccumulator, getDisplayModeByPosition, getLayerPainter, getRegionLabelsByXY, getRegionName, handleLayerEvent, hasLayerListener, registerCommandHandler, registerEventHandler, registerPersistable, removeLayerListener, setClientAreaProvider, setConfigLabelAccumulator, setLayerPainter, setRegionName, toString, unregisterCommandHandler, unregisterPersistable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addLayerListener, configure, dispose, fireLayerEvent, getBoundsByPosition, getCellByPosition, getCellPainter, getClientAreaProvider, getDisplayModeByPosition, getLayerPainter, getRegionLabelsByXY, hasLayerListener, registerCommandHandler, registerPersistable, removeLayerListener, setClientAreaProvider, unregisterCommandHandler, unregisterPersistable
handleLayerEvent
public static final String GROUP_BY_OBJECT
public GroupByDataLayer(GroupByModel groupByModel, ca.odell.glazedlists.EventList<T> eventList, IColumnAccessor<T> columnAccessor)
protected void updateTree()
http://glazedlists.1045722.n5.nabble.com/sorting-a-treelist-td4704550.html
public void update(Observable o, Object arg)
public GlazedListTreeRowModel<Object> getTreeRowModel()
public ca.odell.glazedlists.TreeList<Object> getTreeList()
public LabelStack getConfigLabelsByPosition(int columnPosition, int rowPosition)
getConfigLabelsByPosition
in interface ILayer
getConfigLabelsByPosition
in class AbstractLayer
Copyright © 2013. All Rights Reserved.