infovis.panel.dqinter
Class CategoricalDynamicQuery

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

public class CategoricalDynamicQuery
extends AbstractDynamicQuery

Dynamic Query for categorical columns.

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

Nested Class Summary
static class CategoricalDynamicQuery.Creator
          Creator for CategoricalDynamicQuery.
 
Constructor Summary
CategoricalDynamicQuery(NumberColumn col)
          Constructor.
 
Method Summary
 JComponent getComponent()
          Returns the Component associated with this dynamic query.
 boolean isFiltered(int row)
          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
apply, getColumn, getFilterColumn, setFilterColumn, stateChanged
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CategoricalDynamicQuery

public CategoricalDynamicQuery(NumberColumn col)
Constructor.

Parameters:
col - the column
Method Detail

update

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

Specified by:
update in class AbstractDynamicQuery

setColumn

public void setColumn(Column column)
Sets the column.

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

isFiltered

public boolean isFiltered(int row)
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:
row - 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.