abstract class AbstractBasicGroupEditor extends AbstractBasicEditorProvider
Constructor and Description |
---|
AbstractBasicGroupEditor(java.lang.String baseTag,
java.util.Locale l)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addEditorProvider(EditorProvider provider)
Add an editor provider.
|
javax.swing.JComponent |
getLabel()
Get a label component for this editor.
|
java.lang.String |
getTitleText()
Get a title text 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.
|
getDescription, getLabelText, getLabelTextWithPunctuation, getToolTipText
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEditor
public AbstractBasicGroupEditor(java.lang.String baseTag, java.util.Locale l)
baseTag
- basic i18n tagl
- locale@Nullable public javax.swing.JComponent getLabel()
editor component
is inserted without a label.getLabel
in interface EditorProvider
getLabel
in class AbstractBasicEditorProvider
null
public java.lang.String getTitleText()
getTitleText
in interface EditorProvider
getTitleText
in class AbstractBasicEditorProvider
null
if a title makes no sensepublic boolean isValidValue()
isValidValue
in interface EditorProvider
isValidValue
in class AbstractBasicEditorProvider
public void reset()
public void save()
public void goodBye()
protected void addEditorProvider(EditorProvider provider)
provider
- provider to add