Title in the middle of the border's bottom line |
|
|
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); |
|
|
|
|
Title above the border's top line |
|
|
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); |
|
|
|
|
Title below the border's bottom line |
|
|
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); |
|
|
|
|
Title above the border's bottom line |
|
|
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 vertical orientation for the title text |
|
|
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); |
|
|
|
|
Title in the middle of the border's top line |
|
|
Supported Clients SmartClient,WebClient,NGClient |
|
|
Sample var form = solutionModel.getForm("someForm");
form.borderType = solutionModel.createTitledBorder('Test',null,'#ff0000',SM_TITLEJUSTIFICATION.DEFAULT,SM_TITLEPOSITION.TOP); |
|
|
|
|
|