A smart form display element for viewing and editing a collection of dynamic editors.<h2>Xml definition of smartform</h2>
<pre>
<SMARTFORM>
* <EDITOR id="com.sap.mypackage:editorId">
# For complete description of editor
definition see <q ref="core.env:KitEditors!EDITOR_DEF">EDITOR_DEF</q>
? <PROPERTIES>
* <propertyName type="[function | ]"/>
# Represent a property of the editor
You can assign the 'type' attribute for
evaluating the value of the property
as a function
</PROPERTIES>
* <GROUP id="[elementId| ]">
# For complete description of group definition
see <q ref="core.env:KitEditors!EDITOR_GROUP">EDITOR_GROUP</q>
? <PROPERTIES>
* <propertyName type="[function | ]"/>
# Represent a property of the group
You can assign the 'type' attribute for
evaluating of the value of the property
as a function
</PROPERTIES>
* <editorElementType id="editorElementId">
# For complete description of editor elements and
properties see <q ref="core.env:KitEditors!EDITOR_ELEM">EDITOR_ELEM</q>
* <propertyName type="[function | ]"/>
# Represent a property of the editor element
You can assign the 'type' attribute for
evaluating of the value of the property
as a function
</editorElementType>
</GROUP>
</EDITOR>
</SMARTFORM>
</pre>
<h2>Xml definition of smartform editor</h2>
<pre>
<EDITOR id="com.sap.mypackage:editorId">
# For complete description of editor
definition see <q ref="core.env:KitEditors!EDITOR_DEF">EDITOR_DEF</q>
? <PROPERTIES>
* <propertyName type="[function | ]"/>
# Represent a property of the editor
You can assign the 'type' attribute for
evaluating the value of the property
as a function
</PROPERTIES>
* <GROUP id="[elementId| ]">
# For complete description of group definition
see <q ref="core.env:KitEditors!EDITOR_GROUP">EDITOR_GROUP</q>
? <PROPERTIES>
* <propertyName type="[function | ]"/>
# Represent a property of the group
You can assign the 'type' attribute for
evaluating of the value of the property
as a function
</PROPERTIES>
* <editorElementType id="editorElementId">
# For complete description of editor elements and
properties see <q ref="core.env:KitEditors!EDITOR_ELEM">EDITOR_ELEM</q>
* <propertyName type="[function | ]"/>
# Represent a property of the editor element
You can assign the 'type' attribute for
evaluating of the value of the property
as a function
</editorElementType>
</GROUP>
</EDITOR>
</pre>
<h2>Example for xml definition of a smartform editor</h2>
<pre>
<EDITOR id="core.env:STODIO_OPTIONS">
<PROPERTIES>
<category>OPTIONS</category>
<visible> true </visible>
<description>STUDIO_OPTIONS editor </description>
</PROPERTIES>
<GROUP>
<PROPERTIES>
<title>model</title>
<toggle>on</toggle>
<visible>true</visible>
</PROPERTIES>
<check id="AutoOpen">
<label>Reload last model at startup</label>
<getter type="function"><![CDATA[
function (context, def) { return GETVAR(def.id); }
]]>
</getter>
<setter type="function"><![CDATA[
function (value, context, def) { SETVAR(def.id, value); }
]]>
</setter>
</check>
</GROUP>
</EDITOR>
</pre>(c) SAP AG 2003-2006. All rights reserved.<q ref="core.env:KitEditors!EDITOR_DEF">EDITOR_DEF</q> | <q ref="core.env:KitEditors!EDITOR_GROUP">EDITOR_GROUP</q> | <q ref="core.env:KitEditors!EDITOR_ELEM">EDITOR_ELEM</q>
Gets or sets the data object attached to the form.If the data object is changed the form will not be repainted automatically. Use the <q ref="core.lib:SmartForm!repaintAll">repaintAll</q> method
to repaint the entire form and reflect any changes to the data object.
Gets or sets whether the form handles default/overriden property values.
Gets the list of all editor definitions in use.
Gets or sets whether the form can respond to user interaction.
Gets or sets the default palette style.The default palette style defines how drag elements in a palette group will be displayed by default.
See <q ref="core.env:KitEditors!EDITOR_GROUP">EDITOR_GROUP</q> for the possible values of this property.<q ref="core.env:KitEditors!EDITOR_GROUP">EDITOR_GROUP</q>
Gets the urn for the Xml source file.
Adds a given editor definition to the form.The editor definition to add.The new editor definition is added to form but is not painted. Use the <q ref="core.lib:SmartForm!repaintAll">repaintAll</q> method
to repaint the entire form and show any new editor definition(s) that have been added.
Returns definition of all editor elements that match given id and, optionally, bound gml object id.The id of the editor elements to find.The id of the bound data object (optional).Array of editor elements that match given <code>id</code> and <code>gmlid</code>Use this method when handling model updates and repaint correct editor elements.
Element Id is unique per editor, so if the Smartform has more than one editor,
there can be more than one element with the same <code>id</code> and event same <code>gmlid.</code><q ref="core.lib:SmartForm!repaintElement">repaintElement</q>
Checks if an editor exists in the smartform.The id of the editor.return true <code>iff</code> the editor exist in the smartform.
Load editor from a given xml source file.Url for the xml source file.
Load smartform from a given xml source file.Url for the xml source file.
Removes a specified editor from the form.The id of the editor to remove.The editor is also immediately erased from view when it is removed from the form.
Repaints the entire form.Use this method to repaint the entire form to reflect any changes to the current data object or
to the editor definitions.
Repaints a specified editor.The id of the editor to repaint.Returns a boolean flag indicating whether the editor's visibility state has changed.Use this method to repaint a specific editor to reflect any changes to the elements it contains.
Repaints a specified editor element.The id of the editor element to repaint.Returns a boolean flag indicating whether the element's visibility state has changed.Use this method to repaint a specific editor element to reflect any changes to its value or state.
Resets the form by removing all editors and clearing the data object.
Resets GmlObject-bound properties of all visible elements to their default values.<q ref="core.lib:SmartForm!defaulting">defaulting</q>