| java.lang.Object prefuse.data.util.RowManager prefuse.data.util.FilteredRowManager
All known Subclasses: prefuse.data.util.CascadedRowManager,
FilteredRowManager | public class FilteredRowManager extends RowManager (Code) | | RowManager that additionally manages mappings between the managed
rows and those of a parent table.
author: jeffrey heer |
Method Summary | |
public int | addRow(int parentRow) Add a new row backed by the given parent row. | public void | clear() | public int | getChildRow(int parentRow) Given a row in the parent table, return the corresponding row managed
by this manager. | public int | getColumnRow(int row, int col) | public int | getParentRow(int childRow) Given a row managed by this manager, return the corresponding row
in the parent table. | public int | getTableRow(int columnRow, int col) | public void | put(int childRow, int parentRow) Add a mapping between the given managed row and parent row. | public boolean | releaseRow(int row) | public void | remove(int childRow) Remove a mapping between the given managed row and the corresponding
parent row. |
FilteredRowManager | public FilteredRowManager(Table table)(Code) | | Create a new FilteredRowManager.
Parameters: table - the table to manage |
addRow | public int addRow(int parentRow)(Code) | | Add a new row backed by the given parent row.
Parameters: parentRow - the backing parent row the index of the newly added row |
getChildRow | public int getChildRow(int parentRow)(Code) | | Given a row in the parent table, return the corresponding row managed
by this manager.
Parameters: parentRow - a row in the parent table the managed row corresponding to the parent row |
getParentRow | public int getParentRow(int childRow)(Code) | | Given a row managed by this manager, return the corresponding row
in the parent table.
Parameters: childRow - a row managed by this manager the parent table row |
put | public void put(int childRow, int parentRow)(Code) | | Add a mapping between the given managed row and parent row.
Parameters: childRow - a row managed by this manager Parameters: parentRow - a row in the parent table |
remove | public void remove(int childRow)(Code) | | Remove a mapping between the given managed row and the corresponding
parent row.
Parameters: childRow - a row managed by this manager |
|
|