/[classpath]/classpath/javax/swing/border/TitledBorder.java
ViewVC logotype

Diff of /classpath/javax/swing/border/TitledBorder.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by brawer, Thu Jun 12 02:11:46 2003 UTC revision 1.5 by brawer, Thu Jun 12 12:19:50 2003 UTC
# Line 647  public class TitledBorder Line 647  public class TitledBorder
647        
648        
649    /**    /**
650     * Determines the insets of this border.     * Measures the width of this border.
651     *     *
652     * @param c the component whose border is to be measured.     * @param c the component whose border is to be measured.
653     * @return the insets of this border.     *
654       * @return an Insets object whose <code>left</code>, <code>right</code>,
655       *         <code>top</code> and <code>bottom</code> fields indicate the
656       *         width of the border at the respective edge.
657       *
658       * @see #getBorderInsets(java.awt.Component, java.awt.Insets)
659     */     */
660    public Insets getBorderInsets(Component c)    public Insets getBorderInsets(Component c)
661    {    {
# Line 659  public class TitledBorder Line 664  public class TitledBorder
664        
665    
666    /**    /**
667     * Determines the insets of this border, storing the result     * Measures the width of this border, storing the results into a
668     * into the given Insets object.     * pre-existing Insets object.
669       *
670       * @param insets an Insets object for holding the result values.
671       *        After invoking this method, the <code>left</code>,
672       *        <code>right</code>, <code>top</code> and
673       *        <code>bottom</code> fields indicate the width of the
674       *        border at the respective edge.
675     *     *
676     * @param insets an Insets object for holding the insets of this     * @return the same object that was passed for <code>insets</code>.
    *        border.  
677     *     *
678     * @return the same object that was passed for <code>insets</code>,     * @see #getBorderInsets()
    *         but with changed field values.  
679     */     */
680    public Insets getBorderInsets(Component c, Insets insets)    public Insets getBorderInsets(Component c, Insets insets)
681    {    {

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26