Package com.ebasetech.xi.api.controls
Interface MarginStyleProperties
- All Known Subinterfaces:
ArticleControl,AsideControl,AudioControl,BasicBlockControl,BootstrapColumnControl,BootstrapContainerControl,BootstrapRowControl,ButtonColumnControl,ButtonControl,ButtonControlProperties,CanvasControl,EbaseButtonControlProperties,FieldControl,FieldHyperlinkProperties,FileUploadControl,FileUploadTextControl,FinishButtonControl,FooterControl,GridControl,GroupAndPagePanelProperties,GroupPanelControl,HeaderControl,HeadingControl,HorizontalLineControl,HorizontalMenuControl,HyperlinkControl,IFrameControl,ImageControl,InitiateUploadControl,ListControl,ListHyperlinkControl,ListItemControl,ListPanelControl,MainControl,MenuControl,MessageStyleProperties,MultimediaControlProperties,NavControl,NextPageButtonControl,PageNavigationPanel,PagePanelControl,PanelControl,PDFPageStyleProperties,PrevPageButtonControl,RepeatingStyleProperties,RepeatingTableControl,RepeatingTableListControl,RepeatingTableListRowControl,RepeatingTableRowControl,RestoreButtonControl,SaveButtonControl,SectionControl,SpacerControl,TableControlStyleProperties,TabSetControl,TextControl,TitlePanelControl,VerticalMenuControl,VideoControl
public interface MarginStyleProperties
Margin represents space outside an element's border, and is displayed with the background color of it's parent element.
This is in contrast to padding which represents the space between an HTML element's content and its border.
The padding space is displayed using the element's background color.
- Since:
- V4.4
-
Method Summary
Modifier and Type Method Description java.lang.StringgetAllMargin()Singlemarginsize value used for top, bottom, left and right margin.java.lang.StringgetBottomMargin()Bottommarginsize value.java.lang.StringgetLeftMargin()Leftmarginsize value.java.lang.StringgetRightMargin()Rightmarginsize value.java.lang.StringgetTopMargin()Topmarginsize value.voidsetAllMargin(java.lang.String allMargin)Sets themarginsize value used for top, bottom, left and right margin.voidsetBottomMargin(java.lang.String bottomMargin)Sets the bottommarginsize value.voidsetLeftMargin(java.lang.String leftMargin)Sets the leftmarginsize value.voidsetRightMargin(java.lang.String rightMargin)Sets the rightmarginsize value.voidsetTopMargin(java.lang.String topMargin)Sets the topmarginsize value.
-
Method Details
-
getAllMargin
java.lang.String getAllMargin()Singlemarginsize value used for top, bottom, left and right margin. This property can be overridden by the more specifictopMargin,bottomMargin,leftMarginandrightMarginproperties.- Since:
- V4.4
- See Also:
setAllMargin(String)
-
setAllMargin
void setAllMargin(java.lang.String allMargin)Sets themarginsize value used for top, bottom, left and right margin. This property can be overridden by the more specifictopMargin,bottomMargin,leftMarginandrightMarginproperties. Any size value that can be specified for the CSSmarginproperty can be used when setting a value. Setting this property tonullremoves any existing value.Examples:
controls.PANEL1.allMargin = "5px"; controls.PANEL1.setAllMargin("2em");- Since:
- V4.4
-
getTopMargin
java.lang.String getTopMargin()Topmarginsize value. This property overrides any value set with theallMarginproperty.- Since:
- V4.4
- See Also:
setTopMargin(String)
-
setTopMargin
void setTopMargin(java.lang.String topMargin)Sets the topmarginsize value. This overrides any value set with theallMarginproperty. Any size value that can be specified for the CSSmarginproperty can be used when setting a value. Setting this property tonullremoves any existing value.Examples:
controls.PANEL1.topMargin = "5px"; controls.PANEL1.setTopMargin("2em");- Since:
- V4.4
-
getRightMargin
java.lang.String getRightMargin()Rightmarginsize value. This property overrides any value set with theallMarginproperty.- Since:
- V4.4
- See Also:
setRightMargin(String)
-
setRightMargin
void setRightMargin(java.lang.String rightMargin)Sets the rightmarginsize value. This overrides any value set with theallMarginproperty. Any size value that can be specified for the CSSmarginproperty can be used when setting a value. Setting this property tonullremoves any existing value.Examples:
controls.PANEL1.rightMargin = "5px"; controls.PANEL1.setRightMargin("2em");- Since:
- V4.4
-
getBottomMargin
java.lang.String getBottomMargin()Bottommarginsize value. This property overrides any value set with theallMarginproperty.- Since:
- V4.4
- See Also:
setBottomMargin(String)
-
setBottomMargin
void setBottomMargin(java.lang.String bottomMargin)Sets the bottommarginsize value. This overrides any value set with theallMarginproperty. Any size value that can be specified for the CSSmarginproperty can be used when setting a value. Setting this property tonullremoves any existing value.Examples:
controls.PANEL1.bottomMargin = "5px"; controls.PANEL1.setBottomMargin("2em");- Since:
- V4.4
-
getLeftMargin
java.lang.String getLeftMargin()Leftmarginsize value. This property overrides any value set with theallMarginproperty.- Since:
- V4.4
- See Also:
setLeftMargin(String)
-
setLeftMargin
void setLeftMargin(java.lang.String leftMargin)Sets the leftmarginsize value. This overrides any value set with theallMarginproperty. Any size value that can be specified for the CSSmarginproperty can be used when setting a value. Setting this property tonullremoves any existing value.Examples:
controls.PANEL1.leftMargin = "5px"; controls.PANEL1.setLeftMargin("2em");- Since:
- V4.4
-