| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfovis.column.ColumnLink
public abstract class ColumnLink
Link together two columns, applying an abstract method each time the first is modified to recompute the second.
| Constructor Summary | |
|---|---|
| ColumnLink(Column from,
           Column to)Creates a new ColumnLink object. | |
| Method Summary | |
|---|---|
|  void | dispose()Removes the link. | 
|  Column | getFromColumn()Returns the FROM column. | 
|  Column | getToColumn()Returns the TO column. | 
|  void | stateChanged(ChangeEvent e) | 
| abstract  void | update()This method is called each time the from Column is modified. | 
|  void | updateColumn()Make sure the destination column is synchronized with the dependant columns. | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ColumnLink(Column from,
                  Column to)
from - the column to track.to - the column to update.| Method Detail | 
|---|
public abstract void update()
public void dispose()
public void stateChanged(ChangeEvent e)
stateChanged in interface ChangeListenerChangeListener.stateChanged(ChangeEvent)public void updateColumn()
public Column getFromColumn()
public Column getToColumn()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||