public interface EditorProvider
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Get a description for the property used.
|
javax.swing.JComponent |
getEditor()
Get a component for editing.
|
javax.swing.JComponent |
getLabel()
Get a label component for this editor.
|
java.lang.String |
getLabelText()
Get the label text.
|
java.lang.String |
getTitleText()
Get a title text for this editor component.
|
java.lang.String |
getToolTipText()
Get a tool tip string for this editor component.
|
void |
goodBye()
Called when the editor provider is no longer used.
|
boolean |
isValidValue()
Is the value in the editor component valid?
|
void |
reset()
Reset the value in the editor to the basic value.
|
void |
save()
Set the basic value from the editor.
|
@Nullable java.lang.String getLabelText()
@Nullable javax.swing.JComponent getLabel()
editor component
is inserted without a label.null@Nullable java.lang.String getTitleText()
null if a title makes no sense@Nullable java.lang.String getToolTipText()
null if no tooltip is used@Nullable java.lang.String getDescription()
@NotNull javax.swing.JComponent getEditor()
boolean isValidValue()
true if the value is validfalse otherwisevoid reset()
void save()
void goodBye()