public class SlickBevelBorder extends BevelBorder
Modifier and Type | Field and Description |
---|---|
static int |
AUTO_DISABLE |
static int |
AUTO_ROLLOVER |
static int |
AUTO_SELECT |
bevelType, highlightInner, highlightOuter, LOWERED, RAISED, shadowInner, shadowOuter
Constructor and Description |
---|
SlickBevelBorder(int bevelType)
Constructor for SlickBevelBorder.
|
SlickBevelBorder(int bevelType,
Color highlight,
Color shadow)
Constructor for SlickBevelBorder.
|
SlickBevelBorder(int bevelType,
Color highlightOuterColor,
Color highlightInnerColor,
Color shadowOuterColor,
Color shadowInnerColor)
Constructor for SlickBevelBorder.
|
Modifier and Type | Method and Description |
---|---|
Insets |
getBorderInsets(Component c) |
Insets |
getBorderInsets(Component c,
Insets insets) |
static SlickBevelBorder |
getLoweredBevelBorder() |
static SlickBevelBorder |
getRaisedBevelBorder() |
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
protected void |
paintLoweredBevel(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
protected void |
paintRaisedBevel(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
getBevelType, getHighlightInnerColor, getHighlightInnerColor, getHighlightOuterColor, getHighlightOuterColor, getShadowInnerColor, getShadowInnerColor, getShadowOuterColor, getShadowOuterColor, isBorderOpaque
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle
public static int AUTO_ROLLOVER
public static int AUTO_SELECT
public static int AUTO_DISABLE
public SlickBevelBorder(int bevelType)
bevelType
- public SlickBevelBorder(int bevelType, Color highlight, Color shadow)
bevelType
- highlight
- shadow
- public static SlickBevelBorder getLoweredBevelBorder()
public static SlickBevelBorder getRaisedBevelBorder()
public Insets getBorderInsets(Component c, Insets insets)
getBorderInsets
in class BevelBorder
public Insets getBorderInsets(Component c)
getBorderInsets
in interface Border
getBorderInsets
in class AbstractBorder
protected void paintLoweredBevel(Component c, Graphics g, int x, int y, int width, int height)
paintLoweredBevel
in class BevelBorder
protected void paintRaisedBevel(Component c, Graphics g, int x, int y, int width, int height)
paintRaisedBevel
in class BevelBorder
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
paintBorder
in interface Border
paintBorder
in class BevelBorder
Copyright © 2024 levigo holding gmbh. All rights reserved.