Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

oracle.ide.inspector.editor
Class ExtendedTextFieldEditorFactory

java.lang.Object
  extended by oracle.bali.inspector.editor.EditorComponentFactory
      extended by oracle.bali.inspector.editor.TextFieldEditorFactory
          extended by oracle.ide.inspector.editor.ExtendedTextFieldEditorFactory

public final class ExtendedTextFieldEditorFactory
extends oracle.bali.inspector.editor.TextFieldEditorFactory

Creates a new ExtendedTextField to be used as an inline editor for the Property Inspector. The created editor has already listeners for:


Constructor Summary
ExtendedTextFieldEditorFactory()
           
 
Method Summary
 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 ExtendedTextField 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)
           
 
Methods inherited from class oracle.bali.inspector.editor.TextFieldEditorFactory
isNullOrString
 
Methods inherited from class oracle.bali.inspector.editor.EditorComponentFactory
initialValueFrom
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendedTextFieldEditorFactory

public ExtendedTextFieldEditorFactory()
Method Detail

canCreateEditorFrom

public boolean canCreateEditorFrom(java.lang.Object creationInfo)
Indicates that this factory can only create editors if the given object is a String or null.

Overrides:
canCreateEditorFrom in class oracle.bali.inspector.editor.TextFieldEditorFactory
Parameters:
creationInfo - contains information about the editor to create.
Returns:
true if the given object is a String or null, false otherwise.

createInlineEditor

public ExtendedTextField createInlineEditor(oracle.bali.inspector.PropertyEditorFactory2 propertyEditor)
Creates a ExtendedTextField with the following listeners:

Overrides:
createInlineEditor in class oracle.bali.inspector.editor.TextFieldEditorFactory
Parameters:
propertyEditor - the property editor containing the value of the property to be displayed in the created inline editor.
Returns:
the created inline editor.

updateInlineEditor

public javax.swing.JTextField updateInlineEditor(java.awt.Component current,
                                                 oracle.bali.inspector.PropertyEditorFactory2 propertyEditor)
Overrides:
updateInlineEditor in class oracle.bali.inspector.editor.TextFieldEditorFactory

textField

protected javax.swing.JTextField textField(java.awt.Component c,
                                           java.lang.String initialValue,
                                           oracle.bali.inspector.PropertyEditorFactory2 propertyEditor)
Overrides:
textField in class oracle.bali.inspector.editor.TextFieldEditorFactory

textField

protected ExtendedTextField textField(java.lang.String initialValue)
Overrides:
textField in class oracle.bali.inspector.editor.TextFieldEditorFactory

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

Copyright © 1997, 2013, Oracle. All rights reserved.