bibliothek.extension.gui.dock.theme.flat
Class FlatLineBorder

java.lang.Object
  extended by bibliothek.extension.gui.dock.theme.flat.FlatLineBorder
All Implemented Interfaces:
Border

public class FlatLineBorder
extends Object
implements Border

A border used by FlatButtonTitle if the button is not selected or active. This border paints only a thin, nearly invisible line around a Component.

Author:
Benjamin Sigg

Field Summary
static FlatLineBorder INSTANCE
          a constant instance of FlatLineBorder
 
Constructor Summary
FlatLineBorder()
           
 
Method Summary
 Insets getBorderInsets(Component c)
           
 boolean isBorderOpaque()
           
 void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final FlatLineBorder INSTANCE
a constant instance of FlatLineBorder

Constructor Detail

FlatLineBorder

public FlatLineBorder()
Method Detail

getBorderInsets

public Insets getBorderInsets(Component c)
Specified by:
getBorderInsets in interface Border

isBorderOpaque

public boolean isBorderOpaque()
Specified by:
isBorderOpaque in interface Border

paintBorder

public void paintBorder(Component c,
                        Graphics g,
                        int x,
                        int y,
                        int width,
                        int height)
Specified by:
paintBorder in interface Border