bibliothek.extension.gui.dock.util
Class ReverseCompoundBorder

java.lang.Object
  extended by javax.swing.border.AbstractBorder
      extended by javax.swing.border.CompoundBorder
          extended by bibliothek.extension.gui.dock.util.ReverseCompoundBorder
All Implemented Interfaces:
java.io.Serializable, javax.swing.border.Border

public class ReverseCompoundBorder
extends javax.swing.border.CompoundBorder

Behaves like its super-class but the painting order of the borders is reversed.

Author:
Benjamin Sigg
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.border.CompoundBorder
insideBorder, outsideBorder
 
Constructor Summary
ReverseCompoundBorder(javax.swing.border.Border outsideBorder, javax.swing.border.Border insideBorder)
           
 
Method Summary
 void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)
           
 
Methods inherited from class javax.swing.border.CompoundBorder
getBorderInsets, getBorderInsets, getInsideBorder, getOutsideBorder, isBorderOpaque
 
Methods inherited from class javax.swing.border.AbstractBorder
getInteriorRectangle, getInteriorRectangle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReverseCompoundBorder

public ReverseCompoundBorder(javax.swing.border.Border outsideBorder,
                             javax.swing.border.Border insideBorder)
Method Detail

paintBorder

public void paintBorder(java.awt.Component c,
                        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.CompoundBorder