public class ButtonStateBorder
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 |
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(javax.swing.border.Border[] borders) |
ButtonStateBorder(javax.swing.border.Border e,
javax.swing.border.Border es) |
ButtonStateBorder(javax.swing.border.Border e,
javax.swing.border.Border ep,
javax.swing.border.Border es,
javax.swing.border.Border eps,
javax.swing.border.Border d,
javax.swing.border.Border ds,
javax.swing.border.Border i,
javax.swing.border.Border is,
javax.swing.border.Border di,
javax.swing.border.Border dis) |
ButtonStateBorder(java.awt.Image tiledImage,
int tileCount,
boolean isTiledHorizontaly,
java.awt.Insets imageInsets,
java.awt.Insets borderInsets,
boolean fill) |
| 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 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(javax.swing.border.Border e,
javax.swing.border.Border es)
public ButtonStateBorder(javax.swing.border.Border e,
javax.swing.border.Border ep,
javax.swing.border.Border es,
javax.swing.border.Border eps,
javax.swing.border.Border d,
javax.swing.border.Border ds,
javax.swing.border.Border i,
javax.swing.border.Border is,
javax.swing.border.Border di,
javax.swing.border.Border dis)
public ButtonStateBorder(javax.swing.border.Border[] borders)
public ButtonStateBorder(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)
Copyright © 2022. All Rights Reserved.