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

Quick Search    Search Deep

org.gtk.java.swing.plaf.gtk
Class GtkBorders.ScrollPaneBorder  view GtkBorders.ScrollPaneBorder download GtkBorders.ScrollPaneBorder.java

java.lang.Object
  extended byjavax.swing.border.AbstractBorder
      extended byorg.gtk.java.swing.plaf.gtk.GtkBorders.ButtonBorder
          extended byorg.gtk.java.swing.plaf.gtk.GtkBorders.ScrollPaneBorder
All Implemented Interfaces:
javax.swing.border.Border, java.io.Serializable, javax.swing.plaf.UIResource
Enclosing class:
GtkBorders

public static class GtkBorders.ScrollPaneBorder
extends GtkBorders.ButtonBorder
implements javax.swing.plaf.UIResource


Field Summary
private static java.awt.Color bgColor
           
private static java.awt.Insets insets
           
 
Fields inherited from class org.gtk.java.swing.plaf.gtk.GtkBorders.ButtonBorder
darkShadow, focus, lightShadow, mediumShadow
 
Fields inherited from class javax.swing.border.AbstractBorder
 
Constructor Summary
GtkBorders.ScrollPaneBorder(java.awt.Color lightShadow, java.awt.Color mediumShadow, java.awt.Color darkShadow, java.awt.Color focus)
           
 
Method Summary
 java.awt.Insets getBorderInsets(java.awt.Component c)
          Returns the insets required for drawing this border around the specified component.
 void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int w, int h)
          Performs nothing, because the default implementation provided by this class is an invisible, zero-width border.
 
Methods inherited from class javax.swing.border.AbstractBorder
getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

insets

private static final java.awt.Insets insets

bgColor

private static java.awt.Color bgColor
Constructor Detail

GtkBorders.ScrollPaneBorder

public GtkBorders.ScrollPaneBorder(java.awt.Color lightShadow,
                                   java.awt.Color mediumShadow,
                                   java.awt.Color darkShadow,
                                   java.awt.Color focus)
Method Detail

paintBorder

public void paintBorder(java.awt.Component c,
                        java.awt.Graphics g,
                        int x,
                        int y,
                        int w,
                        int h)
Description copied from class: javax.swing.border.AbstractBorder
Performs nothing, because the default implementation provided by this class is an invisible, zero-width border. Subclasses will likely want to override this method, but they are not required to do so.

Specified by:
paintBorder in interface javax.swing.border.Border
Overrides:
paintBorder in class GtkBorders.ButtonBorder

getBorderInsets

public java.awt.Insets getBorderInsets(java.awt.Component c)
Description copied from class: javax.swing.border.AbstractBorder
Returns the insets required for drawing this border around the specified component.

Specified by:
getBorderInsets in interface javax.swing.border.Border
Overrides:
getBorderInsets in class GtkBorders.ButtonBorder