org.softsmithy.lib.swing.icon
Class XImageIcon
java.lang.Object
javax.swing.ImageIcon
org.softsmithy.lib.swing.icon.XImageIcon
- All Implemented Interfaces:
- Serializable, Accessible, Icon, XIcon
public class XImageIcon
- extends ImageIcon
- implements XIcon
- Author:
- puce
- See Also:
- Serialized Form
Methods inherited from class javax.swing.ImageIcon |
getAccessibleContext, getDescription, getIconHeight, getIconWidth, getImage, getImageLoadStatus, getImageObserver, loadImage, paintIcon, setDescription, setImage, setImageObserver, toString |
XImageIcon
public XImageIcon()
- Creates a new instance of XImageIcon
XImageIcon
public XImageIcon(byte[] imageData)
XImageIcon
public XImageIcon(byte[] imageData,
String description)
XImageIcon
public XImageIcon(Image image)
XImageIcon
public XImageIcon(Image image,
String description)
XImageIcon
public XImageIcon(String filename)
XImageIcon
public XImageIcon(String filename,
String description)
XImageIcon
public XImageIcon(URL location)
XImageIcon
public XImageIcon(URL location,
String description)
getScaledInstance
public XIcon getScaledInstance(int newWidth,
int newHeight)
- Specified by:
getScaledInstance
in interface XIcon
getScalingAlgorithm
public ScalingAlgorithm getScalingAlgorithm()
- Getter for property scalingAlgorithm.
- Returns:
- Value of property scalingAlgorithm.
setScalingAlgorithm
public void setScalingAlgorithm(ScalingAlgorithm scalingAlgorithm)
- Setter for property scalingAlgorithm.
- Parameters:
scalingAlgorithm
- New value of property scalingAlgorithm.
Copyright © 2002-2011 SoftSmithy. All Rights Reserved.