Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.swing.plaf
Class BorderUIResource.CompoundBorderUIResource  view BorderUIResource.CompoundBorderUIResource download BorderUIResource.CompoundBorderUIResource.java

java.lang.Object
  extended byjavax.swing.border.AbstractBorder
      extended byjavax.swing.border.CompoundBorder
          extended byjavax.swing.plaf.BorderUIResource.CompoundBorderUIResource
All Implemented Interfaces:
javax.swing.border.Border, java.io.Serializable, UIResource
Enclosing class:
BorderUIResource

public static class BorderUIResource.CompoundBorderUIResource
extends javax.swing.border.CompoundBorder
implements UIResource, java.io.Serializable

A javax.swing.border.CompoundBorder that also implements the UIResource marker interface. This is useful for implementing pluggable look-and-feels: When switching the current LookAndFeel, only those borders are replaced that are marked as UIResource. For this reason, a look-and-feel should always install borders that implement UIResource, such as the borders provided by this class.


Field Summary
private static long serialVersionUID
           
 
Fields inherited from class javax.swing.border.CompoundBorder
insideBorder, outsideBorder
 
Constructor Summary
BorderUIResource.CompoundBorderUIResource(javax.swing.border.Border outsideBorder, javax.swing.border.Border insideBorder)
          Constructs a CompoundBorderUIResource with the specified inside and outside borders.
 
Methods inherited from class javax.swing.border.CompoundBorder
getBorderInsets, getBorderInsets, getInsideBorder, getOutsideBorder, isBorderOpaque, paintBorder
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

BorderUIResource.CompoundBorderUIResource

public BorderUIResource.CompoundBorderUIResource(javax.swing.border.Border outsideBorder,
                                                 javax.swing.border.Border insideBorder)
Constructs a CompoundBorderUIResource with the specified inside and outside borders.