Generated by
JDiff

javax.swing.border Documentation Differences

This file contains all the changes in documentation in the package javax.swing.border as colored differences. Deletions are shown like this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.

Class AbstractBorder

A class whichthat implements an empty border with no size. This provides a convenient base class from which other border classes can be easily derived.

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. A future release of Swing will provide support for long term persistence. @version 1.2125 0802/2802/9800 @author David Kloba

Class AbstractBorder, Insets getBorderInsets(Component, Insets)

ReinitializeReinitializes the insets parameter with this Border's current Insets. @param c the component for which this border insets value applies @param insets the object to be reinitialized
Class AbstractBorder, Rectangle getInteriorRectangle(Component, Border, int, int, int, int)

This method returnsReturns a rectangle using the arguementsarguments minus the insets of the border. This is useful for determining the area that components should draw in that will not intersect the border.
Class AbstractBorder, Rectangle getInteriorRectangle(Component, int, int, int, int)

This isconvenience a convience method that calls the static method.

Class BevelBorder

A class which implements a simple 2 line bevel border.

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. A future release of Swing will provide support for long term persistence. @version 1.11 0814 02/2802/9800 @author David Kloba

Class BevelBorder, constructor BevelBorder(int, Color, Color, Color, Color)

Creates a bevel border with the specified type highlight shadow colors. @param bevelType the type of bevel for the border @param highlightOuterhighlightOuterColor the color to use for the bevel outer highlight @param highlightInnerhighlightInnerColor the color to use for the bevel inner highlight @param shadowOutershadowOuterColor the color to use for the bevel outer shadow @param shadowInnershadowInnerColor the color to use for the bevel inner shadow

Class Border

Interface describing an object capable of rendering a border around the edges of a swing component. For examples of using borders see How to Use Borders a section in The Java Tutorial.

In the Swing component set borders supercede Insets as the mechanism for creating a (decorated or plain) area around the edge of a component.

Usage Notes:

@version 1.13 0916 02/2102/9800 @author David Kloba @author Amy Fowler @see javax.swing.BorderFactory @see EmptyBorder @see CompoundBorder

Class CompoundBorder

A composite Border class used to compose two Border objects into a single border by nesting an inside Border object within the insets of an outside Border object. For example this class may be used to add blank margin space to a component with an existing decorative border:

 Border border = comp.getBorder(); Border margin = new EmptyBorder(10 10 10 10); comp.setBorder(new CompoundBorder(border margin)); 

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. A future release of Swing will provide support for long term persistence. @version 1.13 0815 02/2802/9800 @author David Kloba


Class EmptyBorder

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. A future release of Swing will provide support for long term persistence. @version 1.19 0822 02/2802/9800 @author David Kloba

Class EmptyBorder, constructor EmptyBorder(Insets)

Creates an empty border with the specified insets. @param insetsborderInsets the insets of the border

Class 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. A future release of Swing will provide support for long term persistence. @version 1.11 0814 02/2802/9800 @author David Kloba @author Amy Fowler


Class 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. A future release of Swing will provide support for long term persistence. @version 1.15 0819 02/2802/9800 @author David Kloba


Class MatteBorder

A class which provides a matte-like border of either a solid color or a tiled icon.

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. A future release of Swing will provide support for long term persistence. @version 1.14 1018 02/2002/9800 @author Amy Fowler

Class MatteBorder, constructor MatteBorder(int, int, int, int, Color)

Creates a matte border with the specified insets and color. @param top the top inset of the border @param left the left inset of the border @param bottom the bottom inset of the border @param right the right inset of the border @param matteColor the color rendered for the border

Class SoftBevelBorder

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. A future release of Swing will provide support for long term persistence. @version 1.8 0811 02/2802/9800 @author Amy Fowler @author Chester Rose

Class SoftBevelBorder, constructor SoftBevelBorder(int, Color, Color, Color, Color)

Creates a bevel border with the specified type highlight shadow colors. @param bevelType the type of bevel for the border @param highlightOuterhighlightOuterColor the color to use for the bevel outer highlight @param highlightInnerhighlightInnerColor the color to use for the bevel inner highlight @param shadowOutershadowOuterColor the color to use for the bevel outer shadow @param shadowInnershadowInnerColor the color to use for the bevel inner shadow

Class TitledBorder

A class which implements an arbitrary border with the addition of a String title in a specified position and justification.

If the border font or color property values are not specified in the constuctor or by invoking the appropriate set methods the property values will be defined by the current look and feel using the following property names in the Defaults Table:

@see UIManager#setBorder @see UIManager#setFont @see UIManager#setColor

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. A future release of Swing will provide support for long term persistence. @version 1.28 0432 02/2202/9900 @author David Kloba