com.birosoft.liquid
Class LiquidInternalFrameBorder

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

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

A frame for internal frames

See Also:
Serialized Form

Constructor Summary
LiquidInternalFrameBorder()
           
 
Method Summary
 java.awt.Insets getBorderInsets(java.awt.Component c)
           
 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

LiquidInternalFrameBorder

public LiquidInternalFrameBorder()
Method Detail

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 -