public class PauseIcon
extends java.lang.Object
Constructor and Description |
---|
PauseIcon(int size,
java.awt.Color color)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getColor()
Get the color in which the Icon will be drawn.
|
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y) |
public PauseIcon(int size, java.awt.Color color)
size
- width and height of the box bounding the icon.color
- Color to use to paint the icon.public void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
public int getIconHeight()
getIconHeight
in interface javax.swing.Icon
public int getIconWidth()
getIconWidth
in interface javax.swing.Icon
public java.awt.Color getColor()