public static interface InplaceEditor.Factory
ExPropertyEditor
.attachEnv()
method of that interface, it must call
env.registerInplaceEditorFactory()
, passing an instance
of InplaceEditor.Factory
. If a user attempts to edit
the property, the inplace editor returned from Factory.getInplaceEditor()
will be used.A note about using InplaceEditor instances to render properties: If a custom property editor is, as is encouraged, using an instance of its InplaceEditor to paint the value rendered in table cells, this method must not return the instance being used for rendering - that instance may be reconfigured at any time with a different value in order to paint another cell on the property sheet.
Modifier and Type | Method and Description |
---|---|
InplaceEditor |
getInplaceEditor()
Fetch or create an inplace editor instance.
|
InplaceEditor getInplaceEditor()
java.lang.ref.WeakReference
or
java.lang.ref.SoftReference
, so that the instance may be
garbage collected if it is no longer needed.