|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.izforge.izpack.panels.userinput.gui.search.SearchInputField
public class SearchInputField
This class encapsulates a lot of search field functionality.
A search field supports searching directories and files on the target system. This is a helper class to manage all installDataGUI belonging to a search field.
| Constructor Summary | |
|---|---|
SearchInputField(SearchField field,
InstallerFrame parent,
JComboBox combobox,
JButton autobutton,
JButton browsebutton,
InstallData installData)
Constructor - initializes the object, adds it as action listener to the "autodetect" button. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent event)
This is called if one of the buttons has been pressed. |
boolean |
autodetect()
perform autodetection |
String |
getResult()
Return the result of the search according to result type. |
void |
setResult(String item)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SearchInputField(SearchField field,
InstallerFrame parent,
JComboBox combobox,
JButton autobutton,
JButton browsebutton,
InstallData installData)
field - the search fieldcombobox - the JComboBox holding the list of choices; it should be
editable and contain only Stringsautobutton - the autodetection button for triggering autodetectionbrowsebutton - the browse button to look for the file| Method Detail |
|---|
public boolean autodetect()
public void actionPerformed(ActionEvent event)
actionPerformed in interface ActionListenerpublic String getResult()
public void setResult(String item)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||