Interface HasMargin

All Known Subinterfaces:
BoxLayout, ButtonsPanel, DialogWindow, FlowBoxLayout, Fragment, FragmentImplementation, Frame, GridLayout, HBoxLayout, RootWindow, ScrollBoxLayout, TabWindow, VBoxLayout, Window, WindowImplementation
All Known Implementing Classes:
AbstractBox, ButtonsPanelImpl, DialogWindowImpl, DynamicAttributesPanel, FlowBoxLayoutImpl, FragmentImpl, GridLayoutImpl, HBoxLayoutImpl, RootWindowImpl, ScrollBoxLayoutImpl, TabWindowImpl, VBoxLayoutImpl, WindowImpl

public interface HasMargin
A class that implements this interface can have indentation between the outer borders and the container content.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default void
    setMargin(boolean enable)
     
    default void
    setMargin(boolean topEnable, boolean rightEnable, boolean bottomEnable, boolean leftEnable)
     
    void
    setMargin(MarginInfo marginInfo)
     
  • Method Details

    • setMargin

      default void setMargin(boolean enable)
    • setMargin

      default void setMargin(boolean topEnable, boolean rightEnable, boolean bottomEnable, boolean leftEnable)
    • setMargin

      @StudioProperty(name="margin", type=MARGIN, defaultValue="false") void setMargin(MarginInfo marginInfo)
    • getMargin

      MarginInfo getMargin()