Package com.sshtools.common.ui
Class ColorIcon
java.lang.Object
com.sshtools.common.ui.ColorIcon
- All Implemented Interfaces:
Icon
- Version:
- $Revision: 1.13 $
- Author:
- $author$
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ColorIcon
public ColorIcon()Creates a new ColorIcon object. -
ColorIcon
Creates a new ColorIcon object.- Parameters:
color
-
-
ColorIcon
Creates a new ColorIcon object.- Parameters:
color
-borderColor
-
-
ColorIcon
Creates a new ColorIcon object.- Parameters:
color
-size
-borderColor
-
-
-
Method Details
-
paintIcon
-
setSize
- Parameters:
size
-
-
setColor
- Parameters:
color
-
-
setBorderColor
- Parameters:
borderColor
-
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidth
in interfaceIcon
- Returns:
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeight
in interfaceIcon
- Returns:
-