getImage
getImage: (ImageIcon) -> Image?The image, or nil for an empty icon.
ImageIcon.new()| Method | Returns | Description |
|---|---|---|
getImage() | Image? | The image, or nil for an empty icon. |
getIconWidth() | number | The width: the image's, or -1 without one. |
getIconHeight() | number | The height: the image's, or -1 without one. |
new() | ImageIcon | () -> ImageIcon: An icon with no image (0 by 0). |
new(Image) | ImageIcon |
| Method | Returns | Description |
|---|---|---|
ImageIconClass.new | ImageIcon | () -> ImageIcon: An icon with no image (0 by 0). |
getImagegetImage: (ImageIcon) -> Image?The image, or nil for an empty icon.
getIconWidthgetIconWidth: (ImageIcon) -> numberThe width: the image's, or -1 without one.
getIconHeightgetIconHeight: (ImageIcon) -> numberThe height: the image's, or -1 without one.
newnew: (() -> ImageIcon) & ((Image) -> ImageIcon)() -> ImageIcon: An icon with no image (0 by 0).
(Image) -> ImageIcon: An icon showing image.