|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sciapp.table.search.VisualSeeker
public abstract class VisualSeeker
This class represents an object through which searching can be manipulated visually from a SearchTablePanel.
Field Summary | |
---|---|
protected boolean |
anyKey
boolean flag that if true, search model events are fired whenever a key press is detected on a text field, otherwise the user must press the Enter key. |
protected SearchModel |
searchModel
the search model |
Constructor Summary | |
---|---|
VisualSeeker()
Creates a new VisualSeeker object with users required to press the enter key on textfields so that the search can be performed. |
Method Summary | |
---|---|
void |
fireSearch()
Generates and forwards a search model event to the listeners of the search model. |
abstract JPanel |
getPanel()
Returns the panel containing the controls used to manipulate the search. |
SearchModel |
getSearchModel()
Returns the search model. |
boolean |
getSearchOnKey()
Returns a boolean value that if true, search model events are fired whenever a key press is detected on a text field, otherwise the user must press the Enter key for this to happen. |
abstract TableSearch |
getTableSearch()
Returns a table search object corresponding to the visual controls of the search. |
void |
setSearchOnKey(boolean key)
Set key to true for search model events to be fired upon key detection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean anyKey
protected SearchModel searchModel
Constructor Detail |
---|
public VisualSeeker()
Method Detail |
---|
public void fireSearch()
public abstract JPanel getPanel()
public SearchModel getSearchModel()
public boolean getSearchOnKey()
public abstract TableSearch getTableSearch()
public void setSearchOnKey(boolean key)
key
to true for search model events to be fired upon key detection.
key
- true if search model events are to be fired upon key detection
|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |