Class PropertyBoundComboBox

All Implemented Interfaces:
ActionListener, ImageObserver, ItemSelectable, MenuContainer, Serializable, EventListener, Accessible, ListDataListener

public class PropertyBoundComboBox extends JComboBox
See Also:
  • Constructor Details

    • PropertyBoundComboBox

      public PropertyBoundComboBox(Object bean, String propName, Object itemsSrc, Object nullObject) throws IntrospectionException
      Parameters:
      itemsSrc - can be an Object[], a Collection, or a ComboBoxModel
      nullObject - if a non-null value is provided, this object will stand-in for a null-value on the bound property.
      Throws:
      IntrospectionException
  • Method Details

    • getItemsSrc

      public Object getItemsSrc()
    • setItemsSrc

      public void setItemsSrc(Object itemsSrc)
    • setNullObject

      public void setNullObject(Object o)
    • getNullObject

      public Object getNullObject()
    • main

      public static void main(String[] argv)