Constructor and Description |
---|
OverlayColorIcon(Icon baseIcon,
Rectangle insets,
boolean drawFill,
boolean drawBorder) |
Modifier and Type | Method and Description |
---|---|
Icon |
getBaseIcon() |
Color |
getBorderColor() |
Color |
getFillColor() |
int |
getIconHeight() |
int |
getIconWidth() |
Rectangle |
getInsets() |
boolean |
isDrawBorder() |
boolean |
isDrawFill() |
void |
paintIcon(Component c,
Graphics g,
int x,
int y) |
void |
setBorderColor(Color c) |
void |
setDrawBorder(boolean drawBorder) |
void |
setDrawFill(boolean drawFill) |
void |
setFillColor(Color c) |
void |
setInsets(Rectangle insets) |
public boolean isDrawFill()
public void setDrawFill(boolean drawFill)
public boolean isDrawBorder()
public void setDrawBorder(boolean drawBorder)
public Color getFillColor()
getFillColor
in interface ColorIcon
public void setFillColor(Color c)
setFillColor
in interface ColorIcon
public Color getBorderColor()
getBorderColor
in interface ColorIcon
public void setBorderColor(Color c)
setBorderColor
in interface ColorIcon
public int getIconWidth()
getIconWidth
in interface Icon
public int getIconHeight()
getIconHeight
in interface Icon
public Icon getBaseIcon()
public Rectangle getInsets()
public void setInsets(Rectangle insets)
Copyright © 2020–2024 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.