public class ScrollBarThumbBorder
extends java.lang.Object
implements javax.swing.border.Border
| Modifier and Type | Field and Description |
|---|---|
static int |
D |
static int |
DEFAULT |
static int |
DI |
static int |
E |
static int |
EP |
static int |
I |
| Constructor and Description |
|---|
ScrollBarThumbBorder(javax.swing.border.Border[] borders)
Creates a new instance.
|
ScrollBarThumbBorder(javax.swing.border.Border e,
javax.swing.border.Border ep,
javax.swing.border.Border d,
javax.swing.border.Border i,
javax.swing.border.Border di)
Creates a new instance.
|
ScrollBarThumbBorder(java.awt.Image[] images,
java.awt.Insets imageInsets,
java.awt.Insets borderInsets,
boolean fill)
Creates a new instance.
|
ScrollBarThumbBorder(java.awt.Image tiledImage,
int tileCount,
boolean isTiledHorizontaly,
java.awt.Insets imageInsets,
java.awt.Insets borderInsets,
boolean fill)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected javax.swing.border.Border |
getBorder(java.awt.Component c) |
java.awt.Insets |
getBorderInsets(java.awt.Component c) |
boolean |
isBorderOpaque() |
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height) |
void |
setBorder(int key,
javax.swing.border.Border b) |
public static final int E
public static final int EP
public static final int D
public static final int I
public static final int DI
public static final int DEFAULT
public ScrollBarThumbBorder(javax.swing.border.Border e,
javax.swing.border.Border ep,
javax.swing.border.Border d,
javax.swing.border.Border i,
javax.swing.border.Border di)
public ScrollBarThumbBorder(javax.swing.border.Border[] borders)
public ScrollBarThumbBorder(java.awt.Image[] images,
java.awt.Insets imageInsets,
java.awt.Insets borderInsets,
boolean fill)
public ScrollBarThumbBorder(java.awt.Image tiledImage,
int tileCount,
boolean isTiledHorizontaly,
java.awt.Insets imageInsets,
java.awt.Insets borderInsets,
boolean fill)
public void setBorder(int key,
javax.swing.border.Border b)
public java.awt.Insets getBorderInsets(java.awt.Component c)
getBorderInsets in interface javax.swing.border.Borderpublic boolean isBorderOpaque()
isBorderOpaque in interface javax.swing.border.Borderpublic void paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
paintBorder in interface javax.swing.border.Borderprotected javax.swing.border.Border getBorder(java.awt.Component c)