Child pages
  • TITLEPOSITION
Skip to end of metadata
Go to start of metadata

Refresh page Mar 29, 2024 04:49

Supported Clients
SmartClient WebClient NGClient

Constants Summary
Number ABOVE_BOTTOM Title in the middle of the border's bottom line
Number ABOVE_TOP Title above the border's top line
Number BELOW_BOTTOM Title below the border's bottom line
Number BELOW_TOP Title above the border's bottom line
Number DEFAULT Default vertical orientation for the title text
Number TOP Title in the middle of the border's top line

Constants Details

ABOVE_BOTTOM

Title in the middle of the border's bottom line

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

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

ABOVE_TOP

Title above the border's top line

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

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

BELOW_BOTTOM

Title below the border's bottom line

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

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

BELOW_TOP

Title above the border's bottom line

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

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

DEFAULT

Default vertical orientation for the title text

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

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

TOP

Title in the middle of the border's top line

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

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

  • No labels