protected class Graph.Listener extends java.lang.Object implements TableListener, ColumnListener
| Modifier | Constructor and Description |
|---|---|
protected |
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)
TableListenertableChanged in interface TableListenert - 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)
ColumnListenercolumnChanged in interface ColumnListenersrc - 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)
ColumnListenercolumnChanged in interface ColumnListenersrc - 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)
ColumnListenercolumnChanged in interface ColumnListenersrc - 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)
ColumnListenercolumnChanged in interface ColumnListenersrc - 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)
ColumnListenercolumnChanged in interface ColumnListenersrc - 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)
ColumnListenercolumnChanged in interface ColumnListenersrc - 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)
ColumnListenercolumnChanged in interface ColumnListenersrc - the column that has changedidx - the column row index that has changedprev - the previous value at the given location