public class BorderIcon
extends java.lang.Object
implements javax.swing.Icon
限定符和类型 | 字段和说明 |
---|---|
CellBorderStyle |
cellBorderStyle |
构造器和说明 |
---|
BorderIcon(CellBorderStyle cellBorderStyle) |
限定符和类型 | 方法和说明 |
---|---|
static void |
drawLine(java.awt.Graphics g,
double x1,
double y1,
double x2,
double y2,
int lineStyle,
java.awt.Color color) |
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y) |
public CellBorderStyle cellBorderStyle
public BorderIcon(CellBorderStyle cellBorderStyle)
public int getIconHeight()
getIconHeight
在接口中 javax.swing.Icon
public int getIconWidth()
getIconWidth
在接口中 javax.swing.Icon
public static void drawLine(java.awt.Graphics g, double x1, double y1, double x2, double y2, int lineStyle, java.awt.Color color)
public void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
paintIcon
在接口中 javax.swing.Icon