com.ptc.wgmecad
Class OvalSBorder
java.lang.Object
com.ptc.wgmecad.OvalSBorder
- All Implemented Interfaces:
- Border
- public class OvalSBorder
- extends Object
- implements Border
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_w
protected int m_w
m_h
protected int m_h
m_bottomColor
protected Color m_bottomColor
m_topColor
protected Color m_topColor
OvalSBorder
public OvalSBorder()
OvalSBorder
public OvalSBorder(int w,
int h)
OvalSBorder
public OvalSBorder(int w,
int h,
Color topColor,
Color bottomColor)
getBorderInsets
public Insets getBorderInsets(Component c)
- Specified by:
getBorderInsets
in interface Border
isBorderOpaque
public boolean isBorderOpaque()
- Specified by:
isBorderOpaque
in interface Border
paintBorder
public void paintBorder(Component c,
Graphics g,
int x,
int y,
int w,
int h)
- Specified by:
paintBorder
in interface Border
main
public static void main(String[] args)