Constructor and Description |
---|
CloseTabIcon(boolean mouseOverIcon,
boolean mousePressed)
Creates a new instance of
CloseTabIcon |
Modifier and Type | Method and Description |
---|---|
int |
getIconHeight()
Returns the icon's height.
|
int |
getIconWidth()
Returns the icon's width.
|
void |
paintIcon(Component c,
Graphics gorg,
int x,
int y)
Draw the icon at the specified location.
|
public CloseTabIcon(boolean mouseOverIcon, boolean mousePressed)
CloseTabIcon
public void paintIcon(Component c, Graphics gorg, int x, int y)
public int getIconWidth()
getIconWidth
in interface Icon
public int getIconHeight()
getIconHeight
in interface Icon
Copyright © 2017 Hitachi Vantara. All rights reserved.