|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.Box infovis.panel.AbstractControlPanel infovis.panel.DynamicQueryPanel
public class DynamicQueryPanel
Panel managing the Dynamic Query controls on the visualized table.
Nested Class Summary | |
---|---|
static class |
DynamicQueryPanel.SelectVisualColumnAction
|
Nested classes/interfaces inherited from class javax.swing.Box |
---|
Box.Filler |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Field Summary |
---|
Fields inherited from class infovis.panel.AbstractControlPanel |
---|
MAX_SLIDER_DIMENSION |
Fields inherited from class javax.swing.JComponent |
---|
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
DynamicQueryPanel(Visualization vis,
Table table)
Constructor for DynamicQueryPanel. |
|
DynamicQueryPanel(Visualization vis,
Table table,
FilterColumn filterColumn)
Creates a new DynamicQueryPanel object. |
|
DynamicQueryPanel(Visualization vis,
Table table,
FilterColumn filterColumn,
ColumnFilter filter)
Creates a new DynamicQueryPanel object. |
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent e)
|
void |
addMissingControls()
Adds Dynamic Query controls for all columns in the table unless one already exists. |
void |
addPopupActions(JPopupMenu popup,
DynamicQuery dq)
|
int |
columnOffset(Column column)
|
void |
createDefaultControl(Column c)
Creates a default control for the specified column. |
void |
dispose()
|
boolean |
filter(Column c)
|
DynamicQuery |
getColumnDynamicQuery(Column c)
Returns the dynamic query associated with a specified column. |
ColumnFilter |
getFilter()
Returns the filter. |
FilterColumn |
getFilterColumn()
Returns the filterColumn. |
Permutation |
getPermutation()
|
void |
removeControl(Column c)
Removes the control associated with a specified column. |
void |
setFilter(ColumnFilter filter)
Sets the filter. |
void |
setFilterColumn(FilterColumn filterColumn)
Sets the filterColumn. |
void |
tableChanged(TableModelEvent e)
|
Methods inherited from class infovis.panel.AbstractControlPanel |
---|
contentsChanged, getVisualization, intervalAdded, intervalRemoved, setMaximumSize, setTitleBorder, stateChanged |
Methods inherited from class javax.swing.Box |
---|
createGlue, createHorizontalBox, createHorizontalGlue, createHorizontalStrut, createRigidArea, createVerticalBox, createVerticalGlue, createVerticalStrut, getAccessibleContext, setLayout |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DynamicQueryPanel(Visualization vis, Table table)
table
- the table.public DynamicQueryPanel(Visualization vis, Table table, FilterColumn filterColumn)
table
- the Table to filter.filterColumn
- the FilterColumn.public DynamicQueryPanel(Visualization vis, Table table, FilterColumn filterColumn, ColumnFilter filter)
table
- the Table to filter.filterColumn
- the FilterColumn.filter
- the ColumnFilter.Method Detail |
---|
public void dispose()
public Permutation getPermutation()
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
actionPerformed
in class AbstractControlPanel
ActionListener.actionPerformed(ActionEvent)
public void createDefaultControl(Column c)
c
- the column.public void addPopupActions(JPopupMenu popup, DynamicQuery dq)
public void removeControl(Column c)
c
- the column.public boolean filter(Column c)
public void addMissingControls()
public void tableChanged(TableModelEvent e)
tableChanged
in interface TableModelListener
TableModelListener.tableChanged(TableModelEvent)
public int columnOffset(Column column)
public FilterColumn getFilterColumn()
public void setFilterColumn(FilterColumn filterColumn)
filterColumn
- The filterColumn to setpublic DynamicQuery getColumnDynamicQuery(Column c)
c
- the column.
public ColumnFilter getFilter()
public void setFilter(ColumnFilter filter)
filter
- The filter to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |