Liking cljdoc? Tell your friends :D

javax.swing.border.LineBorder

A class which implements a line border of arbitrary thickness and of a single color.

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 implements a line border of arbitrary thickness
and of a single color.

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.
raw docstring

*create-black-line-borderclj

(*create-black-line-border)

Convenience method for getting the Color.black LineBorder of thickness 1.

returns: javax.swing.border.Border

Convenience method for getting the Color.black LineBorder of thickness 1.

returns: `javax.swing.border.Border`
raw docstring

*create-gray-line-borderclj

(*create-gray-line-border)

Convenience method for getting the Color.gray LineBorder of thickness 1.

returns: javax.swing.border.Border

Convenience method for getting the Color.gray LineBorder of thickness 1.

returns: `javax.swing.border.Border`
raw docstring

->line-borderclj

(->line-border color)
(->line-border color thickness)
(->line-border color thickness rounded-corners)

Constructor.

Creates a line border with the specified color, thickness, and corner shape.

color - the color of the border - java.awt.Color thickness - the thickness of the border - int rounded-corners - whether or not border corners should be round - boolean

Constructor.

Creates a line border with the specified color, thickness,
 and corner shape.

color - the color of the border - `java.awt.Color`
thickness - the thickness of the border - `int`
rounded-corners - whether or not border corners should be round - `boolean`
raw docstring

border-opaque?clj

(border-opaque? this)

Returns whether or not the border is opaque.

returns: false - boolean

Returns whether or not the border is opaque.

returns: false - `boolean`
raw docstring

get-border-insetsclj

(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`
raw docstring

get-line-colorclj

(get-line-color this)

Returns the color of the border.

returns: java.awt.Color

Returns the color of the border.

returns: `java.awt.Color`
raw docstring

get-rounded-corners?clj

(get-rounded-corners? this)

Returns whether this border will be drawn with rounded corners.

returns: boolean

Returns whether this border will be drawn with rounded corners.

returns: `boolean`
raw docstring

get-thicknessclj

(get-thickness this)

Returns the thickness of the border.

returns: int

Returns the thickness of the border.

returns: `int`
raw docstring

paint-borderclj

(paint-border this c g x y width height)

Paints the border for the specified component with the specified position and size.

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

Paints the border for the specified component with the
 specified position and size.

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`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close