T
- property typeclass FormattedStringEditor<T> extends AbstractBasicEditorProvider implements java.beans.PropertyChangeListener
Constructor and Description |
---|
FormattedStringEditor(SwingFormattedStringProperty<T> property,
boolean autoSave,
java.util.Locale l)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
javax.swing.JComponent |
getEditor()
Get an component for editing .
|
void |
goodBye()
Called when the editor provider is no longer used.
|
void |
propertyChange(java.beans.PropertyChangeEvent evt)
This method gets called when a bound property is changed.
|
void |
reset()
Reset the value in the editor to the basic value.
|
void |
save()
Set the basic value from the editor.
|
void |
saveLater()
Save later.
|
getDescription, getLabel, getLabelText, getLabelTextWithPunctuation, getTitleText, getToolTipText, isValidValue
public FormattedStringEditor(@NotNull SwingFormattedStringProperty<T> property, boolean autoSave, java.util.Locale l)
property
- string property for which this editor provider is createdautoSave
- do auto save on changes?l
- locale@NotNull public javax.swing.JComponent getEditor()
getEditor
in interface EditorProvider
public void reset()
reset
in interface EditorProvider
public void save()
save
in interface EditorProvider
public void saveLater()
public void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange
in interface java.beans.PropertyChangeListener
evt
- A PropertyChangeEvent object describing the event source
and the property that has changed.public void goodBye()
goodBye
in interface EditorProvider