public class WarningIcon
extends javax.swing.ImageIcon
| 限定符和类型 | 字段和说明 |
|---|---|
protected static java.awt.Component |
component |
protected static java.awt.MediaTracker |
tracker |
| 构造器和说明 |
|---|
WarningIcon(java.awt.Image mainImage) |
| 限定符和类型 | 方法和说明 |
|---|---|
LockIcon |
getDisabledLockIcon() |
int |
getIconHeight()
Gets the height of the icon.
|
int |
getIconWidth()
Gets the width of the icon.
|
java.awt.Image |
getImage()
Returns this icon's
Image. |
protected void |
loadImage(java.awt.Image image)
Loads the image, returning only when the image is loaded.
|
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y) |
protected static final java.awt.Component component
protected static final java.awt.MediaTracker tracker
public void paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
paintIcon 在接口中 javax.swing.IconpaintIcon 在类中 javax.swing.ImageIconprotected void loadImage(java.awt.Image image)
loadImage 在类中 javax.swing.ImageIconimage - the imagepublic java.awt.Image getImage()
Image.getImage 在类中 javax.swing.ImageIconImage object for this ImageIconpublic LockIcon getDisabledLockIcon()
public int getIconWidth()
getIconWidth 在接口中 javax.swing.IcongetIconWidth 在类中 javax.swing.ImageIconpublic int getIconHeight()
getIconHeight 在接口中 javax.swing.IcongetIconHeight 在类中 javax.swing.ImageIcon