public interface BootstrapRowControl extends ContainerControl, BackgroundStyleProperties, BorderStyleProperties, PaddingStyleProperties, MarginStyleProperties, TextStyleProperties
A container representing a row within the bootstrap framework. Outside of this framework it functions as a simple div. Bootstrap Column Controls can be placed in this control.
<div> .. bootstrap column controls </div>Further documentation.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHeight()
Row height.
|
java.lang.String |
getHorizontalAlignment()
How the row is horizontally aligning all immediate child columns
|
java.lang.String |
getRowType()
The type of row being represented
see #setRowType(String)
|
java.lang.String |
getVerticalAlignment()
How the row is vertically aligning all immediate child columns
|
boolean |
isGutter()
Have the gutters between columns been enabled.
|
void |
setGutter(boolean enabled)
The gutters between columns in our predefined grid classes are removed when gutters are disabled.
|
void |
setHeight(java.lang.String height)
Sets the row height, and is equivalent to the CSS height property and any valid value for this CSS property can be used.
|
void |
setHorizontalAlignment(java.lang.String alignment)
Horizontally aligns the columns in the row.
|
void |
setRowType(java.lang.String type)
The type of bootstrap row can be changed here.
|
void |
setVerticalAlignment(java.lang.String alignment)
Vertically aligns the columns in the row.
|
getChildControls
addCssClass, getAll, getCssClass, getErrorMsgClass, getErrorMsgStyle, getInfoMsgClass, getInfoMsgStyle, getLayoutCell, getNextSiblingControl, getPage, getParentControl, getPreviousSiblingControl, getStyle, getWarningMsgClass, getWarningMsgStyle, hasModifier, hide, isContainer, isDisplayOnly, isDisplayOnlyIncludingParents, isEventField, isHidden, isInheritMsg, isLocalMsg, isNewLine, isShowing, refresh, removeCssClass, requestFocus, setCssClass, setDisplayOnly, setErrorMsgClass, setErrorMsgStyle, setHidden, setInfoMsgClass, setInfoMsgStyle, setNewLine, setStyle, setWarningMsgClass, setWarningMsgStyle, show
getElementName, getElementType
addErrorMessage, addErrorMessage, addErrorMessage, addErrorMessage, addErrorMessage, addErrorMessageText, addErrorMessageText, addErrorMessageText, addInfoMessage, addInfoMessage, addInfoMessageText, addInfoMessageText, addInfoMessageText, addWarningMessage, addWarningMessage, addWarningMessage, addWarningMessage, addWarningMessage, addWarningMessageText, addWarningMessageText, addWarningMessageText, existErrorMessages, existInfoMessages, existMessages, existWarningMessages
getBackgroundColor, getBackgroundImage, getBackgroundImagePosition, getBackgroundImageRepeat, setBackgroundColor, setBackgroundImage, setBackgroundImagePosition, setBackgroundImageRepeat
getBorderColor, getBorderRadius, getBorderStyle, getBorderWidth, getBottomBorderWidth, getLeftBorderWidth, getRightBorderWidth, getTopBorderWidth, setBorderColor, setBorderRadius, setBorderStyle, setBorderWidth, setBottomBorderWidth, setLeftBorderWidth, setRightBorderWidth, setTopBorderWidth
getAllPadding, getBottomPadding, getLeftPadding, getRightPadding, getTopPadding, setAllPadding, setBottomPadding, setLeftPadding, setRightPadding, setTopPadding
getAllMargin, getBottomMargin, getLeftMargin, getRightMargin, getTopMargin, setAllMargin, setBottomMargin, setLeftMargin, setRightMargin, setTopMargin
getLineHeight, getTextBold, getTextColor, getTextDecoration, getTextFont, getTextItalic, getTextSize, setLineHeight, setTextBold, setTextColor, setTextDecoration, setTextFont, setTextItalic, setTextSize
java.lang.String getHeight()
setHeight(String)
void setHeight(java.lang.String height)
null
removes any existing value.
Examples:
controls.ROW1.height = "50px"; controls.ROW1.setHeight("100px");
java.lang.String getVerticalAlignment()
setVerticalAlignment(String)
void setVerticalAlignment(java.lang.String alignment)
Possible values are: Start - Aligns columns to the start (often the top) of the row. Center - Aligns columns to the center of the row. End - Aligns columns to the end (often the bottom) of the row. Example:
controls.ROW1.verticalAlignment = "Start"; controls.ROW1.setVerticalAlignment("Center");
java.lang.String getHorizontalAlignment()
setHorizontalAlignment(String)
void setHorizontalAlignment(java.lang.String alignment)
Possible values are: Start - Aligns columns to the top (often the left) of the row. Center - Aligns columns to the center of the row. End - Aligns columns to the bottom (often the right) of the row. Around - Aligns columns in the row such that there is an equal gap between each of the columns and the start and finish of the row. Between - Aligns columns in the row such that the gap is between the columns and not between the start and end of the row. Example:
controls.ROW1.horizontalAlignment = "Start"; controls.ROW1.setHorizontalAlignment("Center");
boolean isGutter()
setGutter(boolean)
void setGutter(boolean enabled)
By default guttering is enabled.
Example:
controls.ROW1.gutter = false; controls.ROW1.setGutter(true);
java.lang.String getRowType()
void setRowType(java.lang.String type)
Possible values are: Row - the standard bootstrap form. Form Row - for more compact form layouts.
By default the type is row.