Top Inners Fields Constructors Methods
com.mchange.v2.beans.swing

public Class PropertyBoundComboBox

extends JComboBox
Class Inheritance
Imports
java.awt.*, java.awt.event.*, java.beans.*, java.lang.reflect.*, java.util.*, javax.swing.*, com.mchange.v2.beans.BeansUtils

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv class

Field Summary

Modifier and TypeField and Description
pack-priv Object
pack-priv PropertyBoundComboBox.MyHbi
pack-priv Object
pack-priv PropertyComponentBindingUtility
Inherited from javax.swing.JComboBox:
actionCommanddataModeleditorisEditablekeySelectionManagerlightWeightPopupEnabledmaximumRowCountrendererselectedItemReminder

Constructor Summary

AccessConstructor and Description
public
PropertyBoundComboBox(Object bean, String propName, Object
can be an Object[], a Collection, or a ComboBoxModel
itemsSrc
,
Object
if a non-null value is provided, this object will stand-in for a null-value on the bound property.
nullObject
)

Method Summary

Modifier and TypeMethod and Description
public Object
public Object
public static void
main(String[] argv)

public void
setItemsSrc(Object itemsSrc)

public void
Inherited from javax.swing.JComboBox:
actionPerformedactionPropertyChangedaddActionListeneraddItemaddItemListeneraddPopupMenuListenerconfigureEditorconfigurePropertiesFromActioncontentsChangedcreateActionPropertyChangeListenercreateDefaultKeySelectionManagerfireActionEventfireItemStateChangedfirePopupMenuCanceledfirePopupMenuWillBecomeInvisiblefirePopupMenuWillBecomeVisiblegetAccessibleContextgetActiongetActionCommandgetActionListenersgetEditorgetItemAtgetItemCountgetItemListenersgetKeySelectionManagergetMaximumRowCountgetModelgetPopupMenuListenersgetPrototypeDisplayValuegetRenderergetSelectedIndexgetSelectedItemgetSelectedObjectsgetUIgetUIClassIDhidePopupinsertItemAtinstallAncestorListenerintervalAddedintervalRemovedisEditableisLightWeightPopupEnabledisPopupVisibleparamStringprocessKeyBindingprocessKeyEventremoveActionListenerremoveAllItemsremoveItemremoveItemAtremoveItemListenerremovePopupMenuListenerselectedItemChangedselectWithKeyCharsetActionsetActionCommandsetEditablesetEditorsetEnabledsetKeySelectionManagersetLightWeightPopupEnabledsetMaximumRowCountsetModelsetPopupVisiblesetPrototypeDisplayValuesetRenderersetSelectedIndexsetSelectedItemsetUIshowPopupupdateUI

Field Detail

itemsSrcback to summary
pack-priv Object itemsSrc
myHbiback to summary
pack-priv PropertyBoundComboBox.MyHbi myHbi
nullObjectback to summary
pack-priv Object nullObject
pcbuback to summary
pack-priv PropertyComponentBindingUtility pcbu

Constructor Detail

PropertyBoundComboBoxback to summary
public PropertyBoundComboBox(Object bean, String propName, Object itemsSrc, Object nullObject) throws IntrospectionException
Parameters
itemsSrc:Object

can be an Object[], a Collection, or a ComboBoxModel

nullObject:Object

if a non-null value is provided, this object will stand-in for a null-value on the bound property.

Method Detail

getItemsSrcback to summary
public Object getItemsSrc()
getNullObjectback to summary
public Object getNullObject()
mainback to summary
public static void main(String[] argv)
setItemsSrcback to summary
public void setItemsSrc(Object itemsSrc)
setNullObjectback to summary
public void setNullObject(Object o)
com.mchange.v2.beans.swing back to summary

pack-priv Class PropertyBoundComboBox.MyHbi

extends Object
implements HostBindingInterface
Class Inheritance
All Implemented Interfaces
com.mchange.v2.beans.swing.HostBindingInterface

Field Summary

Modifier and TypeField and Description
pack-priv boolean

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
public void
public Object
public void
public void
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

suspend_noticeback to summary
pack-priv boolean suspend_notice

Constructor Detail

MyHbiback to summary
pack-priv MyHbi()

Method Detail

addUserModificationListenersback to summary
public void addUserModificationListeners()

Implements com.mchange.v2.beans.swing.HostBindingInterface.addUserModificationListeners.

alertErroneousInputback to summary
public void alertErroneousInput()

Implements com.mchange.v2.beans.swing.HostBindingInterface.alertErroneousInput.

fetchUserModificationback to summary
public Object fetchUserModification(PropertyEditor editor, Object oldValue)

Implements com.mchange.v2.beans.swing.HostBindingInterface.fetchUserModification.

resumeNotificationsback to summary
public void resumeNotifications()
suspendNotificationsback to summary
public void suspendNotifications()
syncToValueback to summary
public void syncToValue(PropertyEditor editor, Object newVal)

Implements com.mchange.v2.beans.swing.HostBindingInterface.syncToValue.