APIdia Launch Partner
Top Description Constructors Methods
javax.swing.plaf.metal

public Class MetalComboBoxIcon

extends Object
implements Icon, Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable, javax.swing.Icon
Annotations
@SuppressWarnings:serial
Imports
java.awt.*, java.awt.event.*, javax.swing.*, javax.swing.plaf.*, javax.swing.border.*, java.io.Serializable, javax.swing.plaf.basic.BasicComboBoxUI

This utility class draws the horizontal bars which indicate a MetalComboBox
Author
Tom Santos
See Also
MetalComboBoxUI

Constructor Summary

AccessConstructor and Description
public
MetalComboBoxIcon()

Constructs a MetalComboBoxIcon.

Method Summary

Modifier and TypeMethod and Description
public int
getIconHeight()

Implements javax.swing.Icon.getIconHeight.

Created a stub to satisfy the interface.

public int
getIconWidth()

Implements javax.swing.Icon.getIconWidth.

Created a stub to satisfy the interface.

public void
paintIcon(Component c, Graphics g, int x, int y)

Implements javax.swing.Icon.paintIcon.

Paints the horizontal bars for the

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

MetalComboBoxIconback to summary
public MetalComboBoxIcon()

Constructs a MetalComboBoxIcon.

Method Detail

getIconHeightback to summary
public int getIconHeight()

Implements javax.swing.Icon.getIconHeight.

Created a stub to satisfy the interface.

getIconWidthback to summary
public int getIconWidth()

Implements javax.swing.Icon.getIconWidth.

Created a stub to satisfy the interface.

paintIconback to summary
public void paintIcon(Component c, Graphics g, int x, int y)

Implements javax.swing.Icon.paintIcon.

Paints the horizontal bars for the