home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Languages Suite
/
ProgLangD.iso
/
VCAFE.3.0A
/
Main.bin
/
BevelBorder.java
< prev
next >
Wrap
Text File
|
1998-04-21
|
1KB
|
67 lines
package com.symantec.itools.swing.borders;
import java.awt.Color;
public class BevelBorder
extends com.sun.java.swing.border.BevelBorder
implements java.io.Serializable
{
public BevelBorder()
{
super(RAISED);
}
//
// Properties
//
public void setBevelType(int newBevelType)
{
//Check for valid types
if (newBevelType != RAISED && newBevelType != LOWERED)
throw new IllegalArgumentException("bevelType");
bevelType = newBevelType;
}
public Color getHighlightOuterColor()
{
return highlightOuter;
}
public void setHighlightOuterColor(Color newHighlightOuterColor)
{
highlightOuter = newHighlightOuterColor;
}
public Color getHighlightInnerColor()
{
return highlightInner;
}
public void setHighlightInnerColor(Color newHighlightInnerColor)
{
highlightInner = newHighlightInnerColor;
}
public Color getShadowInnerColor()
{
return shadowInner;
}
public void setShadowInnerColor(Color newShadowInnerColor)
{
shadowInner = newShadowInnerColor;
}
public Color getShadowOuterColor()
{
return shadowOuter;
}
public void setShadowOuterColor(Color newShadowOuterColor)
{
shadowOuter = newShadowOuterColor;
}
}