org.xnap.gui.component
Class XNapBevelBorder

java.lang.Object
  extended by javax.swing.border.AbstractBorder
      extended by javax.swing.border.BevelBorder
          extended by org.xnap.gui.component.XNapBevelBorder
All Implemented Interfaces:
java.io.Serializable, javax.swing.border.Border

public class XNapBevelBorder
extends javax.swing.border.BevelBorder

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.border.BevelBorder
bevelType, highlightInner, highlightOuter, LOWERED, RAISED, shadowInner, shadowOuter
 
Constructor Summary
XNapBevelBorder(int bevelType)
           
 
Method Summary
 java.awt.Insets getBorderInsets(java.awt.Component c)
           
 java.awt.Insets getBorderInsets(java.awt.Component c, java.awt.Insets insets)
           
protected  void paintLoweredBevel(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)
           
protected  void paintRaisedBevel(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)
           
 
Methods inherited from class javax.swing.border.BevelBorder
getBevelType, getHighlightInnerColor, getHighlightInnerColor, getHighlightOuterColor, getHighlightOuterColor, getShadowInnerColor, getShadowInnerColor, getShadowOuterColor, getShadowOuterColor, 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
 

Constructor Detail

XNapBevelBorder

public XNapBevelBorder(int bevelType)
Method Detail

getBorderInsets

public java.awt.Insets getBorderInsets(java.awt.Component c)
Specified by:
getBorderInsets in interface javax.swing.border.Border
Overrides:
getBorderInsets in class javax.swing.border.BevelBorder

getBorderInsets

public java.awt.Insets getBorderInsets(java.awt.Component c,
                                       java.awt.Insets insets)
Overrides:
getBorderInsets in class javax.swing.border.BevelBorder

paintLoweredBevel

protected void paintLoweredBevel(java.awt.Component c,
                                 java.awt.Graphics g,
                                 int x,
                                 int y,
                                 int width,
                                 int height)
Overrides:
paintLoweredBevel in class javax.swing.border.BevelBorder

paintRaisedBevel

protected void paintRaisedBevel(java.awt.Component c,
                                java.awt.Graphics g,
                                int x,
                                int y,
                                int width,
                                int height)
Overrides:
paintRaisedBevel in class javax.swing.border.BevelBorder


Copyright © 2001-2005 XNap Team. All Rights Reserved.