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.MetalCheckBoxIcon
public void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
paintIcon
在接口中 javax.swing.Icon
paintIcon
在类中 javax.swing.plaf.metal.MetalCheckBoxIcon
c
- 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.Icon
getIconWidth
在类中 javax.swing.plaf.metal.MetalCheckBoxIcon
public int getIconHeight()
getIconHeight
在接口中 javax.swing.Icon
getIconHeight
在类中 javax.swing.plaf.metal.MetalCheckBoxIcon