Extension SDK 10.1.2

oracle.ide.controls
Class ThinBevel

java.lang.Object
  extended byjavax.swing.border.AbstractBorder
      extended byjavax.swing.border.BevelBorder
          extended byoracle.ide.controls.ThinBevel
All Implemented Interfaces:
javax.swing.border.Border, java.io.Serializable

public class ThinBevel
extends javax.swing.border.BevelBorder

ThinBevel is the same as a BevelBorder, except that its thickness is 1 pixel instead of 2 pixels.

See Also:
Serialized Form

Field Summary
static javax.swing.border.Border EMPTY_BORDER
           
static javax.swing.border.Border LOWERED_BORDER
           
static javax.swing.border.Border RAISED_BORDER
           
 
Fields inherited from class javax.swing.border.BevelBorder
bevelType, highlightInner, highlightOuter, LOWERED, RAISED, shadowInner, shadowOuter
 
Constructor Summary
ThinBevel(int type)
           
 
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 w, int h)
           
protected  void paintRaisedBevel(java.awt.Component c, java.awt.Graphics g, int x, int y, int w, int h)
           
 
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
 

Field Detail

RAISED_BORDER

public static final javax.swing.border.Border RAISED_BORDER

LOWERED_BORDER

public static final javax.swing.border.Border LOWERED_BORDER

EMPTY_BORDER

public static final javax.swing.border.Border EMPTY_BORDER
Constructor Detail

ThinBevel

public ThinBevel(int type)
Method Detail

getBorderInsets

public java.awt.Insets getBorderInsets(java.awt.Component c)

getBorderInsets

public java.awt.Insets getBorderInsets(java.awt.Component c,
                                       java.awt.Insets insets)

paintRaisedBevel

protected void paintRaisedBevel(java.awt.Component c,
                                java.awt.Graphics g,
                                int x,
                                int y,
                                int w,
                                int h)

paintLoweredBevel

protected void paintLoweredBevel(java.awt.Component c,
                                 java.awt.Graphics g,
                                 int x,
                                 int y,
                                 int w,
                                 int h)

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.