A class which implements a raised or lowered bevel with softened corners.
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 raised or lowered bevel with softened corners. 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.
(->soft-bevel-border bevel-type)
(->soft-bevel-border bevel-type highlight shadow)
(->soft-bevel-border bevel-type
highlight-outer-color
highlight-inner-color
shadow-outer-color
shadow-inner-color)
Constructor.
Creates a bevel border with the specified type, highlight shadow colors.
bevel-type - the type of bevel for the border - int
highlight-outer-color - the color to use for the bevel outer highlight - java.awt.Color
highlight-inner-color - the color to use for the bevel inner highlight - java.awt.Color
shadow-outer-color - the color to use for the bevel outer shadow - java.awt.Color
shadow-inner-color - the color to use for the bevel inner shadow - java.awt.Color
Constructor. Creates a bevel border with the specified type, highlight shadow colors. bevel-type - the type of bevel for the border - `int` highlight-outer-color - the color to use for the bevel outer highlight - `java.awt.Color` highlight-inner-color - the color to use for the bevel inner highlight - `java.awt.Color` shadow-outer-color - the color to use for the bevel outer shadow - `java.awt.Color` shadow-inner-color - the color to use for the bevel inner shadow - `java.awt.Color`
(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`
(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)
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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close