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

public Class MetalComboBoxEditor

extends BasicComboBoxEditor
Class Inheritance
Known Direct Subclasses
javax.swing.plaf.metal.MetalComboBoxEditor.UIResource
Annotations
@SuppressWarnings:serial
Imports
javax.swing.*, javax.swing.border.*, java.awt.*, javax.swing.plaf.basic.BasicComboBoxEditor

The default editor for Metal editable combo boxes

Warning

Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans has been added to the java.beans package. Please see java.beans.XMLEncoder.

Author
Steve Wilson

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
public static class
MetalComboBoxEditor.UIResource

A subclass of BasicComboBoxEditor that implements UIResource.

Field Summary

Modifier and TypeField and Description
protected static Insets
editorBorderInsets

The default editor border Insets.

Inherited from javax.swing.plaf.basic.BasicComboBoxEditor:
editor

Constructor Summary

AccessConstructor and Description
public
MetalComboBoxEditor()

Constructs a new instance of MetalComboBoxEditor.

Method Summary

Inherited from javax.swing.plaf.basic.BasicComboBoxEditor:
addActionListenercreateEditorComponentfocusGainedfocusLostgetEditorComponentgetItemremoveActionListenerselectAllsetItem

Field Detail

editorBorderInsetsback to summary
protected static Insets editorBorderInsets

The default editor border Insets. This field might not be used.

Constructor Detail

MetalComboBoxEditorback to summary
public MetalComboBoxEditor()

Constructs a new instance of MetalComboBoxEditor.

javax.swing.plaf.metal back to summary

pack-priv Class MetalComboBoxEditor.EditorBorder

extends AbstractBorder
Class Inheritance

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Insets
getBorderInsets(Component c, Insets insets)

Overrides javax.swing.border.AbstractBorder.getBorderInsets.

Reinitializes the insets parameter with this Border's current Insets.

public void
paintBorder(Component c, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.border.AbstractBorder.paintBorder.

Implements javax.swing.border.Border.paintBorder.

This default implementation does no painting.

Inherited from javax.swing.border.AbstractBorder:
getBaselinegetBaselineResizeBehaviorgetBorderInsetsgetInteriorRectanglegetInteriorRectangleisBorderOpaque

Constructor Detail

EditorBorderback to summary
pack-priv EditorBorder()

Method Detail

getBorderInsetsback to summary
public Insets getBorderInsets(Component c, Insets insets)

Overrides javax.swing.border.AbstractBorder.getBorderInsets.

Doc from javax.swing.border.AbstractBorder.getBorderInsets.

Reinitializes the insets parameter with this Border's current Insets.

paintBorderback to summary
public void paintBorder(Component c, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.border.AbstractBorder.paintBorder.

Implements javax.swing.border.Border.paintBorder.

Doc from javax.swing.border.AbstractBorder.paintBorder.

This default implementation does no painting.

javax.swing.plaf.metal back to summary

public Class MetalComboBoxEditor.UIResource

extends MetalComboBoxEditor
implements UIResource
Class Inheritance
All Implemented Interfaces
javax.swing.plaf.UIResource

A subclass of BasicComboBoxEditor that implements UIResource. BasicComboBoxEditor doesn't implement UIResource directly so that applications can safely override the cellRenderer property with BasicListCellRenderer subclasses.

Warning

Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans has been added to the java.beans package. Please see java.beans.XMLEncoder.

Field Summary

Inherited from javax.swing.plaf.metal.MetalComboBoxEditor:
editorBorderInsets

Constructor Summary

AccessConstructor and Description
public
UIResource()

Constructs a UIResource.

Constructor Detail

UIResourceback to summary
public UIResource()

Constructs a UIResource.