servoy sReturnTypes 2 100% height: 30px; 2 Supported Clients sWordList NGClient
servoy sReturnTypes 2 100% height: 30px; 2 Extends sWordList BLOCK
servoy sSummary 12% 30% 58% height: 30px; 3 Property Summary Enables a component to stick to a specific side of form and/or to grow or shrink when a window is resized. CSS position is a replacement for anchoring system making it more intuitive to place a component. The enable state of the component, default true. The Z index of this component. The height in pixels of the component. The name of the component. The webcomponent type (name from the spec). The visible property of the component, default true. The width in pixels of the component. The x coordinate of the component on the form. The y coordinate of the component on the form.
servoy sSummary 12% 30% 58% height: 30px; 3 Methods Summary Get the value of an attribute of the element. Returns the attribute names of an element. Returns the comment of this component. Get a design-time property of an element. Get the design-time properties of an element. Returns the name of the form. Returns the JSMethod handler with the given name. Get the design-time value of the given property. Get the list of property names this component supports . Returns the UUID of this component . Returns whatever the design-time value of the given property was set . Set a design-time property of an element. Remove the attribute of an element. Clear a design-time property of an element. void Similar to resetJSONProperty but for handlers. void Reset the design-time value of the given property. void Set the attribute value of an element. void Set the JSMethod handler for the given handler name. void Set the design-time value for the given property.
property servoy sDetail 2 100% height:30px 2 Property Details anchors name anchors des sIndent Enables a component to stick to a specific side of form and/or to
grow or shrink when a window is resized.
If opposite anchors are activated then the component with grow or
shrink with the window. For example if Top and Bottom are activated,
then the component will grow/shrink when the window is vertically
resized. If Left and Right are activated then the component
will grow/shrink when the window is horizontally resized.
If opposite anchors are not activated, then the component will
keep a constant distance from the sides of the window which
correspond to the activated anchors. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient ,NGClient sam Sample
sIdent javascript lastDetailRow cssPosition name cssPosition des sIndent CSS position is a replacement for anchoring system making it more intuitive to place a component.
CSS position should be set on form , an absolute position form can either work with anchoring or with css position.
This is only working in NGClient . ret Returns
sIndent clients Supported Clients
sIndent NGClient sam Sample
sIdent javascript lastDetailRow enabled name enabled des sIndent The enable state of the component, default true. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow formIndex name formIndex des sIndent The Z index of this component. If two components overlap,
then the component with higher Z index is displayed above
the component with lower Z index. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow height name height des sIndent The height in pixels of the component. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow name name name des sIndent 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
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow typeName name typeName des sIndent The webcomponent type (name from the spec). ret Returns
sIndent clients Supported Clients
sIndent NGClient sam Sample
sIdent javascript lastDetailRow visible name visible des sIndent The visible property of the component, default true. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow width name width des sIndent The width in pixels of the component. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow x name x des sIndent The x coordinate of the component on the form. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow y name y des sIndent The y coordinate of the component on the form. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow
function servoy sDetail 2 100% height:30px 2 Methods Details getAttribute name getAttribute(name) des sIndent Get the value of an attribute of the element. prs Parameters
sIndent name the name of the attribute ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow getAttributes name getAttributes() des sIndent Returns the attribute names of an element. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow getComment name getComment() des sIndent Returns the comment of this component. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow getDesignTimeProperty name getDesignTimeProperty(key) des sIndent Get a design-time property of an element. prs Parameters
sIndent key the name of the property ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow getDesignTimePropertyNames name getDesignTimePropertyNames() des sIndent Get the design-time properties of an element. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow getFormName name getFormName() des sIndent Returns the name of the form. (may be empty string as well) ret Returns
sIndent The name of the form. clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow getHandler name getHandler(handlerName) des sIndent Returns the JSMethod handler with the given name. prs Parameters
sIndent handlerName the name of the handler to get ret Returns
sIndent clients Supported Clients
sIndent NGClient sam Sample
sIdent javascript lastDetailRow getJSONProperty name getJSONProperty(propertyName) des sIndent Get the design-time value of the given property. If the value was never set and
the component has default value for the give property, that value will be returned.
To check if the value was set, use isJSONPropertySet. prs Parameters
sIndent propertyName the name of the property to get ret Returns
sIndent clients Supported Clients
sIndent NGClient sam Sample
sIdent javascript lastDetailRow getJSONPropertyNames name getJSONPropertyNames(includeAll) des sIndent Get the list of property names this component supports.
It can return all properties specified in spec file or only the properties that are set in json. prs Parameters
sIndent includeAll whether to return all properties from specification file or only the ones that are set in json ret Returns
sIndent clients Supported Clients
sIndent NGClient sam Sample
sIdent javascript lastDetailRow getUUID name getUUID() des sIndent Returns the UUID of this component. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow isJSONPropertySet name isJSONPropertySet(propertyName) des sIndent Returns whatever the design-time value of the given property was set. prs Parameters
sIndent propertyName the name of the property to check ret Returns
sIndent clients Supported Clients
sIndent NGClient sam Sample
sIdent javascript lastDetailRow putDesignTimeProperty name putDesignTimeProperty(key, value) des sIndent Set a design-time property of an element. prs Parameters
sIndent key the name of the property value the value to store ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow removeAttribute name removeAttribute(name) des sIndent Remove the attribute of an element. prs Parameters
sIndent name the name of the attribute ret Returns
sIndent the deleted attribute value clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow removeDesignTimeProperty name removeDesignTimeProperty(key) des sIndent Clear a design-time property of an element. prs Parameters
sIndent key the name of the property ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow resetHandler name resetHandler(handlerName) des sIndent Similar to resetJSONProperty but for handlers. prs Parameters
sIndent handlerName the name of the handler to reset clients Supported Clients
sIndent NGClient sam Sample
sIdent javascript lastDetailRow resetJSONProperty name resetJSONProperty(propertyName) des sIndent Reset the design-time value of the given property.
This makes it as if it was never set. It can be useful when working with form inheritance. prs Parameters
sIndent propertyName the name of the property to reset clients Supported Clients
sIndent NGClient sam Sample
sIdent javascript lastDetailRow setAttribute name setAttribute(name, value) des sIndent Set the attribute value of an element. prs Parameters
sIndent name the name of the attribute value the value of the attribute clients Supported Clients
sIndent SmartClient,WebClient, NGClient sam Sample
sIdent javascript lastDetailRow setHandler name setHandler(handlerName, method) des sIndent Set the JSMethod handler for the given handler name. The handlerName is checked for existence in the component spec file, if the component does not declare this handler, an error is thrown.
If the handler is already set, it will be replaced with the new JSMethod. prs Parameters
sIndent handlerName the name of the handler to get method the JSMethod to attach to the handler (can be also JSMethod that has arguments) clients Supported Clients
sIndent NGClient sam Sample
sIdent javascript lastDetailRow setJSONProperty name setJSONProperty(propertyName, value) des sIndent Set the design-time value for the given property. For primitive property types you can just set the value.
For more complex property types you can set a JSON value similar to what would be generated in the .frm file if you would design what you need using editor/properties view.
Some property types can be assigned values in the runtime accepted format (for example border, font typed properties have a string representation at runtime and here as well). prs Parameters
sIndent propertyName the name of the property to set value the new value of the property clients Supported Clients
sIndent NGClient sam Sample
sIdent javascript lastDetailRow