Liking cljdoc? Tell your friends :D

javax.swing.border.EtchedBorder

A class which implements a simple etched border which can either be etched-in or etched-out. If no highlight/shadow colors are initialized when the border is created, then these colors will be dynamically derived from the background color of the component argument passed into the paintBorder() method.

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 simple etched border which can
either be etched-in or etched-out.  If no highlight/shadow
colors are initialized when the border is created, then
these colors will be dynamically derived from the background
color of the component argument passed into the paintBorder()
method.

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

*-loweredclj

Static Constant.

Lowered etched type.

type: int

Static Constant.

Lowered etched type.

type: int
raw docstring

*-raisedclj

Static Constant.

Raised etched type.

type: int

Static Constant.

Raised etched type.

type: int
raw docstring

->etched-borderclj

(->etched-border)
(->etched-border etch-type)
(->etched-border highlight shadow)
(->etched-border etch-type highlight shadow)

Constructor.

Creates an etched border with the specified etch-type, highlight and shadow colors.

etch-type - the type of etch to be drawn by the border - int highlight - the color to use for the etched highlight - java.awt.Color shadow - the color to use for the etched shadow - java.awt.Color

Constructor.

Creates an etched border with the specified etch-type,
 highlight and shadow colors.

etch-type - the type of etch to be drawn by the border - `int`
highlight - the color to use for the etched highlight - `java.awt.Color`
shadow - the color to use for the etched shadow - `java.awt.Color`
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-etch-typeclj

(get-etch-type this)

Returns which etch-type is set on the etched border.

returns: int

Returns which etch-type is set on the etched border.

returns: `int`
raw docstring

get-highlight-colorclj

(get-highlight-color this)
(get-highlight-color this c)

Returns the highlight color of the etched border when rendered on the specified component. If no highlight color was specified at instantiation, the highlight color is derived from the specified component's background color.

c - the component for which the highlight may be derived - java.awt.Component

returns: java.awt.Color

Returns the highlight color of the etched border
 when rendered on the specified component.  If no highlight
 color was specified at instantiation, the highlight color
 is derived from the specified component's background color.

c - the component for which the highlight may be derived - `java.awt.Component`

returns: `java.awt.Color`
raw docstring

get-shadow-colorclj

(get-shadow-color this)
(get-shadow-color this c)

Returns the shadow color of the etched border when rendered on the specified component. If no shadow color was specified at instantiation, the shadow color is derived from the specified component's background color.

c - the component for which the shadow may be derived - java.awt.Component

returns: java.awt.Color

Returns the shadow color of the etched border
 when rendered on the specified component.  If no shadow
 color was specified at instantiation, the shadow color
 is derived from the specified component's background color.

c - the component for which the shadow may be derived - `java.awt.Component`

returns: `java.awt.Color`
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