|
Generated by JDiff |
||||||||
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES |
This file contains all the changes in documentation in the packagejavax.swing.border
as colored differences. Deletions are shownlike 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.
A classClass AbstractBorder, Insets getBorderInsets(Component, Insets)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.
21250802/2802/9800 @author David Kloba
Class AbstractBorder, Rectangle getInteriorRectangle(Component, Border, int, int, int, int)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, int, int, int, int)This method returnsReturns a rectangle using thearguementsarguments minus the insets of the border. This is useful for determining the area that components should draw in that will not intersect the border.
Thisisconveniencea conviencemethodthatcalls the static method.
A class which implements a simple 2 line bevel border.Class BevelBorder, constructor BevelBorder(int, Color, Color, Color, 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.
11 0814 02/2802/9800 @author David Kloba
Creates a bevel border with the specified type highlight shadow colors. @param bevelType the type of bevel for the border @paramhighlightOuterhighlightOuterColor the color to use for the bevel outer highlight @paramhighlightInnerhighlightInnerColor the color to use for the bevel inner highlight @paramshadowOutershadowOuterColor the color to use for the bevel outer shadow @paramshadowInnershadowInnerColor the color to use for the bevel inner shadow
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.
- Use EmptyBorder to create a plain border (this mechanism replaces its predecessor
setInsets
).- Use CompoundBorder to nest multiple border objects creating a single combined border.
- Border instances are designed to be shared. Rather than creating a new border object using one of border classes use the BorderFactory methods which produces a shared instance of the common border types.
- Additional border styles include BevelBorder SoftBevelBorder EtchedBorder LineBorder TitledBorder and MatteBorder.
- To create a new border class subclass AbstractBorder.
13 0916 02/2102/9800 @author David Kloba @author Amy Fowler @see javax.swing.BorderFactory @see EmptyBorder @see 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
A class which provides an empty transparent border which takes up space but does no drawing.Class EmptyBorder, constructor EmptyBorder(Insets)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
Creates an empty border with the specified insets. @paraminsetsborderInsets the insets of the border
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
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
A class which provides a matte-like border of either a solid color or a tiled icon.Class MatteBorder, constructor MatteBorder(int, int, int, int, 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.
14 1018 02/2002/9800 @author Amy Fowler
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
A class which implements a raised or lowered bevel with softened corners.Class SoftBevelBorder, constructor SoftBevelBorder(int, Color, Color, Color, 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.
8 0811 02/2802/9800 @author Amy Fowler @author Chester Rose
Creates a bevel border with the specified type highlight shadow colors. @param bevelType the type of bevel for the border @paramhighlightOuterhighlightOuterColor the color to use for the bevel outer highlight @paramhighlightInnerhighlightInnerColor the color to use for the bevel inner highlight @paramshadowOutershadowOuterColor the color to use for the bevel outer shadow @paramshadowInnershadowInnerColor the color to use for the bevel inner shadow
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:
- "TitledBorder.border"
- "TitledBorder.font"
- "TitledBorder.titleColor"
@see UIManager#setBorder @see UIManager#setFont @see UIManager#setColorWarning: 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