home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / VCAFE.3.0A / Main.bin / LineBorder.java < prev    next >
Text File  |  1998-04-21  |  800b  |  43 lines

  1. package com.symantec.itools.swing.borders;
  2.  
  3. import java.awt.Color;
  4.  
  5. public class LineBorder
  6.     extends com.sun.java.swing.border.LineBorder
  7.     implements java.io.Serializable
  8. {
  9.     public LineBorder()
  10.     {
  11.         super(Color.black);
  12.     }
  13.     
  14.     //
  15.     // Properties
  16.     //
  17.     
  18.     public void setThickness(int newThickness)
  19.     {
  20.         thickness = newThickness;
  21.     }
  22.     
  23.     public Color getLineColor()
  24.     {
  25.         return lineColor;
  26.     }
  27.     
  28.     public void setLineColor(Color newLineColor)
  29.     {
  30.         lineColor = newLineColor;
  31.     }
  32.     
  33.     public boolean getRoundedCorners()
  34.     {
  35.         return roundedCorners;
  36.     }
  37.     
  38.     public void setRoundedCorners(boolean newRoundedCorners)
  39.     {
  40.         roundedCorners = newRoundedCorners;
  41.     }
  42. }
  43.