Scroll Container
Definition
The ScrollContainer is an area defined by width and height that displays scrollbars when the contents of the ScrollContainer extends the defined size.
-
height
Specifies the height of the ScrollContainer control.
-
id
Identification name of the ScrollContainer control.
-
width
Specifies the width of the ScrollContainer control.
|
Attributes |
M |
Values |
Usage |
|
height |
Unit |
Taglib height="300" Classlib setHeight("300") |
|
|
id |
* |
String (cs) |
Taglib id="scrCont" Classlib setId("scrCont") |
|
width |
Unit |
Taglib width="500" Classlib setWidth("500") |
Example
using the taglib
|
<hbj:scrollContainerid= "scrCont" width= "400" height= "200" /> |
using the classlib
|
Formform=(Form) this .getForm();ScrollContaimerscrCont= new ScrollContainer( "scrCont" );scrCont.setWidth( "400" );scrCont.setHeight( "200" );form.addComponent(scrCont); |
Result
