Skip navigation links
oracle.ide.controls
Class ThinBevel
java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.border.BevelBorder
oracle.ide.controls.ThinBevel
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.border.Border
-
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 |
getBaseline, getBaselineResizeBehavior, 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)
-
- 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
paintRaisedBevel
protected void paintRaisedBevel(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int w,
int h)
-
- Overrides:
paintRaisedBevel
in class javax.swing.border.BevelBorder
paintLoweredBevel
protected void paintLoweredBevel(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int w,
int h)
-
- Overrides:
paintLoweredBevel
in class javax.swing.border.BevelBorder
Skip navigation links
Copyright © 1997, 2013, Oracle. All rights reserved.