public interface ComponentEditorContext
ContextualComponentEditor| Modifier and Type | Method and Description | 
|---|---|
void | 
closeEditor()
Callback method for notifying the component editor environment that the 
 component editor should be closed due to a user action. 
 | 
java.util.List<java.lang.Object> | 
getComponentData()
This returns a read only list of data objects associated with the component. 
 | 
oracle.bali.xml.gui.XmlGui | 
getGui()
This returns the  
XmlGui that the component editor may be 
 embedded into. | 
oracle.bali.xml.metadata.XmlKey | 
getKey()
This returns the  
XmlKey of the component element and will 
 never be null. | 
org.w3c.dom.Element | 
getNode()
This returns the  
Element representing the component 
 and will never be null. | 
oracle.bali.xml.model.XmlView | 
getView()
This returns the  
XmlView that the component element belongs
 and will never be null. | 
oracle.bali.xml.gui.GuiXmlContext | 
getXmlContext()
This returns the  
GuiXmlContext that the component editor 
 works in, and will never be null. | 
boolean | 
requestNewComponentData()
Requests new value of the component data from the component editor context. 
 | 
void | 
updateEditorSize(java.awt.Dimension size)
Callback method for notifying the component editor environment that the 
 size of the component has changed. 
 | 
oracle.bali.xml.gui.GuiXmlContext getXmlContext()
GuiXmlContext that the component editor 
 works in, and will never be null.oracle.bali.xml.gui.XmlGui getGui()
XmlGui that the component editor may be 
 embedded into. The value may be null. Returned value is 
 usually an instance of the ComponentXmlGui.ComponentXmlGuioracle.bali.xml.model.XmlView getView()
XmlView that the component element belongs
 and will never be null.org.w3c.dom.Element getNode()
Element representing the component 
 and will never be null.oracle.bali.xml.metadata.XmlKey getKey()
XmlKey of the component element and will 
 never be null.java.util.List<java.lang.Object> getComponentData()
XmlGui 
 the component editor is embedded into.boolean requestNewComponentData()
ContextualComponentEditor.componentDataChanged().
 Component editor should not make assumption when will the new component data be available.
 It could be available immidiatly within this method call, or it could be available later,
 or in some cases component editor can be released before the new component data becomes available.void closeEditor()
void updateEditorSize(java.awt.Dimension size)
size -