|
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 class that implements an empty border with no size. This provides a convenient base class from which other border classes can be easily derived.Class AbstractBorder, Insets getBorderInsets(Component)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 ofSwing will provide1.4 support for long termpersistencestorage of all JavaBeansTM has been added to thejava.beans
package. Please see java.beans.XMLEncoder @version 1.26 0731 12/2603/0001 @author David Kloba
This default implementation returns a newClass AbstractBorder, Insets getBorderInsets(Component, Insets)Insets
instance where thevaluetop
left
bottom
andofright
getBorderMarginsfields are set to0
. @param c the component for which this border insets value applies @return the newInsets
object initialized to 0
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 theClass AbstractBorder, Rectangle getInteriorRectangle(Component, int, int, int, int)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 aRectangle
containing the interior coordinates
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 falseClass 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
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 ofSwing will provide1.4 support for long termpersistencestorage of all JavaBeansTM has been added to thejava.beans
package. Please see java.beans.XMLEncoder @version 1.14 0217 12/0203/0001 @author David Kloba
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.
16 0217 12/0203/0001 @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 releaseAs ofSwing will provide1.4 support for long termpersistencestorage of all JavaBeansTM has been added to thejava.beans
package. Please see java.beans.XMLEncoder @version 1.15 0218 12/0203/0001 @author David Kloba
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 ofSwing will provide1.4 support for long termpersistencestorage of all JavaBeansTM has been added to thejava.beans
package. Please see java.beans.XMLEncoder @version 1.22 0224 12/0203/0001 @author David Kloba
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 ofSwing will provide1.4 support for long termpersistencestorage of all JavaBeansTM has been added to thejava.beans
package. Please see java.beans.XMLEncoder @version 1.14 0216 12/0203/0001 @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 releaseAs ofSwing will provide1.4 support for long termpersistencestorage of all JavaBeansTM has been added to thejava.beans
package. Please see java.beans.XMLEncoder @version 1.19 0221 12/0203/0001 @author David Kloba
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 ofSwing will provide1.4 support for long termpersistencestorage of all JavaBeansTM has been added to thejava.beans
package. Please see java.beans.XMLEncoder @version 1.18 0220 12/0203/0001 @author Amy Fowler
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 ofSwing will provide1.4 support for long termpersistencestorage of all JavaBeansTM has been added to thejava.beans
package. Please see java.beans.XMLEncoder @version 1.11 0214 12/0203/0001 @author Amy Fowler @author Chester Rose
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"
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 futureAsreleaseofSwing will provide1.4 support for long termpersistencestorage of all JavaBeansTM has been added to thejava.beans
package. Please see java.beans.XMLEncoder @version 1.32 0237 12/0203/0001 @author David Kloba @author Amy Fowler