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

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

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


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

darkShadow

protected static java.awt.Color darkShadow

lightShadow

protected static java.awt.Color lightShadow

mediumShadow

protected static java.awt.Color mediumShadow

borderInsets

protected static java.awt.Insets borderInsets
Constructor Detail

GtkBorders.MenuBarBorder

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