org.xnap.gui.component
Class XNapEtchedBorder
java.lang.Object
javax.swing.border.AbstractBorder
org.xnap.gui.component.XNapEtchedBorder
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.border.Border
public class XNapEtchedBorder
- extends javax.swing.border.AbstractBorder
- See Also:
- Serialized Form
Methods inherited from class javax.swing.border.AbstractBorder |
getInteriorRectangle, getInteriorRectangle |
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
etchType
protected int etchType
XNapEtchedBorder
public XNapEtchedBorder(int etchType)
XNapEtchedBorder
public XNapEtchedBorder()
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
- Overrides:
paintBorder
in class javax.swing.border.AbstractBorder
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c)
- Specified by:
getBorderInsets
in interface javax.swing.border.Border
- Overrides:
getBorderInsets
in class javax.swing.border.AbstractBorder
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c,
java.awt.Insets insets)
- Overrides:
getBorderInsets
in class javax.swing.border.AbstractBorder
isBorderOpaque
public boolean isBorderOpaque()
- Returns true.
- Specified by:
isBorderOpaque
in interface javax.swing.border.Border
- Overrides:
isBorderOpaque
in class javax.swing.border.AbstractBorder
getEtchType
public int getEtchType()
- Returns the etch type.
Copyright © 2001-2005 XNap Team. All Rights Reserved.