Package | Description |
---|---|
prefuse |
The top-level Visualization and Display classes, as well as Constants
used throughout the toolkit.
|
prefuse.controls |
Control modules for incorporating interaction in prefuse Displays.
|
prefuse.data |
Table, Graph, and Tree data structures for organizing data.
|
prefuse.data.column |
Data columns for storing typed data within a data table.
|
prefuse.data.event |
Listener interfaces for monitoring prefuse data structures and
expressions.
|
prefuse.data.io |
Input/output classes for reading and writing data from formatted files.
|
prefuse.data.io.sql |
Input libraries for loading data from SQL databases.
|
prefuse.data.tuple |
Implementing classes for data tuples, object proxies to a row of table
data.
|
prefuse.data.util |
Utility classes for supporting prefuse data structures, including
indexes, iterators, filters, and column projections.
|
prefuse.util.io |
Utility classes pertaining to input and output.
|
prefuse.util.ui |
Utility classes facilitating the generation and composition of user
interface components.
|
prefuse.visual |
Classes for representing and storing VisualItems.
|
prefuse.visual.tuple |
Implementations of VisualItem types and backing TupleManager
instances.
|
Modifier and Type | Method and Description |
---|---|
VisualTable |
Visualization.addTable(java.lang.String group,
Table table)
Adds a data table to this visualization, using the given data group
name.
|
VisualTable |
Visualization.addTable(java.lang.String group,
Table table,
Predicate filter)
Adds a data table to this visualization, using the given data group
name.
|
VisualTable |
Visualization.addTable(java.lang.String group,
Table table,
Predicate filter,
Schema schema)
Adds a data table to this visualization, using the given data group
name.
|
VisualTable |
Visualization.addTable(java.lang.String group,
Table table,
Schema schema)
Adds a data table to this visualization, using the given data group
name.
|
Modifier and Type | Method and Description |
---|---|
void |
DragControl.tableChanged(Table t,
int start,
int end,
int col,
int type) |
Modifier and Type | Class and Description |
---|---|
class |
CascadedTable
Table subclass featuring a "cascaded" table design - a CascadedTable can
have a parent table, from which it inherits a potentially filtered set of
rows and columns.
|
Modifier and Type | Field and Description |
---|---|
protected Table |
Graph.m_links
Table containing the adjacency lists for the graph
|
protected Table |
CascadedTable.m_parent
Cascaded parent table
|
Modifier and Type | Method and Description |
---|---|
protected Table |
Graph.createLinkTable()
Instantiate and return the link table.
|
protected Table |
Tree.createLinkTable() |
Table |
Graph.getEdgeTable()
Get the backing edge table.
|
Table |
Graph.getNodeTable()
Get the backing node table.
|
Table |
CascadedTable.getParentTable()
Get the parent table from which this cascaded table inherits values.
|
Table |
Tuple.getTable()
Returns the Table instance that backs this Tuple, if it exists.
|
Table |
Schema.instantiate()
Instantiate this schema as a new Table instance.
|
Table |
Schema.instantiate(int nrows)
Instantiate this schema as a new Table instance.
|
Table |
Table.select(Predicate filter,
Sort sort)
Query this table for a filtered, sorted subset of this table.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Graph.fireGraphEvent(Table t,
int first,
int last,
int col,
int type)
Fire a graph change event
|
protected void |
Graph.init(Table nodes,
Table edges,
boolean directed,
java.lang.String nodeKey,
java.lang.String sourceKey,
java.lang.String targetKey)
Initialize this Graph instance.
|
void |
SpanningTree.setEdgeTable(Table edges)
Unsupported operation.
|
void |
Graph.setEdgeTable(Table edges)
Updates this graph to use a different edge structure for the same nodes.
|
void |
Graph.Listener.setEdgeTable(Table edges) |
void |
Graph.Listener.tableChanged(Table t,
int start,
int end,
int col,
int type) |
Constructor and Description |
---|
CascadedTable(Table parent)
Create a new CascadedTable.
|
CascadedTable(Table parent,
ColumnProjection colFilter)
Create a new CascadedTable.
|
CascadedTable(Table parent,
Predicate rowFilter)
Create a new CascadedTable.
|
CascadedTable(Table parent,
Predicate rowFilter,
ColumnProjection colFilter)
Create a new CascadedTable.
|
CascadedTable(Table parent,
Predicate rowFilter,
ColumnProjection colFilter,
java.lang.Class tupleType)
Create a new CascadedTable.
|
Graph(Table nodes,
boolean directed)
Create a new Graph using the provided table of node data and
an empty set of edges.
|
Graph(Table nodes,
boolean directed,
java.lang.String nodeKey,
java.lang.String sourceKey,
java.lang.String targetKey)
Create a new Graph using the provided table of node data and
an empty set of edges.
|
Graph(Table nodes,
Table edges,
boolean directed)
Create a new Graph, using node table row numbers to uniquely
identify nodes in the edge table's source and target fields.
|
Graph(Table nodes,
Table edges,
boolean directed,
java.lang.String sourceKey,
java.lang.String targetKey)
Create a new Graph, using node table row numbers to uniquely
identify nodes in the edge table's source and target fields.
|
Graph(Table nodes,
Table edges,
boolean directed,
java.lang.String nodeKey,
java.lang.String sourceKey,
java.lang.String targetKey)
Create a new Graph.
|
Tree(Table nodes,
Table edges)
Create a new Tree.
|
Tree(Table nodes,
Table edges,
java.lang.String sourceKey,
java.lang.String targetKey)
Create a new Tree.
|
Tree(Table nodes,
Table edges,
java.lang.String nodeKey,
java.lang.String sourceKey,
java.lang.String targetKey)
Create a new Tree.
|
Modifier and Type | Method and Description |
---|---|
static Column |
ColumnFactory.getColumn(Table t,
Expression expr)
Get a new column based on the given expression.
|
Constructor and Description |
---|
ColumnMetadata(Table table,
java.lang.String column)
Creates a new ColumnMetadata instance.
|
ColumnMetadata(Table table,
java.lang.String column,
java.util.Comparator cmp,
boolean dynamic)
Creates a new ColumnMetadata instance.
|
ExpressionColumn(Table table,
Expression expr)
Create a new ExpressionColumn.
|
Modifier and Type | Method and Description |
---|---|
void |
TableListener.tableChanged(Table t,
int start,
int end,
int col,
int type)
Notification that a table has changed.
|
Modifier and Type | Field and Description |
---|---|
protected Table |
GraphMLReader.GraphMLHandler.m_edges |
protected Table |
GraphMLReader.GraphMLHandler.m_nodes |
Modifier and Type | Method and Description |
---|---|
Table |
TableReader.readTable(java.io.File f)
Read in a table from the given File.
|
Table |
AbstractTableReader.readTable(java.io.File f) |
Table |
TableReader.readTable(java.io.InputStream is)
Read in a table from the given InputStream.
|
Table |
AbstractTextTableReader.readTable(java.io.InputStream is) |
Table |
TableReader.readTable(java.lang.String location)
Read in a table from the file at the given location.
|
Table |
AbstractTableReader.readTable(java.lang.String location) |
Table |
TableReader.readTable(java.net.URL url)
Read in a table from the given URL.
|
Table |
AbstractTableReader.readTable(java.net.URL url) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractTableWriter.writeTable(Table table,
java.io.File f) |
void |
TableWriter.writeTable(Table table,
java.io.File f)
Write a table to the given File.
|
void |
DelimitedTextTableWriter.writeTable(Table table,
java.io.OutputStream os) |
void |
CSVTableWriter.writeTable(Table table,
java.io.OutputStream os) |
void |
FixedWidthTextTableWriter.writeTable(Table table,
java.io.OutputStream os) |
void |
TableWriter.writeTable(Table table,
java.io.OutputStream os)
Write a table from the given OutputStream.
|
void |
AbstractTableWriter.writeTable(Table table,
java.lang.String filename) |
void |
TableWriter.writeTable(Table table,
java.lang.String filename)
Write a table to the file with the given filename.
|
Modifier and Type | Method and Description |
---|---|
Table |
DatabaseDataSource.getData(java.lang.String query)
Executes a query and returns the results in a Table instance.
|
Table |
DatabaseDataSource.getData(java.lang.String query,
java.lang.String keyField)
Executes a query and returns the results in a Table instance.
|
Table |
DatabaseDataSource.getData(Table t,
java.lang.String query)
Executes a query and returns the results in a Table instance.
|
Table |
DatabaseDataSource.getData(Table t,
java.lang.String query,
java.lang.String keyField)
Executes a query and returns the results in a Table instance.
|
Table |
DatabaseDataSource.getData(Table t,
java.lang.String query,
java.lang.String keyField,
java.lang.Object lock)
Executes a query and returns the results in a Table instance.
|
protected Table |
DatabaseDataSource.process(Table t,
java.sql.ResultSet rset,
java.lang.String key,
java.lang.Object lock)
Process the results of a SQL query, putting retrieved data into a
Table instance.
|
Modifier and Type | Method and Description |
---|---|
Table |
DatabaseDataSource.getData(Table t,
java.lang.String query)
Executes a query and returns the results in a Table instance.
|
Table |
DatabaseDataSource.getData(Table t,
java.lang.String query,
java.lang.String keyField)
Executes a query and returns the results in a Table instance.
|
Table |
DatabaseDataSource.getData(Table t,
java.lang.String query,
java.lang.String keyField,
java.lang.Object lock)
Executes a query and returns the results in a Table instance.
|
protected int |
DatabaseDataSource.getExistingRow(Table t,
java.sql.ResultSet rset,
java.lang.String keyField)
See if a retrieved database row is already represented in the given
Table.
|
void |
DatabaseDataSource.loadData(Table t,
java.lang.String query)
Asynchronously executes a query and stores the results in the given
table instance.
|
void |
DatabaseDataSource.loadData(Table t,
java.lang.String query,
java.lang.Object lock)
Asynchronously executes a query and stores the results in the given
table instance.
|
void |
DatabaseDataSource.loadData(Table t,
java.lang.String query,
java.lang.String keyField)
Asynchronously executes a query and stores the results in the given
table instance.
|
void |
DatabaseDataSource.loadData(Table t,
java.lang.String query,
java.lang.String keyField,
java.lang.Object lock)
Asynchronously executes a query and stores the results in the given
table instance.
|
void |
DatabaseDataSource.loadData(Table t,
java.lang.String query,
java.lang.String keyField,
java.lang.Object lock,
DataSourceWorker.Listener listener)
Asynchronously executes a query and stores the results in the given
table instance.
|
void |
SQLDataHandler.process(Table t,
int trow,
java.sql.ResultSet rset,
int rcol)
Process a data value from a ResultSet, translating it into a
Java data value and storing it in a Table.
|
void |
DefaultSQLDataHandler.process(Table t,
int trow,
java.sql.ResultSet rset,
int rcol) |
void |
CompositeSQLDataHandler.process(Table t,
int trow,
java.sql.ResultSet rset,
int rcol) |
protected Table |
DatabaseDataSource.process(Table t,
java.sql.ResultSet rset,
java.lang.String key,
java.lang.Object lock)
Process the results of a SQL query, putting retrieved data into a
Table instance.
|
Constructor and Description |
---|
DataSourceWorker.Entry(DatabaseDataSource ds,
Table table,
java.lang.String query,
java.lang.String keyField,
java.lang.Object lock,
DataSourceWorker.Listener listener)
Create a new Entry.
|
Modifier and Type | Field and Description |
---|---|
protected Table |
TableTuple.m_table |
protected Table |
TupleManager.m_table |
Modifier and Type | Method and Description |
---|---|
Table |
TableTuple.getTable() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractTupleSet.fireTupleEvent(Table t,
int start,
int end,
int type)
Fire a Tuple event.
|
void |
TupleManager.init(Table t,
Graph g,
java.lang.Class tupleType)
Initialize this TupleManager for use with a given Table.
|
protected void |
TableNode.init(Table table,
Graph graph,
int row)
Initialize a new Node backed by a node table.
|
protected void |
TableTuple.init(Table table,
Graph graph,
int row)
Initialize a new TableTuple for the given table and row.
|
protected void |
TableEdge.init(Table table,
Graph graph,
int row)
Initialize a new Edge backed by an edge table.
|
Constructor and Description |
---|
TupleManager(Table t,
Graph g,
java.lang.Class tupleType)
Create a new TupleManager for the given Table.
|
Modifier and Type | Field and Description |
---|---|
protected Table |
RowManager.m_table |
protected Table |
TreeIndex.m_table |
Modifier and Type | Method and Description |
---|---|
Table |
RowManager.getTable()
Get the table managed by this RowManager.
|
Modifier and Type | Method and Description |
---|---|
protected static IntIterator |
FilterIteratorFactory.getAndIterator(Table t,
AndPredicate ap) |
protected static IntIterator |
FilterIteratorFactory.getColumnIterator(Table t,
java.lang.String field,
boolean val) |
protected static IntIterator |
FilterIteratorFactory.getComparisonIterator(Table t,
ComparisonPredicate cp) |
protected static IntIterator |
FilterIteratorFactory.getOptimizedIterator(Table t,
Predicate p)
Get an optimized iterator over the rows of a table, if possible.
|
protected static IntIterator |
FilterIteratorFactory.getOrIterator(Table t,
OrPredicate op) |
protected static IntIterator |
FilterIteratorFactory.getRangeIterator(Table t,
RangePredicate rp) |
static IntIterator |
FilterIteratorFactory.rows(Table t,
Predicate p)
Get a filtered iterator over the rows in the given table,
filtered by the given predicate.
|
void |
TreeIndex.tableChanged(Table t,
int start,
int end,
int col,
int type) |
Constructor and Description |
---|
CascadedRowManager(Table table)
Create a new CascadedRowManager.
|
FilteredRowManager(Table table)
Create a new FilteredRowManager.
|
FilterRowIterator(IntIterator rows,
Table t,
Predicate p)
Create a new FilterRowIterator.
|
RowManager(Table table)
Create a new RowManager for the given Table.
|
TableIterator(Table table,
IntIterator rows)
Create a new TableIterator using a given iterator over table rows.
|
TreeIndex(Table t,
RowManager rows,
Column col,
java.util.Comparator cmp)
Create a new TreeIndex.
|
Modifier and Type | Method and Description |
---|---|
static Table |
IOLib.getTableFile(java.awt.Component c)
Present a file chooser dialog for loading a Table data set.
|
Modifier and Type | Method and Description |
---|---|
Table |
JPrefuseTable.getTable()
Get the table backing this component.
|
Modifier and Type | Method and Description |
---|---|
static javax.swing.JFrame |
JPrefuseTable.showTableWindow(Table t)
Create a new window displaying the contents of the input Table as
a Swing JTable.
|
void |
PrefuseTableModel.tableChanged(Table t,
int start,
int end,
int col,
int type) |
Constructor and Description |
---|
JPrefuseTable(Table t)
Create a new JPrefuseTable.
|
PrefuseTableModel(Table table)
Creates a new PrefuseTableModel
|
Modifier and Type | Class and Description |
---|---|
class |
AggregateTable
VisualTable instance that maintains visual items representing aggregates
of items.
|
class |
VisualTable
A visual abstraction of a Table data structure.
|
Modifier and Type | Field and Description |
---|---|
protected Table |
AggregateTable.m_aggregated
Table storing the 1->Many aggregation mappings
|
Modifier and Type | Method and Description |
---|---|
protected void |
VisualGraph.fireGraphEvent(Table t,
int first,
int last,
int col,
int type)
Fire a graph event.
|
protected void |
VisualTree.fireGraphEvent(Table t,
int first,
int last,
int col,
int type)
Fire a graph event.
|
Constructor and Description |
---|
VisualTable(Table parent,
Visualization vis,
java.lang.String group)
Create a new VisualTable.
|
VisualTable(Table parent,
Visualization vis,
java.lang.String group,
Predicate rowFilter)
Create a new VisualTable.
|
VisualTable(Table parent,
Visualization vis,
java.lang.String group,
Predicate rowFilter,
Schema schema)
Create a new VisualTable.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TableEdgeItem.init(Table table,
Graph graph,
int row)
Initialize a new TableEdgeItem for the given graph, table, and row.
|
protected void |
TableAggregateItem.init(Table table,
Graph graph,
int row)
Initialize a new TableAggregateItem for the given table and row.
|
protected void |
TableNodeItem.init(Table table,
Graph graph,
int row)
Initialize a new TableNodeItem for the given graph, table, and row.
|
protected void |
TableVisualItem.init(Table table,
Graph graph,
int row)
Initialize a new TableVisualItem for the given table and row.
|
protected void |
TableDecoratorItem.init(Table table,
Graph graph,
int row)
Initialize a new TableDecoratorItem for the given table and row.
|
Copyright ? 2013 Regents of the University of California