|
org.openide.explorer 6.5.31 1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface InplaceEditor.Factory
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 |
---|
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.
|
org.openide.explorer 6.5.31 1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |