com.sas.visuals
Class ComboBox

com.sas.visuals.ComboBox
All Implemented Interfaces:
CompositeInterface, ContainerInterface, com.sas.awt.print.PrintableInterface, VisualInterface, com.sas.beans.PropertyChangeSource, com.sas.beans.VetoableChangeSource, com.sas.collection.ContentsChangedListener, com.sas.ComponentInterface, com.sas.DesignTimeDropTargetInterface, com.sas.lang.StringDataInterface, com.sas.LinkPropertiesInterface, com.sas.ModelInterface, ValidatorInterface, com.sas.ViewDefaultModelInterface, com.sas.ViewInterface, MultipleValueEventSourceInterface, ResizeToFitInterface, java.awt.image.ImageObserver, java.awt.ItemSelectable, java.awt.MenuContainer, java.beans.PropertyChangeListener, java.io.ObjectInputValidation, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible

public class ComboBox
implements com.sas.lang.StringDataInterface, com.sas.collection.ContentsChangedListener, ResizeToFitInterface, java.awt.ItemSelectable, com.sas.ViewDefaultModelInterface

ComboBox displays a list of items for selection and contains an optionally editable text control that allows the user to enter text that is not in the list portion of the comboBox.

Creation:

  1. Create a ComboBox

    ComboBox comboBox1 = new ComboBox();
    comboBox1.initialize();
Default Size: Required Interfaces:
The ComboBox requires a model that implements com.sas.collection.StaticOrderedCollectionInterface. A default model is automatically created and attached to the ComboBox when the ComboBox is initially constructed.

Notes: