Package com.ebasetech.xi.api.controls
Interface MarginStyleProperties
- All Known Subinterfaces:
ArticleControl
,AsideControl
,BasicBlockControl
,BootstrapColumnControl
,BootstrapContainerControl
,BootstrapRowControl
,ButtonColumnControl
,ButtonControl
,ButtonControlProperties
,CanvasControl
,EbaseButtonControlProperties
,FieldControl
,FieldHyperlinkProperties
,FileUploadControl
,FileUploadTextControl
,FinishButtonControl
,FooterControl
,GridControl
,GroupAndPagePanelProperties
,GroupPanelControl
,HeaderControl
,HeadingControl
,HorizontalLineControl
,HorizontalMenuControl
,HyperlinkControl
,ImageControl
,InitiateUploadControl
,ListControl
,ListHyperlinkControl
,ListItemControl
,ListPanelControl
,MainControl
,MenuControl
,MessageStyleProperties
,NavControl
,NextPageButtonControl
,PageNavigationPanel
,PagePanelControl
,PanelControl
,PDFPageStyleProperties
,PrevPageButtonControl
,RepeatingStyleProperties
,RepeatingTableControl
,RepeatingTableListControl
,RepeatingTableListRowControl
,RepeatingTableRowControl
,RestoreButtonControl
,SaveButtonControl
,SectionControl
,SpacerControl
,TableControlStyleProperties
,TabSetControl
,TextControl
,TitlePanelControl
,VerticalMenuControl
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.String
getAllMargin()
Singlemargin
size value used for top, bottom, left and right margin.java.lang.String
getBottomMargin()
Bottommargin
size value.java.lang.String
getLeftMargin()
Leftmargin
size value.java.lang.String
getRightMargin()
Rightmargin
size value.java.lang.String
getTopMargin()
Topmargin
size value.void
setAllMargin(java.lang.String allMargin)
Sets themargin
size value used for top, bottom, left and right margin.void
setBottomMargin(java.lang.String bottomMargin)
Sets the bottommargin
size value.void
setLeftMargin(java.lang.String leftMargin)
Sets the leftmargin
size value.void
setRightMargin(java.lang.String rightMargin)
Sets the rightmargin
size value.void
setTopMargin(java.lang.String topMargin)
Sets the topmargin
size value.
-
Method Details
-
getAllMargin
java.lang.String getAllMargin()Singlemargin
size value used for top, bottom, left and right margin. This property can be overridden by the more specifictopMargin
,bottomMargin
,leftMargin
andrightMargin
properties.- Since:
- V4.4
- See Also:
setAllMargin(String)
-
setAllMargin
void setAllMargin(java.lang.String allMargin)Sets themargin
size value used for top, bottom, left and right margin. This property can be overridden by the more specifictopMargin
,bottomMargin
,leftMargin
andrightMargin
properties. Any size value that can be specified for the CSSmargin
property can be used when setting a value. Setting this property tonull
removes any existing value.Examples:
controls.PANEL1.allMargin = "5px"; controls.PANEL1.setAllMargin("2em");
- Since:
- V4.4
-
getTopMargin
java.lang.String getTopMargin()Topmargin
size value. This property overrides any value set with theallMargin
property.- Since:
- V4.4
- See Also:
setTopMargin(String)
-
setTopMargin
void setTopMargin(java.lang.String topMargin)Sets the topmargin
size value. This overrides any value set with theallMargin
property. Any size value that can be specified for the CSSmargin
property can be used when setting a value. Setting this property tonull
removes any existing value.Examples:
controls.PANEL1.topMargin = "5px"; controls.PANEL1.setTopMargin("2em");
- Since:
- V4.4
-
getRightMargin
java.lang.String getRightMargin()Rightmargin
size value. This property overrides any value set with theallMargin
property.- Since:
- V4.4
- See Also:
setRightMargin(String)
-
setRightMargin
void setRightMargin(java.lang.String rightMargin)Sets the rightmargin
size value. This overrides any value set with theallMargin
property. Any size value that can be specified for the CSSmargin
property can be used when setting a value. Setting this property tonull
removes any existing value.Examples:
controls.PANEL1.rightMargin = "5px"; controls.PANEL1.setRightMargin("2em");
- Since:
- V4.4
-
getBottomMargin
java.lang.String getBottomMargin()Bottommargin
size value. This property overrides any value set with theallMargin
property.- Since:
- V4.4
- See Also:
setBottomMargin(String)
-
setBottomMargin
void setBottomMargin(java.lang.String bottomMargin)Sets the bottommargin
size value. This overrides any value set with theallMargin
property. Any size value that can be specified for the CSSmargin
property can be used when setting a value. Setting this property tonull
removes any existing value.Examples:
controls.PANEL1.bottomMargin = "5px"; controls.PANEL1.setBottomMargin("2em");
- Since:
- V4.4
-
getLeftMargin
java.lang.String getLeftMargin()Leftmargin
size value. This property overrides any value set with theallMargin
property.- Since:
- V4.4
- See Also:
setLeftMargin(String)
-
setLeftMargin
void setLeftMargin(java.lang.String leftMargin)Sets the leftmargin
size value. This overrides any value set with theallMargin
property. Any size value that can be specified for the CSSmargin
property can be used when setting a value. Setting this property tonull
removes any existing value.Examples:
controls.PANEL1.leftMargin = "5px"; controls.PANEL1.setLeftMargin("2em");
- Since:
- V4.4
-