abstract class AbstractBasicEditorProvider extends java.lang.Object implements EditorProvider
Modifier | Constructor and Description |
---|---|
protected |
AbstractBasicEditorProvider(AbstractBasicSimpleEditableChangeableItem property,
java.util.Locale l)
Constructor.
|
protected |
AbstractBasicEditorProvider(java.lang.String baseTag,
java.util.Locale l)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Get a description for the property used.
|
javax.swing.JComponent |
getLabel()
Get a label component for this editor.
|
java.lang.String |
getLabelText()
Get the label text.
|
static java.lang.String |
getLabelTextWithPunctuation(java.lang.String text)
Get the label text including potential punctuation.
|
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.
|
boolean |
isValidValue()
Is the value in the editor component valid?
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEditor, goodBye, reset, save
protected AbstractBasicEditorProvider(@NotNull java.lang.String baseTag, @Nullable java.util.Locale l)
baseTag
- base tag (will be expanded by various suffixes)l
- localeprotected AbstractBasicEditorProvider(@NotNull AbstractBasicSimpleEditableChangeableItem property, @Nullable java.util.Locale l)
property
- property to editl
- locale to usepublic boolean isValidValue()
isValidValue
in interface EditorProvider
@Nullable public java.lang.String getLabelText()
getLabelText
in interface EditorProvider
@Nullable public static java.lang.String getLabelTextWithPunctuation(@Nullable java.lang.String text)
text
- basic label textnull
if there is no label text defined@Nullable public javax.swing.JComponent getLabel()
editor component
is inserted without a label.getLabel
in interface EditorProvider
null
@Nullable public java.lang.String getTitleText()
getTitleText
in interface EditorProvider
null
if a title makes no sense@Nullable public java.lang.String getToolTipText()
getToolTipText
in interface EditorProvider
null
if no tooltip is used@Nullable public java.lang.String getDescription()
getDescription
in interface EditorProvider