|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A factory for inplace editor instances. A module may provide a property editor which provides a custom inplace editor for any properties of the type it edits. This is accomplished as follows:
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.
Method Summary | |
InplaceEditor |
getInplaceEditor()
Fetch or create an inplace editor instance. |
Method Detail |
public 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.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |