public class ButtonStateBorder extends Object implements Border
| Modifier and Type | Field and Description |
|---|---|
static int |
D |
static int |
DEFAULT |
static int |
DI |
static int |
DIS |
static int |
DS |
static int |
E |
static int |
EP |
static int |
EPS |
static int |
ES |
static int |
I |
static int |
IS |
| Constructor and Description |
|---|
ButtonStateBorder(Border[] borders)
Creates a new instance.
|
ButtonStateBorder(Border e,
Border es)
Creates a new instance.
|
ButtonStateBorder(Border e,
Border ep,
Border es,
Border eps,
Border d,
Border ds,
Border i,
Border is,
Border di,
Border dis)
Creates a new instance.
|
ButtonStateBorder(Image tiledImage,
int tileCount,
boolean isTiledHorizontaly,
Insets imageInsets,
Insets borderInsets,
boolean fill)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected Border |
getBorder(Component c) |
Insets |
getBorderInsets(Component c) |
boolean |
isBorderOpaque() |
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
void |
setBorder(int key,
Border b) |
public static final int E
public static final int EP
public static final int ES
public static final int EPS
public static final int D
public static final int DS
public static final int I
public static final int IS
public static final int DI
public static final int DIS
public static final int DEFAULT
public ButtonStateBorder(Border e, Border es)
public ButtonStateBorder(Border e, Border ep, Border es, Border eps, Border d, Border ds, Border i, Border is, Border di, Border dis)
public ButtonStateBorder(Border[] borders)
public void setBorder(int key,
Border b)
public Insets getBorderInsets(Component c)
getBorderInsets in interface Borderpublic boolean isBorderOpaque()
isBorderOpaque in interface Borderpublic void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
paintBorder in interface BorderCopyright © 2014. All Rights Reserved.