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 Detail

getIconWidth

public int getIconWidth()
Returns the icon's width.

Returns:
an int specifying the fixed width of the icon.

getIconHeight

public int getIconHeight()
Returns the icon's height.

Returns:
an int specifying the fixed height of the icon.