1 15 16 package swingwtx.swing.border; 17 18 import swingwt.awt.*; 19 20 public class BevelBorder extends AbstractBorder implements Border { 21 22 public static final int RAISED = 0; 23 public static final int LOWERED = 1; 24 protected int bevelType = RAISED; 25 26 protected BevelBorder() {} 27 public BevelBorder(int bevelType) { this.bevelType = bevelType; } 28 public BevelBorder(int bevelType, Color highlight, Color shadow) { this(bevelType); } 29 public BevelBorder(int bevelType, Color highlightOuterColor, 30 Color highlightInnerColor, Color shadowOuterColor, 31 Color shadowInnerColor) { this(bevelType); } 32 } 33 | Popular Tags |