Interface PaddingStyleProperties

All Known Subinterfaces:
AddRowButtonProperties, ArticleControl, AsideControl, BasicBlockControl, BootstrapColumnControl, BootstrapContainerControl, BootstrapRowControl, ButtonColumnControl, ButtonColumnProperties, ButtonControl, ButtonControlProperties, CanvasControl, CellStyleProperties, ColumnLayoutCell, ColumnStyleProperties, EbaseButtonControlProperties, FieldColumnControl, FieldControl, FieldHyperlinkProperties, FileUploadControl, FileUploadTextControl, FinishButtonControl, FooterControl, FormHeaderProperties, GridCellControl, GroupAndPageTextProperties, HeaderControl, HeadingControl, HorizontalMenuControl, HyperlinkControl, ImageColumnControl, InitiateUploadControl, ListControl, ListHyperlinkControl, ListItemControl, ListPanelControl, MainControl, MenuControl, MessageStyleProperties, NavControl, NavigationBarStyleProperties, NavigationRowProperties, NextPageButtonControl, PageNavigationButtonStyle, PanelControl, PDFPageStyleProperties, PrevPageButtonControl, RepeatingStyleProperties, RepeatingTableControl, RepeatingTableListControl, RepeatingTableListRowControl, RepeatingTableRowControl, RestoreButtonControl, SaveButtonControl, SectionControl, TabAllStateProperties, TableAddRowCellProperties, TableCellStyleProperties, TableColumnHeaderProperties, TableColumnValuePatternProperties, TableControlStyleProperties, TableControlTextProperties, TabSetContentPanelProperties, TextControl, TitleBarProperties, VerticalMenuControl

public interface PaddingStyleProperties
Padding represents the space between an HTML element's content and its border. The padding space is displayed using the element's background color.

This is in contrast to margin which represents space outside an element's border, and is therefore displayed with the background color of it's parent element.

Further documentation.

Since:
V4.4
  • Method Details

    • getAllPadding

      java.lang.String getAllPadding()
      Single padding size value used for top, bottom, left and right padding. This property can be overridden by the more specific topPadding, bottomPadding, leftPadding and rightPadding properties.
      Since:
      V4.4
      See Also:
      setAllPadding(String)
    • setAllPadding

      void setAllPadding​(java.lang.String allPadding)
      Sets the padding size value used for top, bottom, left and right padding. This property can be overridden by the more specific topPadding, bottomPadding, leftPadding and rightPadding properties. Any size value that can be specified for the CSS padding property can be used when setting a value. Setting this property to null removes any existing value.

      Examples:

       controls.PANEL1.allPadding = "5px";
       controls.PANEL1.setAllPadding("2em");
       
      Since:
      V4.4
    • getTopPadding

      java.lang.String getTopPadding()
      Top padding size value. This property overrides any value set with the allPadding property.
      Since:
      V4.4
      See Also:
      setTopPadding(String)
    • setTopPadding

      void setTopPadding​(java.lang.String topPadding)
      Sets the top padding size value. This overrides any value set with the allPadding property. Any size value that can be specified for the CSS padding property can be used when setting a value. Setting this property to null removes any existing value.

      Examples:

       controls.PANEL1.topPadding = "5px";
       controls.PANEL1.setTopPadding("2em");
       
      Since:
      V4.4
    • getRightPadding

      java.lang.String getRightPadding()
      Right padding size value. This property overrides any value set with the allPadding property.
      Since:
      V4.4
      See Also:
      setRightPadding(String)
    • setRightPadding

      void setRightPadding​(java.lang.String rightPadding)
      Sets the right padding size value. This overrides any value set with the allPadding property. Any size value that can be specified for the CSS padding property can be used when setting a value. Setting this property to null removes any existing value.

      Examples:

       controls.PANEL1.rightPadding = "5px";
       controls.PANEL1.setRightPadding("2em");
       
      Since:
      V4.4
    • getBottomPadding

      java.lang.String getBottomPadding()
      Bottom padding size value. This property overrides any value set with the allPadding property.
      Since:
      V4.4
      See Also:
      setBottomPadding(String)
    • setBottomPadding

      void setBottomPadding​(java.lang.String bottomPadding)
      Sets the bottom padding size value. This overrides any value set with the allPadding property. Any size value that can be specified for the CSS padding property can be used when setting a value. Setting this property to null removes any existing value.

      Examples:

       controls.PANEL1.bottomPadding = "5px";
       controls.PANEL1.setBottomPadding("2em");
       
      Since:
      V4.4
    • getLeftPadding

      java.lang.String getLeftPadding()
      Left padding size value. This property overrides any value set with the allPadding property.
      Since:
      V4.4
      See Also:
      setLeftPadding(String)
    • setLeftPadding

      void setLeftPadding​(java.lang.String leftPadding)
      Sets the left padding size value. This overrides any value set with the allPadding property. Any size value that can be specified for the CSS padding property can be used when setting a value. Setting this property to null removes any existing value.

      Examples:

       controls.PANEL1.leftPadding = "5px";
       controls.PANEL1.setLeftPadding("2em");
       
      Since:
      V4.4