oracle.ide.controls
Class ThinBevel
java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.border.BevelBorder
oracle.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
Fields inherited from class javax.swing.border.BevelBorder |
bevelType, highlightInner, highlightOuter, LOWERED, RAISED, shadowInner, shadowOuter |
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 |
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
ThinBevel
public ThinBevel(int type)
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)
Copyright © 1997, 2004, Oracle. All rights reserved.