|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.citra.filter.auto.AbstractAutoFilterPanel
com.citra.filter.auto.NumericAutoFilterPanel
public class NumericAutoFilterPanel
NumericAutoFilterPanel uses a NumericalVisualFilter
with a combo box filled with
available filter values.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class com.citra.filter.auto.AbstractAutoFilterPanel |
---|
andButton, columnName, columnName_label, DEFAULT_DESC_STR, desc_label, desc_str, orButton, visuals |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, 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 | |
---|---|
NumericAutoFilterPanel()
Constructs a new NumericAutoFilterPanel. |
|
NumericAutoFilterPanel(NumberFilter stub)
Constructs a new NumericAutoFilterPanel. |
|
NumericAutoFilterPanel(NumberFilter stub,
String columnName)
Constructs a new NumericAutoFilterPanel. |
Method Summary | |
---|---|
protected VisualFilter |
createVisualFilter()
Returns a new instance of a visual filter subclass. |
protected void |
initialize(Class objectClass,
String name,
int modelIndex,
Collection values,
PopupFilterHeaderModel headerModel)
Initializes the panel by setting the title's name, populating the available filter values and assigning clones of the Filter object that will be used to filter the rows of the table. |
void |
populate(Collection values)
Populates the comboboxes visible on each visual filter with the supplied collection values. |
void |
populate(Collection values,
PopupFilterHeaderModel headerModel)
Populates the comboboxes visible on each visual filter with the supplied collection values. |
protected void |
populateBox(JComboBox box,
Collection values)
Populates the combo box with possible filter values. |
Methods inherited from class com.citra.filter.auto.AbstractAutoFilterPanel |
---|
cloneFilter, createPanel, getTableFilter, initComponents, setColumnName, setTableFilter, updateUI |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NumericAutoFilterPanel()
public NumericAutoFilterPanel(NumberFilter stub)
public NumericAutoFilterPanel(NumberFilter stub, String columnName)
Method Detail |
---|
protected VisualFilter createVisualFilter()
createVisualFilter
in class AbstractAutoFilterPanel
protected void initialize(Class objectClass, String name, int modelIndex, Collection values, PopupFilterHeaderModel headerModel)
initialize
in class AbstractAutoFilterPanel
objectClass
- the class of the objects being filteredname
- the name of the column being filteredmodelIndex
- the model index of the column being filteredvalues
- a list of available filter valuesheaderModel
- the header model installed on the tablepublic void populate(Collection values)
values
- the values with which we want to populate the combobox of the visual filter subclassespublic void populate(Collection values, PopupFilterHeaderModel headerModel)
populate
in class AbstractAutoFilterPanel
values
- the values with which we want to populate the combobox of the visual filter subclassesheaderModel
- the header model populating the available filter valuesprotected void populateBox(JComboBox box, Collection values)
box
- the combo box to populatevalues
- the collection values to populate the combo box with
|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |