Child pages
  • JSLayoutContainer

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Cache
indextrue
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientsWordListMobileClient

servoy 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

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow elementIdname

elementId

dessIndentThe id to be output for html tag.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
heightname

height

dessIndentGet/set container height. This is only used for Absolute Layout Container.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
namename

name

dessIndentThe name of the component. Through this name it can also accessed in methods.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
packageNamename

packageName

dessIndentreturns the layouts package nameret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
specNamename

specName

dessIndentreturns the layouts spec nameret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
stylename

style

dessIndentThe style definition to be output in html tag.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
tagTypename

tagType

dessIndentThe tag type for html output. Default value is 'div'.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
widthname

width

dessIndentGet/set container width. This is only used for Absolute Layout Container.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
xname

x

dessIndentGet/set x location. Location is used for ordering in html output.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
yname

y

dessIndentGet/set Y location. Location is used for ordering in html output.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 

functionservoy sDetail2100%height:30px2Methods DetailsfindLayoutContainername

findLayoutContainer(name)

dessIndentReturns a JSLayoutContainer that has the given name throughout the whole form hierarchy.prs

Parameters

sIndentnamethe specified name of the container
ret

Returns

sIndent
clients

Supported Clients

sIndentNGClient
sam

Sample

sIdentjavascript
lastDetailRow findWebComponentname

findWebComponent(name)

dessIndentReturns a JSWebComponent that has the given name through the whole hierarchy of JSLayoutContainersprs

Parameters

sIndentnamethe specified name of the web component
ret

Returns

sIndent
clients

Supported Clients

sIndentNGClient
sam

Sample

sIdentjavascript
lastDetailRow 
getAttributename

getAttribute(name)

dessIndentprs

Parameters

sIndentnamethe attributes name
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
getBeanname

getBean(name)

dessIndentReturns a JSBean that has the given name.prs

Parameters

sIndentnamethe specified name of the bean
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
getBeansname

getBeans()

dessIndentReturns all JSBeans of this form.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
getBeansname

getBeans(returnInheritedElements)

dessIndentReturns all JSBeans of this form.prs

Parameters

sIndentreturnInheritedElementstrue to also return the elements from parent form
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
getButtonname

getButton(name)

dessIndentReturns a JSButton that has the given name.prs

Parameters

sIndentnamethe specified name of the button
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
getButtonsname

getButtons()

dessIndentReturns all JSButtons of this form, including the ones without a name.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
getButtonsname

getButtons(returnInheritedElements)

dessIndentReturns all JSButtons of this form, including the ones without a name.prs

Parameters

sIndentreturnInheritedElementstrue to also return the elements from parent form
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
getComponentname

getComponent(name)

dessIndentReturns a JSComponent that has the given name; if found it will be a JSField, JSLabel, JSButton, JSPortal, JSBean, JSWebComponent or JSTabPanel.prs

Parameters

sIndentnamethe specified name of the component
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
getComponentsname

getComponents()

dessIndentReturns a array of all the JSComponents that a form has; they are of type JSField,JSLabel,JSButton,JSPortal,JSBean, JSWebComponents or JSTabPanel.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
getComponentsname

getComponents(returnInheritedElements)

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 form
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
getFieldname

getField(name)

dessIndentThe field with the specified name.prs

Parameters

sIndentnamethe specified name of the field
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
getFieldsname

getFields()

dessIndentReturns all JSField objects of this form, including the ones without a name.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
getFieldsname

getFields(returnInheritedElements)

dessIndentReturns all JSField objects of this form, including the ones without a name.prs

Parameters

sIndentreturnInheritedElementstrue to also return the elements from the parent form
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
getLabelname

getLabel(name)

dessIndentReturns a JSLabel that has the given name.prs

Parameters

sIndentnamethe specified name of the label
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
getLabelsname

getLabels()

dessIndentReturns all JSLabels of this form (not including its super form), including the ones without a name.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
getLabelsname

getLabels(returnInheritedElements)

dessIndentReturns all JSLabels of this form (optionally including it super forms labels), including the ones without a name.prs

Parameters

sIndentreturnInheritedElementstrue to also return the elements from parent form
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
getLayoutContainername

getLayoutContainer(name)

dessIndentReturns a JSLayoutContainer that has the given name.prs

Parameters

sIndentnamethe specified name of the container
ret

Returns

sIndent
clients

Supported Clients

sIndentNGClient
sam

Sample

sIdentjavascript
lastDetailRow 
getLayoutContainersname

getLayoutContainers()

dessIndentReturns all JSLayoutContainers objects of this containerret

Returns

sIndent
clients

Supported Clients

sIndentNGClient
sam

Sample

sIdentjavascript
lastDetailRow 
getPortalname

getPortal(name)

dessIndentReturns a JSPortal that has the given name.prs

Parameters

sIndentnamethe specified name of the portal
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
getPortalsname

getPortals()

dessIndentReturns all JSPortal objects of this form (not including the ones from the parent form), including the ones without a name.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
getPortalsname

getPortals(returnInheritedElements)

dessIndentReturns all JSPortal objects of this form (optionally also the ones from the parent form), including the ones without a name.prs

Parameters

sIndentreturnInheritedElementstrue to also return the elements from parent form
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
getTabPanelname

getTabPanel(name)

dessIndentReturns a JSTabPanel that has the given name.prs

Parameters

sIndentnamethe specified name of the tabpanel
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
getTabPanelsname

getTabPanels()

dessIndentReturns all JSTabPanels of this form (not including the ones from the parent form), including the ones without a name.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
getTabPanelsname

getTabPanels(returnInheritedElements)

dessIndentReturns all JSTabPanels of this form (optionally the ones from the parent form), including the ones without a name.prs

Parameters

sIndentreturnInheritedElementstrue to also return the elements from parent form
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
getWebComponentname

getWebComponent(name)

dessIndentReturns a JSWebComponent that has the given name.prs

Parameters

sIndentnamethe specified name of the web component
ret

Returns

sIndent
clients

Supported Clients

sIndentNGClient
sam

Sample

sIdentjavascript
lastDetailRow 
getWebComponentsname

getWebComponents()

dessIndentReturns all JSWebComponents of this form.ret

Returns

sIndent
clients

Supported Clients

sIndentNGClient
sam

Sample

sIdentjavascript
lastDetailRow 
getWebComponentsname

getWebComponents(returnInheritedElements)

dessIndentReturns all JSWebComponents of this form.prs

Parameters

sIndentreturnInheritedElementstrue to also return the elements from parent form
ret

Returns

sIndent
clients

Supported Clients

sIndentNGClient
sam

Sample

sIdentjavascript
lastDetailRow 
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 pixels
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
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 event
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
newCalendarname

newCalendar(dataprovider, x, y, width, height)

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 pixels
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
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 pixels
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
newComboBoxname

newComboBox(dataprovider, x, y, width, height)

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 pixels
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
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 pixels
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
newHtmlAreaname

newHtmlArea(dataprovider, x, y, width, height)

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 pixels
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
newImageMedianame

newImageMedia(dataprovider, x, y, width, height)

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 pixels
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
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 pixels
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
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 object
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
newLayoutContainername

newLayoutContainer(position)

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 container
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
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 pixels
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
newMultiSelectListBoxname

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 pixels
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
newPasswordname

newPassword(dataprovider, x, y, width, height)

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 pixels
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
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 pixels
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
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 pixels
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
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 pixels
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
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 pixels
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
newTabPanelname

newTabPanel(name, x, y, width, height)

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 pixels
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
newTextAreaname

newTextArea(dataprovider, x, y, width, height)

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 pixels
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
newTextFieldname

newTextField(dataprovider, x, y, width, height)

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 pixels
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
newTypeAheadname

newTypeAhead(dataprovider, x, y, width, height)

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 pixels
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
newWebComponentname

newWebComponent(name, type, position)

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 container
ret

Returns

sIndent
clients

Supported Clients

sIndentNGClient
sam

Sample

sIdentjavascript
lastDetailRow 
newWebComponentname

newWebComponent(name, type, x, y, width, height)

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 pixels
ret

Returns

sIndent
clients

Supported Clients

sIndentNGClient
sam

Sample

sIdentjavascript
lastDetailRow 
putAttributename

putAttribute(key, value)

dessIndentprs

Parameters

sIndentkey value 
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
removeBeanname

removeBean(name)

dessIndentRemoves a JSBean that has the specified name. Returns true if removal was successful, false otherwise.prs

Parameters

sIndentnamethe specified name of the JSBean to be removed
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
removeButtonname

removeButton(name)

dessIndentRemoves a JSButton that has the specified name. Returns true if removal was successful, false otherwise.prs

Parameters

sIndentnamethe specified name of the JSButton to be removed
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
removeComponentname

removeComponent(name)

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 deleted
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
removeFieldname

removeField(name)

dessIndentRemoves a JSField that has the given name. Returns true if removal was successful, false otherwise.prs

Parameters

sIndentnamethe specified name of the JSField to remove
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
removeLabelname

removeLabel(name)

dessIndentRemoves a JSLabel that has the given name. Returns true if removal successful, false otherwiseprs

Parameters

sIndentnamethe specified name of the JSLabel to be removed
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
removePortalname

removePortal(name)

dessIndentRemoves a JSPortal that has the given name. Returns true if removal was successful, false otherwise.prs

Parameters

sIndentnamethe specified name of the JSPortal to be removed
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
removeTabPanelname

removeTabPanel(name)

dessIndentRemoves a JSTabPanel that has the given name. Returns true if removal was successful, false otherwise.prs

Parameters

sIndentnamethe specified name of the JSTabPanel to be removed
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
removeWebComponentname

removeWebComponent(name)

dessIndentRemoves a JSWebComponent that has the specified name. Returns true if removal was successful, false otherwise.prs

Parameters

sIndentnamethe specified name of the JSWebComponent to be removed
ret

Returns

sIndent
clients

Supported Clients

sIndentNGClient
sam

Sample

sIdentjavascript
lastDetailRow