home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Languages Suite
/
ProgLangD.iso
/
VCAFE.3.0A
/
Main.bin
/
MatteBorder.java
< prev
next >
Wrap
Text File
|
1998-04-21
|
999b
|
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;
}
}