infovis.graph.visualization
Class FilterEdgeDynamicQuery

java.lang.Object
  extended by infovis.panel.dqinter.AbstractDynamicQuery
      extended by infovis.graph.visualization.FilterEdgeDynamicQuery
All Implemented Interfaces:
DynamicQuery, RowFilter, EventListener, ChangeListener

public class FilterEdgeDynamicQuery
extends AbstractDynamicQuery

Dynamic query to filter edges with a filtered vertex.

Version:
$Revision: 1.3 $
Author:
Jean-Daniel Fekete

Constructor Summary
FilterEdgeDynamicQuery(Graph graph, FilterColumn column, boolean isFirst)
          Constructor.
 
Method Summary
 void apply()
          Apply the DynamicQuery to the specified FilterColumn
 JComponent getComponent()
          Returns the Component associated with this dynamic query.
 boolean isFiltered(int edge)
          Returns true if the value at that row is filtered out.
 void setColumn(Column column)
          Sets the column.
 void update()
          Method called when the column is modified.
 
Methods inherited from class infovis.panel.dqinter.AbstractDynamicQuery
getColumn, getFilterColumn, setFilterColumn, stateChanged
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterEdgeDynamicQuery

public FilterEdgeDynamicQuery(Graph graph,
                              FilterColumn column,
                              boolean isFirst)
Constructor.

Parameters:
graph - the graph
column - the filter
isFirst - true if the first vertex is the one filtered on
Method Detail

setColumn

public void setColumn(Column column)
Sets the column.

Overrides:
setColumn in class AbstractDynamicQuery
Parameters:
column - The column to set

update

public void update()
Method called when the column is modified.

Specified by:
update in class AbstractDynamicQuery

apply

public void apply()
Apply the DynamicQuery to the specified FilterColumn

Specified by:
apply in interface DynamicQuery
Overrides:
apply in class AbstractDynamicQuery

isFiltered

public boolean isFiltered(int edge)
Returns true if the value at that row is filtered out.

Specified by:
isFiltered in interface DynamicQuery
Specified by:
isFiltered in interface RowFilter
Specified by:
isFiltered in class AbstractDynamicQuery
Parameters:
edge - the row to check.
Returns:
true if the value at that row is filtered out.

getComponent

public JComponent getComponent()
Returns the Component associated with this dynamic query.



Copyright 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.