|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Title: OpenSwing Framework
Description: Interface implemented by combo control, list control and grid control to search items.
Copyright: Copyright (C) 2006 Mauro Carniel
Method Summary | |
boolean |
disableListener()
|
javax.swing.JComponent |
getComponent()
|
int |
getRowCount()
|
int |
getSelectedIndex()
|
java.lang.String |
getValueAt(int index)
|
boolean |
isReadOnly()
|
int |
search(java.lang.String textToSeach)
Method invoked by SearchWindowManager when the specified "textToSeach" pattern has not matchings in the current content of binded control. |
void |
setSelectedIndex(int index)
Set the selected index. |
Method Detail |
public int getSelectedIndex()
public void setSelectedIndex(int index)
public int getRowCount()
public java.lang.String getValueAt(int index)
public javax.swing.JComponent getComponent()
public boolean isReadOnly()
true
if the input control is in read only mode (so search is enabled), false
otherwisepublic boolean disableListener()
true
to disable key listening on input control (for instance, in case of nested grids), false
to listen for key eventspublic int search(java.lang.String textToSeach)
textToSeach
- patten of text to search
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |