|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectprefuse.data.Graph.Listener
protected class Graph.Listener
Listener class for tracking updates from node and edge tables, and their columns that determine the graph linkage structure.
| Constructor Summary | |
|---|---|
protected |
Graph.Listener()
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Graph.Listener()
| Method Detail |
|---|
public void setEdgeTable(Table edges)
public void tableChanged(Table t,
int start,
int end,
int col,
int type)
TableListener
tableChanged 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)
ColumnListener
columnChanged in interface ColumnListenersrc - the column that has changedidx - the column row index that has changedprev - the previous value at the given location
public void columnChanged(Column src,
int idx,
long prev)
ColumnListener
columnChanged in interface ColumnListenersrc - the column that has changedidx - the column row index that has changedprev - the previous value at the given location
public void columnChanged(Column src,
int type,
int start,
int end)
ColumnListener
columnChanged 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 changed
public void columnChanged(Column src,
int idx,
float prev)
ColumnListener
columnChanged in interface ColumnListenersrc - the column that has changedidx - the column row index that has changedprev - the previous value at the given location
public void columnChanged(Column src,
int idx,
double prev)
ColumnListener
columnChanged in interface ColumnListenersrc - the column that has changedidx - the column row index that has changedprev - the previous value at the given location
public void columnChanged(Column src,
int idx,
boolean prev)
ColumnListener
columnChanged in interface ColumnListenersrc - the column that has changedidx - the column row index that has changedprev - the previous value at the given location
public void columnChanged(Column src,
int idx,
java.lang.Object prev)
ColumnListener
columnChanged in interface ColumnListenersrc - the column that has changedidx - the column row index that has changedprev - the previous value at the given location
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||