EmptyBorder

Methods
3
Fields
4

Getting one

EmptyBorder.new(…)
BorderFactory.createEmptyBorder(…)

Methods

MethodReturnsDescription
getBorderInsets()Insets(EmptyBorder) -> Insets: A new Insets of the four edges.
getBorderInsets(Component)Insets
isBorderOpaque()booleanfalse: an empty border paints nothing.
new(number, number, number, number)EmptyBorder(number, number, number, number) -> EmptyBorder: A border of these edge widths (a fractional width is truncated, as the prelude's constru…
new(Insets)EmptyBorder

Fields

FieldTypeDescription
topnumberThe top edge, read-only.
leftnumberThe left edge, read-only.
bottomnumberThe bottom edge, read-only.

Returned by

MethodReturnsDescription
BorderFactoryClass.createEmptyBorderEmptyBorderAn EmptyBorder.
EmptyBorderClass.newEmptyBorder(number, number, number, number) -> EmptyBorder: A border of these edge widths (a fractional width is truncated, as the prelude's constru…

Method details

new

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.