public interface VerticalBoxLayout extends Layout
VerticalBoxLayout
interface represents a layout where child controls are laid out vertically. Layouts are applied
to container controls.
LayoutControl.getLayout()
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCellHAlign()
Horizontal alignment for each child control within its containing table cell.
|
java.lang.String |
getCellVAlign()
Vertical alignment for each child control within its containing table cell.
|
java.lang.String |
getHAlign()
Horizontal alignment for all child content - all child controls are aligned as a single block.
|
java.lang.String |
getLayoutClass()
Returns the list of CSS classes configured for each cell of the HTML table used to provide the layout.
|
java.lang.String |
getLayoutStyle()
Returns the inline CSS style configured for each cell of the HTML table used to provide the layout.
|
java.lang.String |
getSpacerSize()
Vertical spacing between adjacent controls.
|
java.lang.String |
getTableClass()
Returns the list of CSS classes configured for the HTML table used to provide the layout.
|
java.lang.String |
getTableStyle()
Returns the inline CSS style configured for the HTML table used to provide the layout.
|
java.lang.String |
getVAlign()
Vertical alignment for all child content - all child controls are aligned as a single block.
|
void |
setCellHAlign(java.lang.String cellHAlign)
Sets the Horizontal alignment for each child control within its containing table cell.
|
void |
setCellVAlign(java.lang.String cellVAlign)
Sets the Vertical alignment for each child control within its containing table cell.
|
void |
setHAlign(java.lang.String hAlign)
Sets the Horizontal alignment for all child content where all child controls are aligned as a single block.
|
void |
setLayoutClass(java.lang.String layoutClass)
Sets one or more CSS classes to be applied to each cell of the HTML table used to provide the layout.
|
void |
setLayoutStyle(java.lang.String layoutStyle)
Sets the inline CSS style to be applied to each cell of the HTML table used to provide the layout.
|
void |
setSpacerSize(java.lang.String spacerSize)
Vertical spacing between adjacent controls.
|
void |
setTableClass(java.lang.String tableClass)
Sets one or more CSS classes to be applied to the HTML table used to provide the layout.
|
void |
setTableStyle(java.lang.String tableStyle)
Sets the inline CSS style to be applied to the HTML table used to provide the layout.
|
void |
setVAlign(java.lang.String vAlign)
Sets the Vertical alignment for all child content where all child controls are aligned as a single block.
|
java.lang.String getHAlign()
setHAlign(String)
for details of supported values when setting this property.
void setHAlign(java.lang.String hAlign)
Supported values:
Value | Constant |
---|---|
ControlConstants.HORIZONTAL_ALIGNMENT_NONE | |
Center | ControlConstants.HORIZONTAL_ALIGNMENT_CENTER |
Left | ControlConstants.HORIZONTAL_ALIGNMENT_LEFT |
Right | ControlConstants.HORIZONTAL_ALIGNMENT_RIGHT |
Fill | ControlConstants.HORIZONTAL_ALIGNMENT_FILL |
Setting a value of null
removes any existing value for the property.
Example:
controls.PANEL1.layout.setHAlign(ControlConstants.HORIZONTAL_ALIGNMENT_CENTER);
java.lang.String getVAlign()
setVAlign(String)
for details of supported values when setting this property.
void setVAlign(java.lang.String vAlign)
Supported values:
Value | Constant |
---|---|
ControlConstants.VERTICAL_ALIGNMENT_NONE | |
Center | ControlConstants.VERTICAL_ALIGNMENT_CENTER |
Top | ControlConstants.VERTICAL_ALIGNMENT_TOP |
Bottom | ControlConstants.VERTICAL_ALIGNMENT_BOTTOM |
Fill | ControlConstants.VERTICAL_ALIGNMENT_FILL |
Setting a value of null
removes any existing value for the property.
Example:
controls.PANEL1.layout.setVAlign(ControlConstants.VERTICAL_ALIGNMENT_TOP);
java.lang.String getCellHAlign()
setCellHAlign(String)
for details of supported values when setting this property.
void setCellHAlign(java.lang.String cellHAlign)
Supported values:
Value | Constant |
---|---|
ControlConstants.HORIZONTAL_ALIGNMENT_NONE | |
Center | ControlConstants.HORIZONTAL_ALIGNMENT_CENTER |
Left | ControlConstants.HORIZONTAL_ALIGNMENT_LEFT |
Right | ControlConstants.HORIZONTAL_ALIGNMENT_RIGHT |
Fill | ControlConstants.HORIZONTAL_ALIGNMENT_FILL |
Setting a value of null
removes any existing value for the property.
Example:
controls.PANEL1.layout.setCellHAlign(ControlConstants.HORIZONTAL_ALIGNMENT_CENTER);
java.lang.String getCellVAlign()
setCellVAlign(String)
for details of supported values when setting this property.
void setCellVAlign(java.lang.String cellVAlign)
vAlign
) is set to Fill.
Supported values:
Value | Constant |
---|---|
ControlConstants.VERTICAL_ALIGNMENT_NONE | |
Center | ControlConstants.VERTICAL_ALIGNMENT_CENTER |
Top | ControlConstants.VERTICAL_ALIGNMENT_TOP |
Bottom | ControlConstants.VERTICAL_ALIGNMENT_BOTTOM |
Setting a value of null
removes any existing value for the property.
Example:
controls.PANEL1.layout.setCellVAlign(ControlConstants.VERTICAL_ALIGNMENT_BOTTOM);
java.lang.String getSpacerSize()
setSpacerSize(String)
for details of supported values when setting this property.void setSpacerSize(java.lang.String spacerSize)
java.lang.String getTableClass()
These classes are configured in the designer using the Advanced Properties button within the layout properties Styling Assistant.
setTableClass(String)
void setTableClass(java.lang.String tableClass)
These classes are configured in the designer using the Advanced Properties button within the layout properties Styling Assistant.
java.lang.String getTableStyle()
This inline style is configured in the designer using the Advanced Properties button within the layout properties Styling Assistant.
setTableStyle(String)
void setTableStyle(java.lang.String tableStyle)
This inline style is configured in the designer using the Advanced Properties button within the layout properties Styling Assistant.
java.lang.String getLayoutClass()
These classes are configured in the designer using the Advanced Properties button within the layout properties Styling Assistant.
setLayoutClass(String)
void setLayoutClass(java.lang.String layoutClass)
These classes are configured in the designer using the Advanced Properties button within the layout properties Styling Assistant.
java.lang.String getLayoutStyle()
This inline style is configured in the designer using the Advanced Properties button within the layout properties Styling Assistant.
setLayoutStyle(String)
void setLayoutStyle(java.lang.String layoutStyle)
This inline style is configured in the designer using the Advanced Properties button within the layout properties Styling Assistant.