com.ptc.wgmecad
Class OvalSBorder

java.lang.Object
  extended bycom.ptc.wgmecad.OvalSBorder
All Implemented Interfaces:
Border

public class OvalSBorder
extends Object
implements Border


Field Summary
protected  Color m_bottomColor
           
protected  int m_h
           
protected  Color m_topColor
           
protected  int m_w
           
 
Constructor Summary
OvalSBorder()
           
OvalSBorder(int w, int h)
           
OvalSBorder(int w, int h, Color topColor, Color bottomColor)
           
 
Method Summary
 Insets getBorderInsets(Component c)
           
 boolean isBorderOpaque()
           
static void main(String[] args)
           
 void paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_w

protected int m_w

m_h

protected int m_h

m_bottomColor

protected Color m_bottomColor

m_topColor

protected Color m_topColor
Constructor Detail

OvalSBorder

public OvalSBorder()

OvalSBorder

public OvalSBorder(int w,
                   int h)

OvalSBorder

public OvalSBorder(int w,
                   int h,
                   Color topColor,
                   Color bottomColor)
Method Detail

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)