servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListNGClientservoy sSummary12%30%58%height: 30px;3Property SummaryThe css classes to be output for html tag.The id to be output for html tag.Get/set container height.The name of the component.returns the layouts package namereturns the layouts spec nameThe style definition to be output in html tag.The tag type for html output.Get/set x location.Get/set Y location.servoy sSummary12%30%58%height: 30px;3Methods SummaryReturns a JSLayoutContainer that has the given name throughout the whole form hierarchy.Returns a JSWebComponent that has the given name through the whole hierarchy of JSLayoutContainersReturns the comment of this container.Returns a JSComponent that has the given name; if found it will be a JSField, JSLabel, JSButton, JSPortal, JSBean, JSWebComponent or JSTabPanel.Returns a array of all the JSComponents that a form has; they are of type JSField,JSLabel,JSButton,JSPortal,JSBean, JSWebComponents or JSTabPanel.Returns a array of all the JSComponents that a form has; they are of type JSField,JSLabel,JSButton,JSPortal,JSBean, JSWebComponent or JSTabPanel.Returns a JSLayoutContainer that has the given name of this container.Returns all JSLayoutContainers objects of this container.Returns all JSLayoutContainers objects of this containerReturns a JSWebComponent that has the given name that is a child of this layout container.Returns all JSWebComponents of this form/container.Returns all JSWebComponents of this form/container.Create a new layout container as the last child of its parent container.Create a new layout container.Create a new layout container.Create a new layout container as the last child in its parent container.Creates a new JSWebComponent (spec based component) object on the RESPONSIVE form.Creates a new JSWebComponent (spec based component) object on the RESPONSIVE form.Creates a new JSWebComponent (spec based component) object on the RESPONSIVE form, as the last component in its parent container.Creates a new JSWebComponent (spec based component) object on the RESPONSIVE form.Creates a new JSWebComponent (spec based component) object on the form.voidvoidRemove a layout container (with all its children) from hierarchy.Removes a component (JSLabel, JSButton, JSField, JSPortal, JSBean, JSTabpanel, JSWebComponent) that has the given name.Removes a JSWebComponent that has the specified name.propertyservoy sDetail2100%height:30px2Property DetailscssClassesname
cssClasses
dessIndent
The css classes to be output for html tag.
ret
Returns
sIndentclients
Supported Clients
sIndentNGClientsam
Sample
sIdentjavascriptlastDetailRowelementIdname
elementId
dessIndent
The id to be output for html tag.
ret
Returns
sIndentclients
Supported Clients
sIndentNGClientsam
Sample
sIdentjavascriptlastDetailRowheightname
height
dessIndent
Get/set container height. This is only used for CSS Position Container.
ret
Returns
sIndentclients
Supported Clients
sIndentNGClientsam
Sample
sIdentjavascriptlastDetailRownamename
name
dessIndent
The name of the component. Through this name it can also accessed in methods.
Must be a valid javascript name. (no - in the name or start with number)
ret
Returns
sIndentclients
Supported Clients
sIndentNGClientsam
Sample
sIdentjavascriptlastDetailRowpackageNamename
packageName
dessIndent
returns the layouts package name
ret
Returns
sIndent Stringclients
Supported Clients
sIndentNGClientsam
Sample
sIdentjavascriptlastDetailRowspecNamename
specName
dessIndent
returns the layouts spec name
ret
Returns
sIndent Stringclients
Supported Clients
sIndentNGClientsam
Sample
sIdentjavascriptlastDetailRowstylename
style
dessIndent
The style definition to be output in html tag.
ret
Returns
sIndentclients
Supported Clients
sIndentNGClientsam
Sample
sIdentjavascriptlastDetailRowtagTypename
tagType
dessIndent
The tag type for html output. Default value is 'div'.
ret
Returns
sIndentclients
Supported Clients
sIndentNGClientsam
Sample
sIdentjavascriptlastDetailRowxname
x
dessIndent
Get/set x location. Location is used for ordering in html output.
ret
Returns
sIndentclients
Supported Clients
sIndentNGClientsam
Sample
sIdentjavascriptlastDetailRowyname
y
dessIndent
Get/set Y location. Location is used for ordering in html output.
Returns a JSLayoutContainer that has the given name of this container.
Use findLayoutContainer() method to find a JSLayoutContainter through the hierarchy
Returns all JSLayoutContainers objects of this container.
Does not return the inherited containers, use #getLayoutContainers(true) to get the inherited as well.
ret
Returns
sIndent all JSLayoutContainers objects of this containerclients
Returns all JSLayoutContainers objects of this container
prs
Parameters
sIndentreturnInheritedElementstrue to also return the elements from parent formret
Returns
sIndent all JSLayoutContainers objects of this containerclients
Supported Clients
sIndentNGClientsam
Sample
sIdentjavascriptlastDetailRowgetWebComponentname
getWebComponent(name)
dessIndent
Returns a JSWebComponent that has the given name that is a child of this layout container.
Use findWebComponent() to find a webcomponent through the hierarchy
prs
Parameters
sIndentnamethe specified name of the web componentret
Returns
sIndent a JSWebComponent objectclients
Supported Clients
sIndentNGClientsam
Sample
sIdentjavascriptlastDetailRowgetWebComponentsname
getWebComponents()
dessIndent
Returns all JSWebComponents of this form/container.
If this method is called on a form, then it will return all web components on that form.
If the form is responsive, it will return the web components from all the containers.
It does not return the inherited components, use #getWebComponents(true) to get the inherited as well.
ret
Returns
sIndent the list of all JSWebComponent on this formsclients
Supported Clients
sIndentNGClientsam
Sample
sIdentjavascriptlastDetailRowgetWebComponentsname
getWebComponents(returnInheritedElements)
dessIndent
Returns all JSWebComponents of this form/container.
If this method is called on a form, then it will return all web components on that form.
If the form is responsive, it will return the web components from all the containers.
prs
Parameters
sIndentreturnInheritedElementstrue to also return the elements from parent formret
Returns
sIndent the list of all JSWebComponents on this formsclients
Create a new layout container as the last child of its parent container.
This method can only be used in responsive forms.
If you want to use default values and so on from a layout package (like 12grid) or if you use the solution model
to create a form that is saved back into the workspace (servoyDeveloper.save(form)) then you have to set the
packageName and specName properties. So that it works later on in the designer.
If the packageName and specName are not provided, then:
the packageName is the same as for the parent container
the specName is the first allowed child defined in the specification of the parent container
If the specification of the parent container does not defined allowed children, then if it is not empty
the packageName and the specName are copied from the first child layout container.
Create a new layout container. The position is used to determine the generated order in html markup.
This method can only be used in responsive forms.
If you want to use default values and so on from a layout package (like 12grid) or if you use the solution model
to create a form that is saved back into the workspace (servoyDeveloper.save(form)) then you have to set the
packageName and specName properties. So that it works later on in the designer.
If the packageName and specName are not provided, then:
the packageName is the same as for the parent container
the specName is the first allowed child defined in the specification of the parent container
If the specification of the parent container does not defined allowed children, then if it is not empty
the packageName and the specName are copied from the first child layout container.
prs
Parameters
sIndentpositionthe position of JSWebComponent object in its parent containerret
Create a new layout container as the last child in its parent container.
This method can only be used in responsive forms.
prs
Parameters
sIndentspeca string of the form 'packageName-layoutName', or 'layoutName'ret
Returns
sIndent the new layout containerclients
Supported Clients
sIndentNGClientsam
Sample
sIdentjavascriptlastDetailRownewWebComponentname
newWebComponent(type)
dessIndent
Creates a new JSWebComponent (spec based component) object on the RESPONSIVE form.
Will receive a generated name. Will be added as last position in container.
prs
Parameters
sIndenttypethe webcomponent name as it appears in the specret
Returns
sIndent a JSWebComponent objectclients
Supported Clients
sIndentNGClientsam
Sample
sIdentjavascriptlastDetailRownewWebComponentname
newWebComponent(type, position)
dessIndent
Creates a new JSWebComponent (spec based component) object on the RESPONSIVE form.
Will receive a generated name.
prs
Parameters
sIndenttypethe webcomponent name as it appears in the specpositionthe position of JSWebComponent object in its parent containerret
Returns
sIndent a JSWebComponent objectclients
Supported Clients
sIndentNGClientsam
Sample
sIdentjavascriptlastDetailRownewWebComponentname
newWebComponent(name, type)
dessIndent
Creates a new JSWebComponent (spec based component) object on the RESPONSIVE form,
as the last component in its parent container.
prs
Parameters
sIndentnamethe specified name of the JSWebComponent objecttypethe webcomponent name as it appears in the specret
Returns
sIndent a JSWebComponent objectclients
Supported Clients
sIndentNGClientsam
Sample
sIdentjavascriptlastDetailRownewWebComponentname
newWebComponent(name, type, position)
dessIndent
Creates a new JSWebComponent (spec based component) object on the RESPONSIVE form.
prs
Parameters
sIndentnamethe specified name of the JSWebComponent objecttypethe webcomponent name as it appears in the specpositionthe position of JSWebComponent object in its parent containerret
Returns
sIndent a JSWebComponent objectclients
Supported Clients
sIndentNGClientsam
Sample
sIdentjavascriptlastDetailRownewWebComponentname
newWebComponent(name, type, x, y, width, height)
dessIndent
Creates a new JSWebComponent (spec based component) object on the form.
prs
Parameters
sIndentnamethe specified name of the JSWebComponent objecttypethe webcomponent name as it appears in the specxthe horizontal "x" position of the JSWebComponent object in pixelsythe vertical "y" position of the JSWebComponent object in pixelswidththe width of the JSWebComponent object in pixelsheightthe height of the JSWebComponent object in pixelsret
Returns
sIndent a JSWebComponent objectclients
Supported Clients
sIndentNGClientsam
Sample
sIdentjavascriptlastDetailRowputAttributename
putAttribute(key, value)
dessIndentprs
Parameters
sIndentkey;value;clients
Supported Clients
sIndentNGClientsam
Sample
sIdentjavascriptlastDetailRowremovename
remove()
dessIndent
Remove a layout container (with all its children) from hierarchy.
clients
Supported Clients
sIndentNGClientsam
Sample
sIdentjavascriptlastDetailRowremoveComponentname
removeComponent(name)
dessIndent
Removes a component (JSLabel, JSButton, JSField, JSPortal, JSBean, JSTabpanel, JSWebComponent) that has the given name. It is the same as calling "if(!removeLabel(name) && !removeButton(name) ....)".
Returns true if removal was successful, false otherwise.
prs
Parameters
sIndentnamethe specified name of the component to be deletedret
Returns
sIndent true if component has been successfully deleted; false otherwiseclients