charvax.swing

Interface Icon

public interface Icon

A small fixed size picture, typically used to decorate components.
See Also:
javax.swing.ImageIcon

Method Summary

int
getIconHeight()
Returns the icon's height.
int
getIconWidth()
Returns the icon's width.

Method Details

getIconHeight

public int getIconHeight()
Returns the icon's height.
Returns:
an int specifying the fixed height of the icon.

getIconWidth

public int getIconWidth()
Returns the icon's width.
Returns:
an int specifying the fixed width of the icon.