home *** CD-ROM | disk | FTP | other *** search
Java Source | 1998-04-21 | 999 b | 53 lines |
- package com.symantec.itools.swing.borders;
-
- import java.awt.Color;
- import java.awt.Insets;
- import com.sun.java.swing.Icon;
-
- public class MatteBorder
- extends com.sun.java.swing.border.MatteBorder
- implements java.io.Serializable
- {
- public MatteBorder()
- {
- super(0,0,0,0,Color.black);
- }
-
- //
- // Properties
- //
-
- public Insets getInsets()
- {
- return new Insets(top,left,bottom,right);
- }
-
- public void setInsets(Insets newInsets)
- {
- top = newInsets.top;
- left = newInsets.left;
- bottom = newInsets.bottom;
- right = newInsets.right;
- }
-
- public Color getColor()
- {
- return color;
- }
-
- public void setColor(Color newColor)
- {
- color = newColor;
- }
-
- public Icon getTileIcon()
- {
- return tileIcon;
- }
-
- public void setTileIcon(Icon newTileIcon)
- {
- tileIcon = newTileIcon;
- }
- }
-