Getting one
EmptyBorder.new(…)
BorderFactory.createEmptyBorder(…)
Fields
| Field | Type | Description |
|---|
top | number | The top edge, read-only. |
|---|
left | number | The left edge, read-only. |
|---|
bottom | number | The bottom edge, read-only. |
|---|
right | number | The right edge, read-only. |
|---|
Method details
getBorderInsets: ((EmptyBorder) -> Insets) & ((EmptyBorder, Component) -> Insets)
(EmptyBorder) -> Insets: A new Insets of the four edges.
(EmptyBorder, Component) -> Insets: A new Insets of the four edges, whatever the component.
isBorderOpaque: (EmptyBorder) -> boolean
false: an empty border paints nothing.
new: ((number, number, number, number) -> EmptyBorder) & ((Insets) -> EmptyBorder)
(number, number, number, number) -> EmptyBorder: A border of these edge widths (a fractional width is truncated, as the prelude's constructors take an int).
(Insets) -> EmptyBorder: A border of borderInsets' four edges, read once: a later change to the Insets does not reach the border.