APIdia Launch Partner
Top Description Fields Constructors Methods
sun.jvm.hotspot.ui

public Class HistoryComboBox

extends JComboBox<String>
Class Inheritance
Imports
java.awt.event.*, javax.swing.*, javax.swing.event.*

Provides an editable text field with history.

Field Summary

Modifier and TypeField and Description
pack-priv static final int
Inherited from javax.swing.JComboBox:
actionCommanddataModeleditorisEditablekeySelectionManagerlightWeightPopupEnabledmaximumRowCountrendererselectedItemReminder

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
public void
Inherited from javax.swing.JComboBox:
actionPerformedactionPropertyChangedaddActionListeneraddItemaddItemListeneraddPopupMenuListenerconfigureEditorconfigurePropertiesFromActioncontentsChangedcreateActionPropertyChangeListenercreateDefaultKeySelectionManagerfireActionEventfireItemStateChangedfirePopupMenuCanceledfirePopupMenuWillBecomeInvisiblefirePopupMenuWillBecomeVisiblegetAccessibleContextgetActiongetActionCommandgetActionListenersgetEditorgetItemAtgetItemCountgetItemListenersgetKeySelectionManagergetMaximumRowCountgetModelgetPopupMenuListenersgetPrototypeDisplayValuegetRenderergetSelectedIndexgetSelectedItemgetSelectedObjectsgetUIgetUIClassIDhidePopupinsertItemAtinstallAncestorListenerintervalAddedintervalRemovedisEditableisLightWeightPopupEnabledisPopupVisibleparamStringprocessKeyBindingprocessKeyEventremoveActionListenerremoveAllItemsremoveItemremoveItemAtremoveItemListenerremovePopupMenuListenerselectedItemChangedselectWithKeyCharsetActionsetActionCommandsetEditablesetEditorsetEnabledsetKeySelectionManagersetLightWeightPopupEnabledsetMaximumRowCountsetModelsetPopupVisiblesetPrototypeDisplayValuesetRenderersetSelectedIndexsetSelectedItemsetUIshowPopupupdateUI

Field Detail

HISTORY_LENGTHback to summary
pack-priv static final int HISTORY_LENGTH

Constructor Detail

HistoryComboBoxback to summary
public HistoryComboBox()

Method Detail

getTextback to summary
public String getText()
setTextback to summary
public void setText(String text)