de.muntjak.tinylookandfeel.borders
Class TinyFrameBorder

java.lang.Object
  extended by javax.swing.border.AbstractBorder
      extended by de.muntjak.tinylookandfeel.borders.TinyFrameBorder
All Implemented Interfaces:
java.io.Serializable, javax.swing.border.Border, javax.swing.plaf.UIResource

public class TinyFrameBorder
extends javax.swing.border.AbstractBorder
implements javax.swing.plaf.UIResource

TinyFrameBorder

See Also:
Serialized Form

Field Summary
static java.awt.Color buttonLowerDisabledColor
           
static java.awt.Color buttonUpperDisabledColor
           
static int FRAME_BORDER_WIDTH
           
static int FRAME_INTERNAL_TITLE_HEIGHT
           
static int FRAME_PALETTE_TITLE_HEIGHT
           
static int FRAME_TITLE_HEIGHT
           
 
Constructor Summary
TinyFrameBorder()
           
 
Method Summary
 java.awt.Insets getBorderInsets(java.awt.Component c)
           
static TinyFrameBorder getInstance()
           
 void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int w, int h)
           
 
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FRAME_BORDER_WIDTH

public static final int FRAME_BORDER_WIDTH
See Also:
Constant Field Values

FRAME_TITLE_HEIGHT

public static final int FRAME_TITLE_HEIGHT
See Also:
Constant Field Values

FRAME_INTERNAL_TITLE_HEIGHT

public static final int FRAME_INTERNAL_TITLE_HEIGHT
See Also:
Constant Field Values

FRAME_PALETTE_TITLE_HEIGHT

public static final int FRAME_PALETTE_TITLE_HEIGHT
See Also:
Constant Field Values

buttonUpperDisabledColor

public static java.awt.Color buttonUpperDisabledColor

buttonLowerDisabledColor

public static java.awt.Color buttonLowerDisabledColor
Constructor Detail

TinyFrameBorder

public TinyFrameBorder()
Method Detail

getInstance

public static TinyFrameBorder getInstance()

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
See Also:
Border.getBorderInsets(Component)