servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientsWordListMobileClientservoy 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 container width.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 a JSBean that has the given name.Returns all JSBeans of this form.Returns all JSBeans of this form.Returns a JSButton that has the given name.Returns all JSButtons of this form, including the ones without a name.Returns all JSButtons of this form, including the ones without a name.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.The field with the specified name.Returns all JSField objects of this form, including the ones without a name.Returns all JSField objects of this form, including the ones without a name.Returns a JSLabel that has the given name.Returns all JSLabels of this form (not including its super form), including the ones without a name.Returns all JSLabels of this form (optionally including it super forms labels), including the ones without a name.Returns a JSLayoutContainer that has the given name.Returns all JSLayoutContainers objects of this containerReturns a JSPortal that has the given name.Returns all JSPortal objects of this form (not including the ones from the parent form), including the ones without a name.Returns all JSPortal objects of this form (optionally also the ones from the parent form), including the ones without a name.Returns a JSTabPanel that has the given name.Returns all JSTabPanels of this form (not including the ones from the parent form), including the ones without a name.Returns all JSTabPanels of this form (optionally the ones from the parent form), including the ones without a name.Returns a JSWebComponent that has the given name.Returns all JSWebComponents of this form.Returns all JSWebComponents of this form.Creates a new JSBean object on the form - including the name of the JSBean object; the classname the JSBean object is based on, the "x" and "y" position of the JSBean object in pixels, as well as the width and height of the JSBean object in pixels.Creates a new button on the form with the given text, place, size and JSMethod as the onAction event triggered action.Creates a new JSField object on the form with the displayType of CALENDAR - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.Creates a new JSField object on the form with the displayType of CHECK (checkbox) - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.Creates a new JSField object on the form with the displayType of COMBOBOX - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.Creates a new JSField object on the form - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.Creates a new JSField object on the form with the displayType of HTML_AREA - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.Creates a new JSField object on the form with the displayType of IMAGE_MEDIA - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.Creates a new JSLabel object on the form - including the text of the label, the "x" and "y" position of the label object in pixels, the width and height of the label object in pixels.Creates a new JSLabel object on the form - including the text of the label, the "x" and "y" position of the label object in pixels, the width and height of the label object in pixels and a JSMethod action such as the method for an onAction event.Create a new layout container.Creates a new JSField object on the form with the displayType of LISTBOX - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.Creates a new JSField object on the form with the displayType of MULTISELECT_LISTBOX - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.Creates a new JSField object on the form with the displayType of PASSWORD - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.Creates a new JSPortal object on the form - including the name of the JSPortal object; the relation the JSPortal object is based on, the "x" and "y" position of the JSPortal object in pixels, as well as the width and height of the JSPortal object in pixels.Creates a new JSField object on the form with the displayType of RADIOS (radio buttons) - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.Creates a new JSField object on the form with the displayType of RTF_AREA (enables more than one line of text to be displayed in a field) - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.Creates a new JSField object on the form with the displayType of SPINNER - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.Creates a new JSTabPanel object on the form - including the name of the JSTabPanel object, the "x" and "y" position of the JSTabPanel object in pixels, as well as the width and height of the JSTabPanel object in pixels.Creates a new JSField object on the form with the displayType of TEXT_AREA - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.Creates a new JSField object on the form with the displayType of TEXT_FIELD - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.Creates a new JSField object on the form with the displayType of TYPE_AHEAD - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.Creates a new JSWebComponent (spec based component) object on the RESPONSIVE form.Creates a new JSWebComponent (spec based component) object on the form.voidRemoves a JSBean that has the specified name.Removes a JSButton that has the specified name.Removes a component (JSLabel, JSButton, JSField, JSPortal, JSBean, JSTabpanel, JSWebComponent) that has the given name.Removes a JSField that has the given name.Removes a JSLabel that has the given name.Removes a JSPortal that has the given name.Removes a JSTabPanel that has the given name.Removes a JSWebComponent that has the specified name.propertyservoy sDetail2100%height:30px2Property DetailscssClassesname
cssClasses
dessIndentThe css classes to be output for html tag.ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRow elementIdname
elementId
dessIndentThe id to be output for html tag.ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRow heightname
height
dessIndentGet/set container height. This is only used for Absolute Layout Container.ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRow namename
name
dessIndentThe name of the component. Through this name it can also accessed in methods.ret
dessIndentReturns a JSComponent that has the given name; if found it will be a JSField, JSLabel, JSButton, JSPortal, JSBean, JSWebComponent or JSTabPanel.prs
dessIndentReturns a array of all the JSComponents that a form has; they are of type JSField,JSLabel,JSButton,JSPortal,JSBean, JSWebComponents or JSTabPanel.ret
dessIndentReturns a array of all the JSComponents that a form has; they are of type JSField,JSLabel,JSButton,JSPortal,JSBean, JSWebComponent or JSTabPanel.prs
Parameters
sIndentreturnInheritedElementstrue to also return the elements from the parent formret
dessIndentReturns all JSWebComponents of this form.prs
Parameters
sIndentreturnInheritedElementstrue to also return the elements from parent formret
Returns
sIndentclients
Supported Clients
sIndentNGClientsam
Sample
sIdentjavascriptlastDetailRow newBeanname
newBean(name, className, x, y, width, height)
dessIndentCreates a new JSBean object on the form - including the name of the JSBean object; the classname the JSBean object is based on, the "x" and "y" position of the JSBean object in pixels, as well as the width and height of the JSBean object in pixels.prs
Parameters
sIndentnamethe specified name of the JSBean objectclassNamethe class name of the JSBean objectxthe horizontal "x" position of the JSBean object in pixelsythe vertical "y" position of the JSBean object in pixelswidththe width of the JSBean object in pixelsheightthe height of the JSBean object in pixelsret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRow newButtonname
newButton(txt, x, y, width, height, action)
dessIndentCreates a new button on the form with the given text, place, size and JSMethod as the onAction event triggered action.prs
Parameters
sIndenttxtthe text on the buttonxthe x coordinate of the button location on the formythe y coordinate of the button location on the formwidththe width of the buttonheightthe height of the buttonactionthe method assigned to handle an onAction eventret
dessIndentCreates a new JSField object on the form with the displayType of CALENDAR - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.prs
Parameters
sIndentdataproviderthe specified dataprovider name/JSVariable of the JSField objectxthe horizontal "x" position of the JSfield object in pixelsythe vertical "y" position of the JSField object in pixelswidththe width of the JSField object in pixelsheightthe height of the JSField object in pixelsret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRow newCheckname
newCheck(dataprovider, x, y, width, height)
dessIndentCreates a new JSField object on the form with the displayType of CHECK (checkbox) - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.prs
Parameters
sIndentdataproviderthe specified dataprovider name/JSVariable of the JSField objectxthe horizontal "x" position of the JSfield object in pixelsythe vertical "y" position of the JSField object in pixelswidththe width of the JSField object in pixelsheightthe height of the JSField object in pixelsret
dessIndentCreates a new JSField object on the form with the displayType of COMBOBOX - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.prs
Parameters
sIndentdataproviderthe specified dataprovider name/JSVariable of the JSField objectxthe horizontal "x" position of the JSfield object in pixelsythe vertical "y" position of the JSField object in pixelswidththe width of the JSField object in pixelsheightthe height of the JSField object in pixelsret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRow newFieldname
newField(dataprovider, type, x, y, width, height)
dessIndentCreates a new JSField object on the form - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.prs
Parameters
sIndentdataproviderthe specified dataprovider name/JSVariable of the JSField objecttypethe display type of the JSField object (see the Solution Model -> JSField node for display types)xthe horizontal "x" position of the JSField object in pixelsythe vertical "y" position of the JSField object in pixelswidththe width of the JSField object in pixelsheightthe height of the JSField object in pixelsret
dessIndentCreates a new JSField object on the form with the displayType of HTML_AREA - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.prs
Parameters
sIndentdataproviderthe specified dataprovider name/JSVariable of the JSField objectxthe horizontal "x" position of the JSfield object in pixelsythe vertical "y" position of the JSField object in pixelswidththe width of the JSField object in pixelsheightthe height of the JSField object in pixelsret
dessIndentCreates a new JSField object on the form with the displayType of IMAGE_MEDIA - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.prs
Parameters
sIndentdataproviderthe specified dataprovider name/JSVariable of the JSField objectxthe horizontal "x" position of the JSfield object in pixelsythe vertical "y" position of the JSField object in pixelswidththe width of the JSField object in pixelsheightthe height of the JSField object in pixelsret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRow newLabelname
newLabel(txt, x, y, width, height)
dessIndentCreates a new JSLabel object on the form - including the text of the label, the "x" and "y" position of the label object in pixels, the width and height of the label object in pixels.prs
Parameters
sIndenttxtthe specified text of the label objectxthe horizontal "x" position of the label object in pixelsythe vertical "y" position of the label object in pixelswidththe width of the label object in pixelsheightthe height of the label object in pixelsret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRow newLabelname
newLabel(txt, x, y, width, height, action)
dessIndentCreates a new JSLabel object on the form - including the text of the label, the "x" and "y" position of the label object in pixels, the width and height of the label object in pixels and a JSMethod action such as the method for an onAction event.prs
Parameters
sIndenttxtthe specified text of the label objectxthe horizontal "x" position of the label object in pixelsythe vertical "y" position of the label object in pixelswidththe width of the label object in pixelsheightthe height of the label object in pixelsactionthe event action JSMethod of the label objectret
dessIndentCreate 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.prs
Parameters
sIndentpositionthe position of JSWebComponent object in its parent containerret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRow newListBoxname
newListBox(dataprovider, x, y, width, height)
dessIndentCreates a new JSField object on the form with the displayType of LISTBOX - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.prs
Parameters
sIndentdataproviderthe specified dataprovider name/JSVariable of the JSField objectxthe horizontal "x" position of the JSfield object in pixelsythe vertical "y" position of the JSField object in pixelswidththe width of the JSField object in pixelsheightthe height of the JSField object in pixelsret
newMultiSelectListBox(dataprovider, x, y, width, height)
dessIndentCreates a new JSField object on the form with the displayType of MULTISELECT_LISTBOX - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.prs
Parameters
sIndentdataproviderthe specified dataprovider name/JSVariable of the JSField objectxthe horizontal "x" position of the JSfield object in pixelsythe vertical "y" position of the JSField object in pixelswidththe width of the JSField object in pixelsheightthe height of the JSField object in pixelsret
dessIndentCreates a new JSField object on the form with the displayType of PASSWORD - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.prs
Parameters
sIndentdataproviderthe specified dataprovider name/JSVariable of the JSField objectxthe horizontal "x" position of the JSfield object in pixelsythe vertical "y" position of the JSField object in pixelswidththe width of the JSField object in pixelsheightthe height of the JSField object in pixelsret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRow newPortalname
newPortal(name, relation, x, y, width, height)
dessIndentCreates a new JSPortal object on the form - including the name of the JSPortal object; the relation the JSPortal object is based on, the "x" and "y" position of the JSPortal object in pixels, as well as the width and height of the JSPortal object in pixels.prs
Parameters
sIndentnamethe specified name of the JSPortal objectrelationthe relation of the JSPortal objectxthe horizontal "x" position of the JSPortal object in pixelsythe vertical "y" position of the JSPortal object in pixelswidththe width of the JSPortal object in pixelsheightthe height of the JSPortal object in pixelsret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRow newRadiosname
newRadios(dataprovider, x, y, width, height)
dessIndentCreates a new JSField object on the form with the displayType of RADIOS (radio buttons) - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.prs
Parameters
sIndentdataproviderthe specified dataprovider name/JSVariable of the JSField objectxthe horizontal "x" position of the JSfield object in pixelsythe vertical "y" position of the JSField object in pixelswidththe width of the JSField object in pixelsheightthe height of the JSField object in pixelsret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRow newRtfAreaname
newRtfArea(dataprovider, x, y, width, height)
dessIndentCreates a new JSField object on the form with the displayType of RTF_AREA (enables more than one line of text to be displayed in a field) - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.prs
Parameters
sIndentdataproviderthe specified dataprovider name/JSVariable of the JSField objectxthe horizontal "x" position of the JSfield object in pixelsythe vertical "y" position of the JSField object in pixelswidththe width of the JSField object in pixelsheightthe height of the JSField object in pixelsret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRow newSpinnername
newSpinner(dataprovider, x, y, width, height)
dessIndentCreates a new JSField object on the form with the displayType of SPINNER - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.prs
Parameters
sIndentdataproviderthe specified dataprovider name/JSVariable of the JSField objectxthe horizontal "x" position of the JSfield object in pixelsythe vertical "y" position of the JSField object in pixelswidththe width of the JSField object in pixelsheightthe height of the JSField object in pixelsret
dessIndentCreates a new JSTabPanel object on the form - including the name of the JSTabPanel object, the "x" and "y" position of the JSTabPanel object in pixels, as well as the width and height of the JSTabPanel object in pixels.prs
Parameters
sIndentnamethe specified name of the JSTabPanel objectxthe horizontal "x" position of the JSTabPanel object in pixelsythe vertical "y" position of the JSTabPanel object in pixelswidththe width of the JSTabPanel object in pixelsheightthe height of the JSTabPanel object in pixelsret
dessIndentCreates a new JSField object on the form with the displayType of TEXT_AREA - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.prs
Parameters
sIndentdataproviderthe specified dataprovider name/JSVariable of the JSField objectxthe horizontal "x" position of the JSTabPanel object in pixelsythe vertical "y" position of the JSTabPanel object in pixelswidththe width of the JSTabPanel object in pixelsheightthe height of the JSTabPanel object in pixelsret
dessIndentCreates a new JSField object on the form with the displayType of TEXT_FIELD - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.prs
Parameters
sIndentdataproviderthe specified dataprovider name/JSVariable of the JSField objectxthe horizontal "x" position of the JSfield object in pixelsythe vertical "y" position of the JSField object in pixelswidththe width of the JSField object in pixelsheightthe height of the JSField object in pixelsret
dessIndentCreates a new JSField object on the form with the displayType of TYPE_AHEAD - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.prs
Parameters
sIndentdataproviderthe specified dataprovider name/JSVariable of the JSField objectxthe horizontal "x" position of the JSfield object in pixelsythe vertical "y" position of the JSField object in pixelswidththe width of the JSField object in pixelsheightthe height of the JSField object in pixelsret
dessIndentCreates 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
dessIndentCreates 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
dessIndentRemoves 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