org.stringer.ui.statusbar
Class ThreeDBorder
java.lang.Object
|
+--org.stringer.ui.statusbar.ThreeDBorder
- All Implemented Interfaces:
- javax.swing.border.Border
- public class ThreeDBorder
- extends java.lang.Object
- implements javax.swing.border.Border
ThreeDBorder.java
- Author:
- unknown
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RAISED
public static final int RAISED
- See Also:
- Constant Field Values
LOWERED
public static final int LOWERED
- See Also:
- Constant Field Values
type
protected int type
thickness
protected int thickness
highlight
protected java.awt.Color highlight
shadow
protected java.awt.Color shadow
ThreeDBorder
public ThreeDBorder()
ThreeDBorder
public ThreeDBorder(int type)
ThreeDBorder
public ThreeDBorder(int type,
int thickness)
ThreeDBorder
public ThreeDBorder(int type,
int thickness,
java.awt.Color highlight,
java.awt.Color shadow)
isBorderOpaque
public boolean isBorderOpaque()
- Specified by:
isBorderOpaque in interface javax.swing.border.Border
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component component)
- Specified by:
getBorderInsets in interface javax.swing.border.Border
getHightlightColor
public java.awt.Color getHightlightColor(java.awt.Component c)
getShadowColor
public java.awt.Color getShadowColor(java.awt.Component c)
paintBorder
public void paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int w,
int h)
- Specified by:
paintBorder in interface javax.swing.border.Border
Copyright © R. Kevin Cole. All Rights Reserved.