|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.nebula.widgets.nattable.layer.event.ColumnVisualChangeEvent
org.eclipse.nebula.widgets.nattable.layer.event.ColumnVisualUpdateEvent
public class ColumnVisualUpdateEvent
Specialization of the ColumnVisualChangeEvent. The only difference is the handling of this type of event in the NatTable event handling. While the ColumnVisualChangeEvent causes a whole redraw operation of the visible part (which is necessary to update everything if a data value has change, for example important for conditional styling), this event only forces to redraw the specified column itself.
| Constructor Summary | |
|---|---|
protected |
ColumnVisualUpdateEvent(ColumnVisualUpdateEvent event)
Create a new ColumnVisualUpdateEvent out of the given event. |
|
ColumnVisualUpdateEvent(ILayer layer,
int columnPosition)
Create a new ColumnVisualUpdateEvent based on the given information. |
|
ColumnVisualUpdateEvent(IUniqueIndexLayer layer,
Collection<Integer> columnPositions)
Create a new ColumnVisualUpdateEvent based on the given information. |
|
ColumnVisualUpdateEvent(IUniqueIndexLayer layer,
int[] columnPositions)
Create a new ColumnVisualUpdateEvent based on the given information. |
| Method Summary | |
|---|---|
ColumnVisualUpdateEvent |
cloneEvent()
|
| Methods inherited from class org.eclipse.nebula.widgets.nattable.layer.event.ColumnVisualChangeEvent |
|---|
convertToLocal, getChangedPositionRectangles, getColumnPositionRanges, getLayer, setColumnPositionRanges, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ColumnVisualUpdateEvent(ILayer layer,
int columnPosition)
layer - The layer to which the given column position belongs.columnPosition - The column position of the column that needs to be redrawn.
public ColumnVisualUpdateEvent(IUniqueIndexLayer layer,
int[] columnPositions)
layer - The layer to which the given column positions belong.columnPositions - The column positions of the columns that need to be redrawn.
public ColumnVisualUpdateEvent(IUniqueIndexLayer layer,
Collection<Integer> columnPositions)
layer - The layer to which the given column positions belong.columnPosition - The column position of the columns that need to be redrawn.protected ColumnVisualUpdateEvent(ColumnVisualUpdateEvent event)
event - The event to create the clone from.| Method Detail |
|---|
public ColumnVisualUpdateEvent cloneEvent()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||