public class UIToolButtonBorder
extends javax.swing.border.AbstractBorder
| 限定符和类型 | 字段和说明 |
|---|---|
protected java.awt.Insets |
insets |
| 构造器和说明 |
|---|
UIToolButtonBorder() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.awt.Insets |
getBorderInsets(java.awt.Component c)
Gets the border insets for a given component.
|
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int w,
int h)
Draws the button border for the given component.
|
public void paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int w,
int h)
paintBorder 在接口中 javax.swing.border.BorderpaintBorder 在类中 javax.swing.border.AbstractBorderc - The component to draw its border.g - The graphics context.x - The x coordinate of the top left corner.y - The y coordinate of the top left corner.w - The width.h - The height.public java.awt.Insets getBorderInsets(java.awt.Component c)
getBorderInsets 在接口中 javax.swing.border.BordergetBorderInsets 在类中 javax.swing.border.AbstractBorder