| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final int | |
| private final Image |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | |
| public void | paintIcon(Component
a c, Graphics Component to get properties useful for paintingthe graphics context g, int the X coordinate of the icon's top-left corner x, int the Y coordinate of the icon's top-left corner y)Implements javax. Draw the icon at the specified location. |
| baseHeight | back to summary |
|---|---|
| private final int baseHeight | |
| baseWidth | back to summary |
|---|---|
| private final int baseWidth | |
| image | back to summary |
|---|---|
| private final Image image | |
| HighResolutionImageIcon | back to summary |
|---|---|
| public HighResolutionImageIcon(Image image, int baseWidth, int baseHeight) | |
| getIconHeight | back to summary |
|---|---|
| public int getIconHeight() Implements javax. Doc from javax. Returns the icon's height.
| |
| getIconWidth | back to summary |
|---|---|
| public int getIconWidth() Implements javax. Doc from javax. Returns the icon's width.
| |
| paintIcon | back to summary |
|---|---|
| public void paintIcon(Component c, Graphics g, int x, int y) Implements javax. Doc from javax. Draw the icon at the specified location. Icon implementations may use the Component argument to get properties useful for painting, e.g. the foreground or background color. | |