T
- Type of the Bean in the backing IDataProviderpublic class BlinkLayer<T> extends AbstractLayerTransform implements IUniqueIndexLayer
Modifier and Type | Field and Description |
---|---|
protected boolean |
blinkingEnabled |
underlyingLayer
layerPainter
DOT, VALUE_SEPARATOR
Constructor and Description |
---|
BlinkLayer(IUniqueIndexLayer dataLayer,
IRowDataProvider<T> listDataProvider,
IRowIdAccessor<T> rowIdAccessor,
IColumnPropertyResolver columnPropertyResolver,
IConfigRegistry configRegistry) |
BlinkLayer(IUniqueIndexLayer dataLayer,
IRowDataProvider<T> listDataProvider,
IRowIdAccessor<T> rowIdAccessor,
IColumnPropertyResolver columnPropertyResolver,
IConfigRegistry configRegistry,
boolean triggerBlinkOnRowUpdate) |
BlinkLayer(IUniqueIndexLayer dataLayer,
IRowDataProvider<T> listDataProvider,
IRowIdAccessor<T> rowIdAccessor,
IColumnPropertyResolver columnPropertyResolver,
IConfigRegistry configRegistry,
boolean triggerBlinkOnRowUpdate,
ScheduledExecutorService scheduler) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
int |
getColumnPositionByIndex(int columnIndex) |
LabelStack |
getConfigLabelsByPosition(int columnPosition,
int rowPosition) |
int |
getRowPositionByIndex(int rowIndex) |
void |
handleLayerEvent(ILayerEvent event)
Handle layer event notification.
|
LabelStack |
resolveConfigTypes(ILayerCell cell,
Object oldValue,
Object newValue)
Find the
IBlinkingCellResolver from the ConfigRegistry . |
void |
setBlinkDurationInMilis(int blinkDurationInMilis) |
void |
setBlinkingEnabled(boolean enabled) |
configure, doCommand, getCellByPosition, getCellPainter, getColumnCount, getColumnIndexByPosition, getColumnPositionByX, getColumnWidthByPosition, getDataValueByPosition, getDisplayModeByPosition, getHeight, getLayerPainter, getPreferredColumnCount, getPreferredHeight, getPreferredRowCount, getPreferredWidth, getRegionLabelsByXY, getRowCount, getRowHeightByPosition, getRowIndexByPosition, getRowPositionByY, getStartXOfColumnPosition, getStartYOfRowPosition, getUnderlyingLayer, getUnderlyingLayerByPosition, getUnderlyingLayersByColumnPosition, getUnderlyingLayersByRowPosition, getWidth, isColumnPositionResizable, isRowPositionResizable, loadState, localToUnderlyingColumnPosition, localToUnderlyingRowPosition, saveState, setClientAreaProvider, setUnderlyingLayer, underlyingToLocalColumnPosition, underlyingToLocalColumnPositions, underlyingToLocalRowPosition, underlyingToLocalRowPositions
addConfiguration, addLayerListener, clearConfiguration, fireLayerEvent, getBoundsByPosition, getClientAreaProvider, getConfigLabelAccumulator, getRegionName, hasLayerListener, registerCommandHandler, registerCommandHandlers, registerEventHandler, registerPersistable, removeLayerListener, setConfigLabelAccumulator, setLayerPainter, setRegionName, toString, unregisterCommandHandler, unregisterPersistable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addLayerListener, configure, doCommand, fireLayerEvent, getBoundsByPosition, getCellByPosition, getCellPainter, getClientAreaProvider, getColumnCount, getColumnIndexByPosition, getColumnPositionByX, getColumnWidthByPosition, getDataValueByPosition, getDisplayModeByPosition, getHeight, getLayerPainter, getPreferredColumnCount, getPreferredHeight, getPreferredRowCount, getPreferredWidth, getRegionLabelsByXY, getRowCount, getRowHeightByPosition, getRowIndexByPosition, getRowPositionByY, getStartXOfColumnPosition, getStartYOfRowPosition, getUnderlyingLayerByPosition, getUnderlyingLayersByColumnPosition, getUnderlyingLayersByRowPosition, getWidth, hasLayerListener, isColumnPositionResizable, isRowPositionResizable, localToUnderlyingColumnPosition, localToUnderlyingRowPosition, registerCommandHandler, registerPersistable, removeLayerListener, setClientAreaProvider, underlyingToLocalColumnPosition, underlyingToLocalColumnPositions, underlyingToLocalRowPosition, underlyingToLocalRowPositions, unregisterCommandHandler, unregisterPersistable
loadState, saveState
public BlinkLayer(IUniqueIndexLayer dataLayer, IRowDataProvider<T> listDataProvider, IRowIdAccessor<T> rowIdAccessor, IColumnPropertyResolver columnPropertyResolver, IConfigRegistry configRegistry)
public BlinkLayer(IUniqueIndexLayer dataLayer, IRowDataProvider<T> listDataProvider, IRowIdAccessor<T> rowIdAccessor, IColumnPropertyResolver columnPropertyResolver, IConfigRegistry configRegistry, boolean triggerBlinkOnRowUpdate)
public BlinkLayer(IUniqueIndexLayer dataLayer, IRowDataProvider<T> listDataProvider, IRowIdAccessor<T> rowIdAccessor, IColumnPropertyResolver columnPropertyResolver, IConfigRegistry configRegistry, boolean triggerBlinkOnRowUpdate, ScheduledExecutorService scheduler)
public void dispose()
dispose
in interface ILayer
dispose
in class AbstractLayerTransform
public LabelStack getConfigLabelsByPosition(int columnPosition, int rowPosition)
getConfigLabelsByPosition
in interface ILayer
getConfigLabelsByPosition
in class AbstractLayerTransform
public LabelStack resolveConfigTypes(ILayerCell cell, Object oldValue, Object newValue)
IBlinkingCellResolver
from the ConfigRegistry
.
Use this to find the config types associated with a blinking cell.cell
- the celloldValue
- the old valuenewValue
- the new valuepublic void handleLayerEvent(ILayerEvent event)
AbstractLayer
super.fireLayerEvent(event)
- unless you plan to eat the event yourself.handleLayerEvent
in interface ILayerListener
handleLayerEvent
in class AbstractLayer
event
- the eventpublic void setBlinkingEnabled(boolean enabled)
public int getColumnPositionByIndex(int columnIndex)
getColumnPositionByIndex
in interface IUniqueIndexLayer
public int getRowPositionByIndex(int rowIndex)
getRowPositionByIndex
in interface IUniqueIndexLayer
public void setBlinkDurationInMilis(int blinkDurationInMilis)
Copyright © 2013. All Rights Reserved.