Copyright © 2011 Citra Technologies. All Rights Reserved.

com.citra.table.search
Class NumericalVisualSeeker

java.lang.Object
  extended by com.citra.table.search.VisualSeeker
      extended by com.citra.table.search.NumericalVisualSeeker

public class NumericalVisualSeeker
extends VisualSeeker

A VisualSeeker for numeric values.


Field Summary
protected  JTextField expression
          a textfield used to input the number.
protected  JComboBox fieldBoxOptions
          a combobox containing the search options.
protected  NumberFilter numberFilter
          a numeric filter object used to filter Number objects.
 
Fields inherited from class com.citra.table.search.VisualSeeker
anyKey, searchModel
 
Constructor Summary
NumericalVisualSeeker(NumberFilter numberFilter)
          Constructs a NumericalVisualSeeker.
 
Method Summary
 JTextField getExpression()
          Returns a textfield that is used to display and allow input of the numerical pattern.
 JComboBox getFieldBoxOptions()
          Returns a combobox containing the search options.
 JPanel getPanel()
          Returns the panel containing the controls used to manipulate the search.
 TableSearch getTableSearch()
          Returns a table search object corresponding to the visual controls of the search.
 
Methods inherited from class com.citra.table.search.VisualSeeker
fireSearch, getSearchModel, getSearchOnKey, setSearchOnKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fieldBoxOptions

protected JComboBox fieldBoxOptions
a combobox containing the search options.


numberFilter

protected NumberFilter numberFilter
a numeric filter object used to filter Number objects.


expression

protected JTextField expression
a textfield used to input the number.

Constructor Detail

NumericalVisualSeeker

public NumericalVisualSeeker(NumberFilter numberFilter)
Constructs a NumericalVisualSeeker.

Method Detail

getExpression

public JTextField getExpression()
Returns a textfield that is used to display and allow input of the numerical pattern.

Returns:
the 'numerical' text field.

getFieldBoxOptions

public JComboBox getFieldBoxOptions()
Returns a combobox containing the search options.

Returns:
the combobox.

getPanel

public JPanel getPanel()
Returns the panel containing the controls used to manipulate the search.

Specified by:
getPanel in class VisualSeeker
Returns:
a panel with controls used in searching.

getTableSearch

public TableSearch getTableSearch()
Returns a table search object corresponding to the visual controls of the search.

Specified by:
getTableSearch in class VisualSeeker
Returns:
a table search

Copyright © 2011 Citra Technologies. All Rights Reserved.