public abstract class ContextualComponentEditor
extends java.lang.Object
releaseEditor() will be called on
it.ComponentEditorContext| Constructor and Description |
|---|
ContextualComponentEditor() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 -