Package resources.icons
Class ReflectedIcon
java.lang.Object
javax.swing.ImageIcon
resources.icons.LazyImageIcon
resources.icons.DerivedImageIcon
resources.icons.ReflectedIcon
- All Implemented Interfaces:
Serializable
,Accessible
,Icon
,FileBasedIcon
LazyImageIcon
that creates a reflected version of an icon. This creates a version of the
icon which has had either its x values reflected (left to right) or its y values reflected
(upside down)- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.ImageIcon
ImageIcon.AccessibleImageIcon
-
Field Summary
-
Constructor Summary
ConstructorDescriptionReflectedIcon
(Icon baseIcon, boolean leftToRight) Construct a icon that is reflected either left to right or upside down. -
Method Summary
Methods inherited from class resources.icons.DerivedImageIcon
createImage, getSourceIcon, sourceIconChanged
Methods inherited from class resources.icons.LazyImageIcon
getAccessibleContext, getDescription, getFilename, getIconHeight, getIconWidth, getImage, getImageLoadStatus, getImageObserver, paintIcon, setDescription, setImage, toString
Methods inherited from class javax.swing.ImageIcon
loadImage, setImageObserver
-
Constructor Details
-
ReflectedIcon
Construct a icon that is reflected either left to right or upside down.- Parameters:
baseIcon
- base iconleftToRight
- true flips x values, false flips y values
-
-
Method Details
-
createImageIcon
- Overrides:
createImageIcon
in classDerivedImageIcon
-