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 that 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 releaseAs of Swing will provide1.4 support for long term persistencestorage of all JavaBeansTM has been added to the java.beans package. Please see java.beans.XMLEncoder @version 1.26 0731 12/2603/0001 @author David Kloba

Class AbstractBorder, Insets getBorderInsets(Component)

This default implementation returns a new Insets instance where the valuetop left bottom and ofright getBorderMarginsfields are set to 0. @param c the component for which this border insets value applies @return the new Insets object initialized to 0
Class AbstractBorder, Insets getBorderInsets(Component, Insets)

Reinitializes 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 @return the insets object
Class AbstractBorder, Rectangle getInteriorRectangle(Component, Border, int, int, int, int)

Returns a rectangle using the arguments minus the insets of the border. This is useful for determining the area that components should draw in that will not intersect the border. @param c the component for which this border is being computed @param b the Border object @param x the x position of the border @param y the y position of the border @param width the width of the border @param height the height of the border @return a Rectangle containing the interior coordinates
Class AbstractBorder, Rectangle getInteriorRectangle(Component, int, int, int, int)

This convenience method calls the static method. @param c the component for which this border is being computed @param x the x position of the border @param y the y position of the border @param width the width of the border @param height the height of the border @return a Rectangle containing the interior coordinates
Class AbstractBorder, boolean isBorderOpaque()

This default implementation returns false. @return false
Class AbstractBorder, void paintBorder(Component, Graphics, int, int, int, int)

This default implementation does no painting. @param c the component for which this border is being painted @param g the paint graphics @param x the x position of the painted border @param y the y position of the painted border @param width the width of the painted border @param height the height of the painted border

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 releaseAs of Swing will provide1.4 support for long term persistencestorage of all JavaBeansTM has been added to the java.beans package. Please see java.beans.XMLEncoder @version 1.14 0217 12/0203/0001 @author David Kloba


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.16 0217 12/0203/0001 @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 releaseAs of Swing will provide1.4 support for long term persistencestorage of all JavaBeansTM has been added to the java.beans package. Please see java.beans.XMLEncoder @version 1.15 0218 12/0203/0001 @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 releaseAs of Swing will provide1.4 support for long term persistencestorage of all JavaBeansTM has been added to the java.beans package. Please see java.beans.XMLEncoder @version 1.22 0224 12/0203/0001 @author David Kloba


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 releaseAs of Swing will provide1.4 support for long term persistencestorage of all JavaBeansTM has been added to the java.beans package. Please see java.beans.XMLEncoder @version 1.14 0216 12/0203/0001 @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 releaseAs of Swing will provide1.4 support for long term persistencestorage of all JavaBeansTM has been added to the java.beans package. Please see java.beans.XMLEncoder @version 1.19 0221 12/0203/0001 @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 releaseAs of Swing will provide1.4 support for long term persistencestorage of all JavaBeansTM has been added to the java.beans package. Please see java.beans.XMLEncoder @version 1.18 0220 12/0203/0001 @author Amy Fowler


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 releaseAs of Swing will provide1.4 support for long term persistencestorage of all JavaBeansTM has been added to the java.beans package. Please see java.beans.XMLEncoder @version 1.11 0214 12/0203/0001 @author Amy Fowler @author Chester Rose


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:

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 futureAs release of Swing will provide1.4 support for long term persistencestorage of all JavaBeansTM has been added to the java.beans package. Please see java.beans.XMLEncoder @version 1.32 0237 12/0203/0001 @author David Kloba @author Amy Fowler