public final class ExtendedTextFieldEditorFactory
extends oracle.bali.inspector.editor.TextFieldEditorFactory
ExtendedTextField to be used as an inline editor for the Property Inspector. The created editor has already listeners for:
| Constructor and Description |
|---|
ExtendedTextFieldEditorFactory() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCreateEditorFrom(java.lang.Object creationInfo)
Indicates that this factory can only create editors if the given object is a
String or null. |
ExtendedTextField |
createInlineEditor(oracle.bali.inspector.PropertyEditorFactory2 propertyEditor)
Creates a
with the following listeners: Notification that the value of this editor should be applied if the user types text and presses "Enter" Notification that the value of this editor should be applied if the user types text and sets the focus to other GUI component Cancels edition in this editor if the user presses "Escape" |
protected javax.swing.JTextField |
textField(java.awt.Component c, java.lang.String initialValue, oracle.bali.inspector.PropertyEditorFactory2 propertyEditor) |
protected ExtendedTextField |
textField(java.lang.String initialValue) |
javax.swing.JTextField |
updateInlineEditor(java.awt.Component current, oracle.bali.inspector.PropertyEditorFactory2 propertyEditor) |
public boolean canCreateEditorFrom(java.lang.Object creationInfo)
String or null.canCreateEditorFrom in class oracle.bali.inspector.editor.TextFieldEditorFactorycreationInfo - contains information about the editor to create.true if the given object is a String or null, false otherwise.public ExtendedTextField createInlineEditor(oracle.bali.inspector.PropertyEditorFactory2 propertyEditor)
ExtendedTextField with the following listeners:
createInlineEditor in class oracle.bali.inspector.editor.TextFieldEditorFactorypropertyEditor - the property editor containing the value of the property to be displayed in the created inline editor.
public javax.swing.JTextField updateInlineEditor(java.awt.Component current,
oracle.bali.inspector.PropertyEditorFactory2 propertyEditor)
updateInlineEditor in class oracle.bali.inspector.editor.TextFieldEditorFactory
protected javax.swing.JTextField textField(java.awt.Component c,
java.lang.String initialValue,
oracle.bali.inspector.PropertyEditorFactory2 propertyEditor)
textField in class oracle.bali.inspector.editor.TextFieldEditorFactoryprotected ExtendedTextField textField(java.lang.String initialValue)
textField in class oracle.bali.inspector.editor.TextFieldEditorFactory