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.ButtonBorder  view GtkBorders.ButtonBorder download GtkBorders.ButtonBorder.java

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

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


Field Summary
protected  java.awt.Color darkShadow
           
protected  java.awt.Color focus
           
protected  java.awt.Color lightShadow
           
protected  java.awt.Color mediumShadow
           
 
Fields inherited from class javax.swing.border.AbstractBorder
 
Constructor Summary
GtkBorders.ButtonBorder(java.awt.Color light, java.awt.Color medium, java.awt.Color dark, 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

focus

protected java.awt.Color focus

darkShadow

protected java.awt.Color darkShadow

lightShadow

protected java.awt.Color lightShadow

mediumShadow

protected java.awt.Color mediumShadow
Constructor Detail

GtkBorders.ButtonBorder

public GtkBorders.ButtonBorder(java.awt.Color light,
                               java.awt.Color medium,
                               java.awt.Color dark,
                               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

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