A class which provides an empty, transparent border which takes up space but does no drawing.
Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.
A class which provides an empty, transparent border which takes up space but does no drawing. Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.
(->empty-border border-insets)
(->empty-border top left bottom right)
Constructor.
Creates an empty border with the specified insets.
top - the top inset of the border - int
left - the left inset of the border - int
bottom - the bottom inset of the border - int
right - the right inset of the border - int
Constructor. Creates an empty border with the specified insets. top - the top inset of the border - `int` left - the left inset of the border - `int` bottom - the bottom inset of the border - `int` right - the right inset of the border - `int`
(border-opaque? this)
Returns whether or not the border is opaque. Returns false by default.
returns: false - boolean
Returns whether or not the border is opaque. Returns false by default. returns: false - `boolean`
(get-border-insets this)
(get-border-insets this c insets)
Reinitialize the insets parameter with this Border's current Insets.
c - the component for which this border insets value applies - java.awt.Component
insets - the object to be reinitialized - java.awt.Insets
returns: the insets object - java.awt.Insets
Reinitialize the insets parameter with this Border's current Insets. c - the component for which this border insets value applies - `java.awt.Component` insets - the object to be reinitialized - `java.awt.Insets` returns: the insets object - `java.awt.Insets`
(paint-border this c g x y width height)
Does no drawing by default.
c - the component for which this border is being painted - java.awt.Component
g - the paint graphics - java.awt.Graphics
x - the x position of the painted border - int
y - the y position of the painted border - int
width - the width of the painted border - int
height - the height of the painted border - int
Does no drawing by default. c - the component for which this border is being painted - `java.awt.Component` g - the paint graphics - `java.awt.Graphics` x - the x position of the painted border - `int` y - the y position of the painted border - `int` width - the width of the painted border - `int` height - the height of the painted border - `int`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close