|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jdeveloper.webapp.metadata.ContextualComponentEditor
public abstract class ContextualComponentEditor
The ContextualComponentEditor interface that provides a custom editor that
is able to edit a UI Component and its content.
An instance of this interface can be reused in different editing contexts.
Before the instance is reused the releaseEditor()
will be called on
it.
ComponentEditorContext
Constructor Summary | |
---|---|
ContextualComponentEditor()
|
Method Summary | |
---|---|
boolean |
componentDataChanged()
Called when the component editor context has new component data available for the editor. |
abstract java.awt.Component |
getComponentEditor()
Returns the Swing component that is UI representation of the component editor. |
abstract boolean |
handleModelChange(oracle.bali.xml.model.XmlModelEvent event)
Gives a chance to the component editor to update its state when the underlyning model changes. |
void |
releaseEditor()
Called by the component editor environment to tell the component editor to cleanup its state. |
abstract void |
setContext(ComponentEditorContext context)
Called by the component editor environment to provide additional information. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContextualComponentEditor()
Method Detail |
---|
public abstract void setContext(ComponentEditorContext context) throws InvalidContextException
context
- Contextual information.
InvalidContextException
- if the editor can not handle given ComponentEditorContextpublic void releaseEditor()
setContext(ComponentEditorContext)
in case the editor is about to be reused.
public boolean componentDataChanged()
ComponentEditorContext.requestNewComponentData()
.
public abstract java.awt.Component getComponentEditor()
public abstract boolean handleModelChange(oracle.bali.xml.model.XmlModelEvent event)
event
-
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |