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.ToggleButtonBorder  view GtkBorders.ToggleButtonBorder download GtkBorders.ToggleButtonBorder.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.ToggleButtonBorder
All Implemented Interfaces:
javax.swing.border.Border, java.io.Serializable, javax.swing.plaf.UIResource
Enclosing class:
GtkBorders

public static class GtkBorders.ToggleButtonBorder
extends GtkBorders.ButtonBorder


Field Summary
 
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.ToggleButtonBorder(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
 

Constructor Detail

GtkBorders.ToggleButtonBorder

public GtkBorders.ToggleButtonBorder(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