public interface MarginSupport
Margin is supported through custom borders in WebLaF-decorated components. Be aware that if you specify your own border into those components this option will have no effect.
| Modifier and Type | Field and Description |
|---|---|
static java.awt.Insets |
EMPTY
Empty margin.
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.Insets |
getMargin()
Returns current margin.
|
void |
setMargin(java.awt.Insets margin)
Sets new margin.
|
java.awt.Insets getMargin()
void setMargin(java.awt.Insets margin)
null can be provided to set an empty [0,0,0,0] margin.margin - new margin