|
Cytoscape 3.0.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cytoscape.application.swing.AbstractViewUpdater<S>
S - The generic type of this ViewUpdater.public abstract class AbstractViewUpdater<S>
A utility class that provides an implementation of RowsSetListener
for a particular column and VisualProperty.
| Field Summary | |
|---|---|
protected String |
columnName
The name of the column that the RowsSetListener is provided for. |
protected VisualProperty<S> |
vp
The VisualProperty that the RowsSetListener is provided for. |
| Constructor Summary | |
|---|---|
AbstractViewUpdater(VisualProperty<S> vp,
String columnName,
Map<CyRow,View<?>> rowViewMap)
Constructor. |
|
| Method Summary | |
|---|---|
void |
handleEvent(RowsSetEvent e)
Called whenever CyRows are changed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final VisualProperty<S> vp
VisualProperty that the RowsSetListener is provided for.
protected final String columnName
RowsSetListener is provided for.
| Constructor Detail |
|---|
public AbstractViewUpdater(VisualProperty<S> vp,
String columnName,
Map<CyRow,View<?>> rowViewMap)
vp - The visual property that should be set on the view when the row
is changed.columnName - The name of the column within the row that is being
listened to.rowViewMap - a map between the row that is being listened to and the
view that the visual property should be set when the row is changed.| Method Detail |
|---|
public void handleEvent(RowsSetEvent e)
CyRows are changed. Will attempt to set the
visual property on the view with the new value that has been set in the
row.
handleEvent in interface RowsSetListenere - The RowsSetEvent to be processed.
|
Cytoscape 3.0.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||