public static interface Component.OuterMargin
Modifier and Type | Method and Description |
---|---|
MarginInfo |
getOuterMargin() |
default void |
setOuterMargin(boolean enable)
Enables or disables margins on all sides simultaneously.
|
default void |
setOuterMargin(boolean top,
boolean right,
boolean bottom,
boolean left)
Sets margins on all sides individually.
|
void |
setOuterMargin(MarginInfo marginInfo)
Sets margins on all sides according to the passed
MarginInfo object. |
default void setOuterMargin(boolean enable)
enable
- if true, enables margins on all sides. If false, disables margins on all sides.default void setOuterMargin(boolean top, boolean right, boolean bottom, boolean left)
top
- enable or disable top marginright
- enable or disable right marginbottom
- enable or disable bottom marginleft
- enable or disable left marginvoid setOuterMargin(MarginInfo marginInfo)
MarginInfo
object.marginInfo
- the MarginInfo
object that describes the
margin settings for each side of a Component.MarginInfo getOuterMargin()
MarginInfo
object that describes the
margin settings for each side of a Component.