java.lang.Object
javax.swing.border.AbstractBorder
com.memoire.bu.BuLightBorder
- All Implemented Interfaces:
- javax.swing.border.Border, java.io.Serializable
- public class BuLightBorder
- extends javax.swing.border.AbstractBorder
A simple bevel border of thickness 1.
|
Method Summary |
java.awt.Insets |
getBorderInsets(java.awt.Component _c)
Returns the insets required for drawing this border around the specified
component. |
boolean |
isBorderOpaque()
Determines whether or not this border is opaque. |
void |
paintBorder(java.awt.Component _c,
java.awt.Graphics _g,
int _x,
int _y,
int _w,
int _h)
Performs nothing, because the default implementation provided by
this class is an invisible, zero-width border. |
protected void |
paintLoweredBevel(java.awt.Component _c,
java.awt.Graphics _g,
int _x,
int _y,
int _w,
int _h)
|
protected void |
paintRaisedBevel(java.awt.Component _c,
java.awt.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 |
RAISED
public static final int RAISED
- See Also:
- Constant Field Values
LOWERED
public static final int LOWERED
- See Also:
- Constant Field Values
margin_
protected int margin_
type_
protected int type_
BuLightBorder
public BuLightBorder()
BuLightBorder
public BuLightBorder(int _type,
int _margin)
paintBorder
public void paintBorder(java.awt.Component _c,
java.awt.Graphics _g,
int _x,
int _y,
int _w,
int _h)
- Description copied from class:
javax.swing.border.AbstractBorder
- Performs nothing, because the default implementation provided by
this class is an invisible, zero-width border. Subclasses will
likely want to override this method, but they are not required
to do so.
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component _c)
- Description copied from class:
javax.swing.border.AbstractBorder
- Returns the insets required for drawing this border around the specified
component.
isBorderOpaque
public boolean isBorderOpaque()
- Description copied from class:
javax.swing.border.AbstractBorder
- Determines whether or not this border is opaque. An opaque border
fills every pixel in its area when painting. Partially
translucent borders must return
false, or ugly
artifacts can appear on screen. The default implementation
provided here always returns false.
paintRaisedBevel
protected void paintRaisedBevel(java.awt.Component _c,
java.awt.Graphics _g,
int _x,
int _y,
int _w,
int _h)
paintLoweredBevel
protected void paintLoweredBevel(java.awt.Component _c,
java.awt.Graphics _g,
int _x,
int _y,
int _w,
int _h)