Package com.macrofocus.molap.dataframe
Class DataFrameEvent<R,C>
- java.lang.Object
-
- com.macrofocus.molap.dataframe.DataFrameEvent<R,C>
-
- Type Parameters:
R
- the type of row keysC
- the type of column keys
public class DataFrameEvent<R,C> extends java.lang.Object
An event that characterizes a change in a data frame.
-
-
Constructor Summary
Constructors Constructor Description DataFrameEvent(java.lang.Iterable<R> affectedRows, java.lang.Iterable<C> affectedColumns, boolean structureChanged)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Iterable<C>
getAffectedColumns()
Rreturns the column that have been affected by teh change.java.lang.Iterable<R>
getAffectedRows()
Returns the rows that have been affected by the change.boolean
isStructureChanged()
-
-
-
Constructor Detail
-
DataFrameEvent
public DataFrameEvent(java.lang.Iterable<R> affectedRows, java.lang.Iterable<C> affectedColumns, boolean structureChanged)
- Parameters:
affectedRows
- the affected rowsaffectedColumns
- the affected columnsstructureChanged
- true if the rows or columns of the data frame have changed; false if only the data have change.
-
-
Method Detail
-
getAffectedRows
public java.lang.Iterable<R> getAffectedRows()
Returns the rows that have been affected by the change.- Returns:
- the modified rows
-
getAffectedColumns
public java.lang.Iterable<C> getAffectedColumns()
Rreturns the column that have been affected by teh change.- Returns:
- the modified columns
-
isStructureChanged
public boolean isStructureChanged()
-
-