-
- All Known Subinterfaces:
FxComponent,FxTextComponent
- All Known Implementing Classes:
AbstractTextFieldDelegate,FxCheckBox,FxCheckBoxDelegate,FxChoiceBox,FxChoiceBoxDelegate,FxColorPicker,FxColorPickerDelegate,FxComboBox,FxComboBoxDelegate,FxComponentDelegate,FxDatePicker,FxDatePickerDelegate,FxHTMLEditor,FxHTMLEditorDelegate,FxListView,FxListViewDelegate,FxPasswordField,FxPasswordFieldDelegate,FxRadioButton,FxRadioButtonDelegate,FxTableView,FxTableViewDelegate,FxTextArea,FxTextAreaDelegate,FxTextComponentDelegate,FxTextField,FxTextFieldDelegate,FxToggleButton,FxToggleButtonDelegate,FxTreeTableView,FxTreeTableViewDelegate,FxTreeView,FxTreeViewDelegate,TotalsTableView
public interface ErrorPopupSupportedControls that support error popups must implement this interface.- Author:
- harald
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetError()Gets the error message.voidhideErrorPopup()Hides the error popup if shown.voidsetError(java.lang.String error)Sets the error message.
Notice that an empty string will set the style but dows not show any popup.voidshowErrorPopup()Shows the error popup.
Requires the error message set.
-
-
-
Method Detail
-
getError
java.lang.String getError()
Gets the error message.- Returns:
- the message, null if no error
-
setError
void setError(java.lang.String error)
Sets the error message.
Notice that an empty string will set the style but dows not show any popup.- Parameters:
error- the error message, null to clear
-
showErrorPopup
void showErrorPopup()
Shows the error popup.
Requires the error message set.
-
hideErrorPopup
void hideErrorPopup()
Hides the error popup if shown.
-
-