public class ValidateOptions extends PreferencesSheet
Constructor and Description |
---|
ValidateOptions() |
Modifier and Type | Method and Description |
---|---|
protected PreferencesSheetPane |
createPane()
Creates and returns the panel implementing the GUI of this sheet.
|
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 . |
void |
toggleAlwaysShowValidityPane() |
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. |
applyPreferences, badField, badText, checkDoubleField, checkIntField, getLabel, getName, getPane, selectPane, setLabel, toString
protected PreferencesSheetPane createPane()
PreferencesSheet
createPane
in class PreferencesSheet
public void toggleAlwaysShowValidityPane()
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.