ComboBoxStyle Class

ComboBoxStyle Class

This Package | All Packages

Enum
  |
  +--ComboBoxStyle
public class ComboBoxStyle
extends Enum

Defines the constants that you apply to a ComboBox control to determine its appearance.

Fields
Name Description
DROPDOWN Defines a drop-down ComboBox.
DROPDOWNLIST Defines a read-only drop-down ComboBox.
MAX The maximum style value for a combo box.
MIN The minimum style value for a combo box.
SIMPLE Defines a simple ComboBox.

Fields

ComboBoxStyle.DROPDOWN

Syntax
public static final int DROPDOWN;
Description
Defines a drop-down ComboBox. When this style is applied to a ComboBox control, the combo box is displayed with an arrow button to the right of an Edit box. When this arrow is clicked, the drop-down portion of the ComboBox control is displayed.

ComboBoxStyle.DROPDOWNLIST

Syntax
public static final int DROPDOWNLIST;
Description
Defines a read-only drop-down ComboBox. When this style is applied to the ComboBox control, the combo box is displayed as a read-only control with an arrow to the right of it. When this arrow is clicked, the drop-down portion of the ComboBox control is displayed.

ComboBoxStyle.MAX

Syntax
public static final int MAX;
Description
The maximum style value for a combo box.

ComboBoxStyle.MIN

Syntax
public static final int MIN;
Description
The minimum style value for a combo box.

ComboBoxStyle.SIMPLE

Syntax
public static final int SIMPLE;
Description
Defines a simple ComboBox. When this style is applied to a ComboBox control, the combo box is displayed as an Edit box with a list below it.