protected class Graph.Listener extends java.lang.Object implements TableListener, ColumnListener
Modifier | Constructor and Description |
---|---|
protected |
Graph.Listener() |
Modifier and Type | Method and Description |
---|---|
void |
columnChanged(Column src,
int idx,
boolean prev)
Notification that a data column has changed.
|
void |
columnChanged(Column src,
int idx,
double prev)
Notification that a data column has changed.
|
void |
columnChanged(Column src,
int idx,
float prev)
Notification that a data column has changed.
|
void |
columnChanged(Column src,
int idx,
int prev)
Notification that a data column has changed.
|
void |
columnChanged(Column src,
int type,
int start,
int end)
Notification that a data column has changed.
|
void |
columnChanged(Column src,
int idx,
long prev)
Notification that a data column has changed.
|
void |
columnChanged(Column src,
int idx,
java.lang.Object prev)
Notification that a data column has changed.
|
void |
setEdgeTable(Table edges) |
void |
tableChanged(Table t,
int start,
int end,
int col,
int type)
Notification that a table has changed.
|
public void setEdgeTable(Table edges)
public void tableChanged(Table t, int start, int end, int col, int type)
TableListener
tableChanged
in interface TableListener
t
- the table that has changedstart
- the starting row index of the changed table regionend
- the ending row index of the changed table regioncol
- the column that has changed, or
EventConstants.ALL_COLUMNS
if the operation affects all
columnstype
- the type of modification, one of
EventConstants.INSERT
, EventConstants.DELETE
, or
EventConstants.UPDATE
.public void columnChanged(Column src, int idx, int prev)
ColumnListener
columnChanged
in interface ColumnListener
src
- the column that has changedidx
- the column row index that has changedprev
- the previous value at the given locationpublic void columnChanged(Column src, int idx, long prev)
ColumnListener
columnChanged
in interface ColumnListener
src
- the column that has changedidx
- the column row index that has changedprev
- the previous value at the given locationpublic void columnChanged(Column src, int type, int start, int end)
ColumnListener
columnChanged
in interface ColumnListener
src
- the column that has changedtype
- One of EventConstants.INSERT
,
EventConstants.DELETE
, or EventConstants.UPDATE
.start
- the first column index that has been changedend
- the last column index that has been changedpublic void columnChanged(Column src, int idx, float prev)
ColumnListener
columnChanged
in interface ColumnListener
src
- the column that has changedidx
- the column row index that has changedprev
- the previous value at the given locationpublic void columnChanged(Column src, int idx, double prev)
ColumnListener
columnChanged
in interface ColumnListener
src
- the column that has changedidx
- the column row index that has changedprev
- the previous value at the given locationpublic void columnChanged(Column src, int idx, boolean prev)
ColumnListener
columnChanged
in interface ColumnListener
src
- the column that has changedidx
- the column row index that has changedprev
- the previous value at the given locationpublic void columnChanged(Column src, int idx, java.lang.Object prev)
ColumnListener
columnChanged
in interface ColumnListener
src
- the column that has changedidx
- the column row index that has changedprev
- the previous value at the given locationCopyright ? 2013 Regents of the University of California