com.birosoft.liquid.borders
Class LiquidFrameBorder

java.lang.Object
  extended by javax.swing.border.AbstractBorder
      extended by com.birosoft.liquid.borders.LiquidFrameBorder
All Implemented Interfaces:
java.io.Serializable, javax.swing.border.Border, javax.swing.plaf.UIResource

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

LiquidFrameBorder

See Also:
Serialized Form

Constructor Summary
LiquidFrameBorder()
           
 
Method Summary
 java.awt.Insets getBorderInsets(java.awt.Component c)
           
static LiquidFrameBorder getInstance()
           
 void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int w, int h)
          Uses the skins to paint the border
 void setActive(boolean isActive)
          inform the border whether the internal frame is active or not
 
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
 

Constructor Detail

LiquidFrameBorder

public LiquidFrameBorder()
Method Detail

getInstance

public static LiquidFrameBorder getInstance()

paintBorder

public void paintBorder(java.awt.Component c,
                        java.awt.Graphics g,
                        int x,
                        int y,
                        int w,
                        int h)
Uses the skins to paint the border

Specified by:
paintBorder in interface javax.swing.border.Border
Overrides:
paintBorder in class javax.swing.border.AbstractBorder
See Also:
Border.paintBorder(Component, Graphics, int, int, int, int)

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)

setActive

public void setActive(boolean isActive)
inform the border whether the internal frame is active or not

Parameters:
isActive -