public interface ColumnViewInternal
Modifier and Type | Interface and Description |
---|---|
static class |
ColumnViewInternal.DOp |
static class |
ColumnViewInternal.MarshableFilter |
static class |
ColumnViewInternal.MarshableOrderBy |
static class |
ColumnViewInternal.SortedFilter |
Modifier and Type | Method and Description |
---|---|
Asset |
asset() |
boolean |
canDeleteRows() |
int |
changedRow(@NotNull Map<String,Object> row,
@NotNull Map<String,Object> oldRow)
used to add, update and delete rows
called when ever the user modify the cells and the data changes
|
@Nullable List<Column> |
columns() |
boolean |
containsRowWithKey(List keys) |
@NotNull ClosableIterator<? extends Row> |
iterator(@NotNull ColumnViewInternal.SortedFilter sortedFilter) |
@Nullable ObjectSubscription |
objectSubscription() |
default @Nullable Predicate<Number> |
predicate(@NotNull List<ColumnViewInternal.MarshableFilter> filters) |
void |
registerChangeListener(@NotNull Runnable r)
called whenever some data in the underlying structure has changed and hence the visual
layer has to be refreshed
|
int |
rowCount(@NotNull ColumnViewInternal.SortedFilter sortedFilter) |
default @Nullable Predicate<Number> |
toPredicate(@NotNull String value) |
Asset asset()
int rowCount(@NotNull @NotNull ColumnViewInternal.SortedFilter sortedFilter)
int changedRow(@NotNull @NotNull Map<String,Object> row, @NotNull @NotNull Map<String,Object> oldRow)
row
- if row
is empty, the row is removed, based on the key in oldRow
oldRow
- if oldRow
is empty, the row is added , based on the key in row
void registerChangeListener(@NotNull @NotNull Runnable r)
r
- to refresh the visual layer@NotNull @NotNull ClosableIterator<? extends Row> iterator(@NotNull @NotNull ColumnViewInternal.SortedFilter sortedFilter)
boolean canDeleteRows()
boolean containsRowWithKey(List keys)
@Nullable @Nullable ObjectSubscription objectSubscription()
@Nullable default @Nullable Predicate<Number> toPredicate(@NotNull @NotNull String value)
@Nullable default @Nullable Predicate<Number> predicate(@NotNull @NotNull List<ColumnViewInternal.MarshableFilter> filters)
Copyright © 2021. All rights reserved.