public class WebSearchOptions extends AppPreferencesSheet
Constructor and Description |
---|
WebSearchOptions() |
Modifier and Type | Method and Description |
---|---|
void |
addService() |
void |
applyPreferences(Preferences prefs)
``Applies'' the preferences found in specified object which are
relevant to this sheet.
|
protected PreferencesSheetPane |
createPane()
Creates and returns the panel implementing the GUI of this sheet.
|
void |
editService() |
void |
fillPane(Preferences prefs)
Fills
PreferencesSheet.pane using preferences found in specified object. |
void |
focusPane()
Requests focus for the first component contained in
PreferencesSheet.pane . |
App |
getApp()
Returns the hosting App of this preferences sheet.
|
void |
initApp(App app)
Specifies the hosting App of this preferences sheet.
|
void |
removeService() |
void |
resetServices() |
boolean |
validatePane(Preferences prefs)
Validates preferences specified by the user using
PreferencesSheet.pane and
updates specified object to reflect the changes made by the user. |
destroyApp
badField, badText, checkDoubleField, checkIntField, getLabel, getName, getPane, selectPane, setLabel, toString
protected PreferencesSheetPane createPane()
PreferencesSheet
createPane
in class PreferencesSheet
public void addService()
public void editService()
public void removeService()
public void resetServices()
public void focusPane()
PreferencesSheet
PreferencesSheet.pane
.
Default implementation does nothing at all.focusPane
in class PreferencesSheet
public void fillPane(Preferences prefs)
PreferencesSheet
PreferencesSheet.pane
using preferences found in specified object.fillPane
in class PreferencesSheet
public boolean validatePane(Preferences prefs)
PreferencesSheet
PreferencesSheet.pane
and
updates specified object to reflect the changes made by the user.validatePane
in class PreferencesSheet
prefs
- object updated to reflect the changes made by the usertrue
if preferences specified by the user
are valid; false
otherwise.public void applyPreferences(Preferences prefs)
PreferencesSheet
applyPreferences
in class PreferencesSheet
public void initApp(App app)
AppPreferencesSheet
initApp
in interface AppAware
initApp
in class AppPreferencesSheet
public App getApp()
AppPreferencesSheet
getApp
in interface AppAware
getApp
in class AppPreferencesSheet