Child pages
  • TITLEJUSTIFICATION

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

padding0px
width80px

...

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Constants Summary

...

Table Cell (td)
Number

...

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.
Enter additional information related to this 'class' inside the {div} macro with 'id=description'
Divcache
styleindexdisplay:none

...

iddescription

...

true
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClient

servoy sSummary12%30%58%height: 30px;3Constants SummaryPosition title text in the center of the border line.

...

Table Cell (td)
Number

...

Default justification for the title text

...

Table Cell (td)
Number

...

Position title text at the left side of the border line

...

for left to right orientation, at the right side of the

...

Table Cell (td)
Number

...

border line for right to left orientation.

...

Position title text at the left side of the border line.

...

Table Cell (td)
Number

...

Position title text at the right side of the border line.

...

Table Cell (td)
Number

...

Position title text at the right side of the border line

...

for left to right orientation, at the left side of the

...

servoy sDetail2Constants DetailsCENTERnametd

CENTER

dessIndent
Position title text in the center of the border line.
tdret

Returns

divsIndentclients

classtd

Supported Clients

sIndent
id border line for right to left orientation.

HTML Table

constantclass
Colgroup Tag
Column
padding0px
width100%
Table Row (tr)
style2100%height:30px;
Table Head (th)
colspan1
Table Body (tbody)
idid
Table Row (tr)
id
Table Row (tr)
Table Cell (td)
Div
classid
Table Row (tr)
Number
Table Row (tr)
idsam
Table Row (tr)
classlastDetailRow
Table Cell (td)
Table Body (tbody)
idDEFAULT
Table Row (tr)
idname
Table Cell (td)
DEFAULT
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Default justification for the title text
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

var form = solutionModel.getForm("someForm");
form.borderType = solutionModel.createTitledBorder('Test',null,'#ff0000',SM_TITLEJUSTIFICATION.DEFAULT,SM_TITLEPOSITION.TOP);
Table Row (tr)
classlastDetailRow
Table Cell (td) Table Body (tbody)
idLEADING
Table Row (tr)
idname
Table Cell (td)
LEADING
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Position title text at the left side of the border line
for left to right orientation, at the right side of the
border line for right to left orientation.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

var form = solutionModel.getForm("someForm");
form.borderType = solutionModel.createTitledBorder('Test',null,'#ff0000',SM_TITLEJUSTIFICATION.LEADING,SM_TITLEPOSITION.TOP);
Table Row (tr)
classlastDetailRow
Table Cell (td) Table Body (tbody)
idLEFT
Table Row (tr)
idname
Table Cell (td)
LEFT
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Position title text at the left side of the border line.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

var form = solutionModel.getForm("someForm");
form.borderType = solutionModel.createTitledBorder('Test',null,'#ff0000',SM_TITLEJUSTIFICATION.LEFT,SM_TITLEPOSITION.TOP);
Table Row (tr)
classlastDetailRow
Table Cell (td) Table Body (tbody)
idRIGHT
Table Row (tr)
idname
Table Cell (td)
RIGHT
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Position title text at the right side of the border line.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

var form = solutionModel.getForm("someForm");
form.borderType = solutionModel.createTitledBorder('Test',null,'#ff0000',SM_TITLEJUSTIFICATION.RIGHT,SM_TITLEPOSITION.TOP);
Table Row (tr)
classlastDetailRow
Table Cell (td) Table Body (tbody)
idTRAILING
Table Row (tr)
idname
Table Cell (td)
TRAILING
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Position title text at the right side of the border line
for left to right orientation, at the left side of the
border line for right to left orientation.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

var form = solutionModel.getForm("someForm");
form.borderType = solutionModel.createTitledBorder('Test',null,'#ff0000',SM_TITLEJUSTIFICATION.TRAILING,SM_TITLEPOSITION.TOP);
Table Row (tr)
classlastDetailRow
tdSmartClient,WebClient,NGClientsam

Sample

Div
classsIndent
Code Block
languagejavascript

var form = solutionModel.getForm("someForm");
form.borderType = solutionModel.createTitledBorder('Test',null,'#ff0000',SM_TITLEJUSTIFICATION.CENTER,SM_TITLEPOSITION.TOP);
sIdentjavascriptlastDetailRowDEFAULTname

DEFAULT

dessIndent
Default justification for the title text
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
LEADINGname

LEADING

dessIndent
Position title text at the left side of the border line
 for left to right orientation, at the right side of the 
 border line for right to left orientation.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
LEFTname

LEFT

dessIndent
Position title text at the left side of the border line.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
RIGHTname

RIGHT

dessIndent
Position title text at the right side of the border line.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
TRAILINGname

TRAILING

dessIndent
Position title text at the right side of the border line
 for left to right orientation, at the left side of the 
 border line for right to left orientation.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow