- java.lang.Object
-
- org.icepdf.ri.common.widgets.ColorOverlayIcon
-
-
Field Summary
Fields Modifier and Type Field Description protected IconbaseIconprotected PaintButtonBasepaintButtonBase
-
Constructor Summary
Constructors Constructor Description ColorOverlayIcon(URL location)ColorOverlayIcon(Icon icon)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIconHeight()intgetIconWidth()voidpaintIcon(Component c, Graphics g, int x, int y)voidsetBack(boolean back)voidsetColor(Color color)voidsetColor(Color color, float alpha)voidsetColor(Color color, float alpha, boolean fill, boolean back)voidsetColorBound(Shape colorBound)voidsetFill(boolean fill)
-
-
-
Field Detail
-
paintButtonBase
protected final PaintButtonBase paintButtonBase
-
baseIcon
protected final Icon baseIcon
-
-
Method Detail
-
setColor
public void setColor(Color color, float alpha)
-
setColor
public void setColor(Color color, float alpha, boolean fill, boolean back)
-
setColor
public void setColor(Color color)
-
setFill
public void setFill(boolean fill)
-
setBack
public void setBack(boolean back)
-
setColorBound
public void setColorBound(Shape colorBound)
-
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidthin interfaceIcon
-
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeightin interfaceIcon
-
-