Child pages
  • Rectangle

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Divcache
Div
iddescription
HTML Table
id
classservoy sSummary
Colgroup Tag
Col
width80px
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Property Summary
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)anchors
styleindexdisplay:none

DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR.

true
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable
id

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClient

servoy sSummary12%30%58%height: 30px;3Property SummaryEnables a component to stick to a specific side of form and/or to

Table Cell (td)
String
Table Cell (td)background
grow or shrink when a window is resized. Table Row (tr) Table Cell (td)borderType
The background color of the component. Table Row (tr)
Table Cell (td)
String
designTimeProperties
The type, color and style of border of the component. Table Row (tr)
Table Cell (td)
Object
Table Cell (td)Property to get and add design-time properties for a component. Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)enabled
The enable state of the component, default true. Table Row (tr)
Table Cell (td)
String
Table Cell (td)foreground
Table Cell (td)lineSize
The foreground color of the component.
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
formIndex
Table Row (tr)
Table Cell (td)
Number
Form index returns the z-index of the form element.The width of the line used for drawing the rectangle. Table Row (tr)
Table Cell (td)
String
Table Cell (td)location
Table Row (tr)
Table Cell (td)
String
Table Cell (td)name
The x and y position of the component, in pixels, separated by a comma.The name of the component. Table Row (tr)
Table Cell (td)
Number
Table Cell (td)printSliding
Enables an element to resize based on its content and/or move when printing. Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)printable
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)roundedRadius
Flag that tells if the component should be printed or not when the form is printed.
Table Cell (td)
Number
Table Cell (td)shapeType
The rounding radius in pixels. Table Row (tr)The type of the shape. Table Row (tr)
Table Cell (td)
String
Table Cell (td)size
Table Cell (td)transparent
The width and height (in pixels), separated by a comma. Table Row (tr)
Table Cell (td)
Boolean
Flag that tells if the component is transparent or not. Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)visible
The visible property of the component, default true. HTML Table

propertyclass Colgroup Tag Colcolspanservoy sDetail2width100%

Col
Table Head (thead) Table Row (tr)styleheight:30px; Table Head (th)colspan2Property Details Table Body (tbody)ididanchors Table Row (tr)name

Table Cell (td)id

anchors

Table Row (tr)des Table Cell (td) DivclasssIndentEnables 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
Table Row (tr)id correspond to the activated anchors.tdret

Returns

divsIndentclients

class Table Body (tbody)

idbackground
Table Row (tr)
idname
Table Cell (td)

background

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent

Supported Clients

sIndent
Number
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
SmartClient,WebClient,NGClientsam

Sample

sIdentjavascript
lastDetailRow 
backgroundname

background

dessIndentThe background color of the component.
Table Row (tr)idtdret

Returns

divsIndentclients

class Table Cell (td) Div

classsIndent

Supported Clients

sIndent
String
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idborderType
Table Row (tr)
idname
Table Cell (td)

borderType

Table Row (tr)
iddes
SmartClient,WebClient,NGClientsam

Sample

sIdentjavascript
lastDetailRow 
borderTypename

borderType

dessIndentThe type, color and style of border of the component.
Table Row (tr)idtdret

Returns

divsIndentclients

class

Supported Clients

sIndent
String
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
iddesignTimeProperties
Table Row (tr)
idname
Table Cell (td)

designTimeProperties

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClientsam

Sample

sIdentjavascript
lastDetailRow 
designTimePropertiesname

designTimeProperties

dessIndentProperty to get and add design-time properties for a component.
Table Row (tr)idret

Table Cell (td)

Returns

divsIndentclients

class Div

classsIndent

Supported Clients

sIndent
Object - map of the design-time properties
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idenabled
Table Row (tr)
idname
Table Cell (td)

enabled

Table Row (tr)
iddes
Table Cell (td)SmartClient,WebClient,NGClientsam

Sample

sIdentjavascript
lastDetailRow 
enabledname

enabled

dessIndentThe enable state of the component, default true.
Table Row (tr)idret

Table Cell (td)

Returns

divsIndentclients

class Table Cell (td) Div

classsIndent

Supported Clients

sIndent
Boolean - enabled state
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idforeground
Table Row (tr)
idname
Table Cell (td)

foreground

Table Row (tr)
iddes
SmartClient,WebClient,NGClientsam

Sample

sIdentjavascript
lastDetailRow 
foregroundname

foreground

dessIndentThe foreground color of the component.
Table Row (tr)idret

Table Cell (td)

Returns

divsIndentclients

class

Supported Clients

sIndent
String
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idformIndex
Table Row (tr)
idname
Table Cell (td)

formIndex

Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Number
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idlineSize
Table Row (tr)
idname
Table Cell (td)

lineSize

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClientsam

Sample

sIdentjavascript
lastDetailRow 
formIndexname

formIndex

dessIndentForm index returns the z-index of the form element. If two elements overlap, then the element with higher Z index is displayed above the form element with lower Z index. In case of form inheritance, form index is evaluated in the context (form) where property is defined. Elements which have child form as context will always be on top of elements which have parent form. If element is overridden in child form but form index property is still inherited its context is still parent form.ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow 
lineSizename

lineSize

dessIndentThe width of the line used for drawing the rectangle.
Table Row (tr)idret

Table Cell (td)

Returns

divsIndentclients

class

Supported Clients

sIndent
Number
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idlocation
Table Row (tr)
idname
Table Cell (td)

location

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
Table Row (tr)idSmartClient,WebClient,NGClientsam

Sample

sIdentjavascript
lastDetailRow 
locationname

location

dessIndentThe x and y position of the component, in pixels, separated by a comma.
tdret

Returns

divsIndentclients

class

Supported Clients

sIndent
String
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idname
Table Row (tr)
idname
Table Cell (td)

name

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
Table Row (tr)idSmartClient,WebClient,NGClientsam

Sample

sIdentjavascript
lastDetailRow 
namename

name

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

Table Cell (td)

Returns

divsIndentclients

class

Supported Clients

sIndent
String
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idprintSliding
Table Row (tr)
idname
Table Cell (td)

printSliding

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClientsam

Sample

sIdentjavascript
lastDetailRow 
printSlidingname

printSliding

dessIndentEnables an element to resize based on its content and/or move when printing.

The component can move horizontally or vertically and can grow or shrink in
height and width, based on its content and the content of neighboring
Table Row (tr)id components.ret

Table Cell (td)

Returns

divsIndentclients

class

Supported Clients

sIndentSmartClient,WebClient
sam

Number

Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idprintable
Table Row (tr)
idname
Table Cell (td)

printable

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent

Sample

sIdentjavascript
lastDetailRow 
printablename

printable

dessIndentFlag that tells if the component should be printed or not when the form is printed.
By default components are printable. Table Row (tr)idret

Table Cell (td)

Returns

divsIndentclients

class Table Body (tbody)

idroundedRadius
Table Row (tr)
idname
Table Cell (td)

roundedRadius

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent

Supported Clients

sIndentSmartClient,WebClient
sam

Boolean

Table Row (tr)
classlastDetailRow
Table Cell (td)
 

Sample

sIdentjavascript
lastDetailRow 
roundedRadiusname

roundedRadius

dessIndentThe rounding radius in pixels.
Table Row (tr)idtdret

Returns

divsIndentclients

class

Supported Clients

sIndent
Number
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idshapeType
Table Row (tr)
idname
Table Cell (td)

shapeType

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
Table Row (tr)idSmartClient,WebClient,NGClientsam

Sample

sIdentjavascript
lastDetailRow 
shapeTypename

shapeType

dessIndentThe type of the shape. The type can be BORDER_PANEL, RECTANGLE, ROUNDED_RECTANGLE or OVAL.
ret

Table Cell (td)

Returns

divsIndentclients

class

Supported Clients

sIndent
Number
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idsize
Table Row (tr)
idname
Table Cell (td)

size

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
Table Row (tr)idSmartClient,WebClient,NGClientsam

Sample

sIdentjavascript
lastDetailRow 
sizename

size

dessIndentThe width and height (in pixels), separated by a comma.
ret

Table Cell (td)

Returns

divsIndentclients

class

Supported Clients

sIndent
String
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idtransparent
Table Row (tr)
idname
Table Cell (td)

transparent

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClientsam

Sample

sIdentjavascript
lastDetailRow 
transparentname

transparent

dessIndentFlag that tells if the component is transparent or not.
The default value is "false", that is the components
Table Row (tr)id are not transparent.tdret

Returns

divsIndentclients

class

Supported Clients

sIndent
Boolean
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idvisible
Table Row (tr)
idname
Table Cell (td)

visible

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClientsam

Sample

sIdentjavascript
lastDetailRow 
visiblename

visible

dessIndentThe visible property of the component, default true.
Table Row (tr)idtdret

Returns

divsIndentclients

classBoolean - visible property Table Row (tr)

classlastDetailRow
Table Cell (td) 

Supported Clients

sIndent
SmartClient,WebClient,NGClientsam

Sample

sIdentjavascript
lastDetailRow