public class UICheckBoxIcon
extends javax.swing.plaf.metal.MetalCheckBoxIcon
| 限定符和类型 | 类和说明 |
|---|---|
protected static class |
UICheckBoxIcon.CheckKey |
protected static class |
UICheckBoxIcon.DisabledCheckKey |
protected static class |
UICheckBoxIcon.EnabledCheckKey |
| 构造器和说明 |
|---|
UICheckBoxIcon() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected int |
getControlSize() |
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
Draws the check box icon at the specified location.
|
protected int getControlSize()
getControlSize 在类中 javax.swing.plaf.metal.MetalCheckBoxIconpublic void paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
paintIcon 在接口中 javax.swing.IconpaintIcon 在类中 javax.swing.plaf.metal.MetalCheckBoxIconc - The component to draw on.g - The graphics context.x - The x coordinate of the top left corner.y - The y coordinate of the top left corner.public int getIconWidth()
getIconWidth 在接口中 javax.swing.IcongetIconWidth 在类中 javax.swing.plaf.metal.MetalCheckBoxIconpublic int getIconHeight()
getIconHeight 在接口中 javax.swing.IcongetIconHeight 在类中 javax.swing.plaf.metal.MetalCheckBoxIcon