java.lang.Object
javax.swing.border.AbstractBorder
bojangles.widgets.HighlightBorder
- All Implemented Interfaces:
- javax.swing.border.Border, java.io.Serializable
- public class HighlightBorder
- extends javax.swing.border.AbstractBorder
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
borderDepth
private int borderDepth
color
private java.awt.Color color
HighlightBorder
public HighlightBorder()
HighlightBorder
public HighlightBorder(int depth)
HighlightBorder
public HighlightBorder(java.awt.Color highlightColor)
HighlightBorder
public HighlightBorder(int depth,
java.awt.Color highlightColor)
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.
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c,
java.awt.Insets i)
- Description copied from class:
javax.swing.border.AbstractBorder
- Returns the insets required for drawing this border around the specified
component. The default implementation provided here sets the
left, right, top and
bottom fields of the passed insets parameter to
zero.
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.
getBorderDepth
public int getBorderDepth()