Class LayeredIcon
java.lang.Object
org.pushingpixels.radiance.component.api.common.icon.LayeredIcon
- All Implemented Interfaces:
Icon, RadianceIcon
Decorator icon that layers icons one on top of the other. The original icons
are drawn and resized together as one layered stack.
-
Nested Class Summary
Nested classes/interfaces inherited from interface RadianceIcon
RadianceIcon.ColorFilter, RadianceIcon.Factory -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintvoidvoidsetColorFilter(RadianceIcon.ColorFilter colorFilter) voidsetDimension(Dimension newDimension) Changes the dimension ofthisicon.booleanMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RadianceIcon
toImage
-
Field Details
-
layers
The layer icons.
-
-
Constructor Details
-
LayeredIcon
Creates a new layered icon.- Parameters:
layers- Layer icons.
-
-
Method Details
-
setDimension
Description copied from interface:RadianceIconChanges the dimension ofthisicon.- Specified by:
setDimensionin interfaceRadianceIcon- Parameters:
newDimension- New dimension forthisicon.
-
supportsColorFilter
public boolean supportsColorFilter()- Specified by:
supportsColorFilterin interfaceRadianceIcon
-
setColorFilter
- Specified by:
setColorFilterin interfaceRadianceIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeightin interfaceIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidthin interfaceIcon
-
paintIcon
-