org.jivesoftware.spark.component.borders
Class PartialLineBorder
java.lang.Object
  
javax.swing.border.AbstractBorder
      
org.jivesoftware.spark.component.borders.PartialLineBorder
- All Implemented Interfaces: 
 - java.io.Serializable, javax.swing.border.Border
 
public class PartialLineBorder
- extends javax.swing.border.AbstractBorder
 
Renders edge borders for a concave appearance.
- Author:
 
  - Derek DeMoro
 
- See Also:
 - Serialized Form
 
 
| 
Method Summary | 
 java.awt.Insets | 
getBorderInsets(java.awt.Component component)
 
            | 
 boolean | 
isBorderOpaque()
 
            | 
 void | 
paintBorder(java.awt.Component component,
            java.awt.Graphics g,
            int x,
            int y,
            int width,
            int height)
 
            | 
 
| Methods inherited from class javax.swing.border.AbstractBorder | 
getBorderInsets, getInteriorRectangle, getInteriorRectangle | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
PartialLineBorder
public PartialLineBorder(java.awt.Color color,
                         int thickness)
isBorderOpaque
public boolean isBorderOpaque()
- Specified by:
 isBorderOpaque in interface javax.swing.border.Border- Overrides:
 isBorderOpaque in class javax.swing.border.AbstractBorder
 
 
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component component)
- Specified by:
 getBorderInsets in interface javax.swing.border.Border- Overrides:
 getBorderInsets in class javax.swing.border.AbstractBorder
 
 
paintBorder
public void paintBorder(java.awt.Component component,
                        java.awt.Graphics g,
                        int x,
                        int y,
                        int width,
                        int height)
- Specified by:
 paintBorder in interface javax.swing.border.Border- Overrides:
 paintBorder in class javax.swing.border.AbstractBorder