Class JComboBox
public class JComboBox : JComponent, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Component>JComboBox
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Component>.IsAssignableFrom(IJavaType)JVMBridgeBase<Component>.IsAssignableFrom<T>()JVMBridgeBase<Component>.Execute<T>(params T[])JVMBridgeBase<Component>.DynBridgeClazzJVMBridgeBase<Component>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
JComboBox()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public JComboBox()
JComboBox(Vector)
public JComboBox(Vector arg0)
Parameters
JComboBox(ComboBoxModel)
public JComboBox(ComboBoxModel arg0)
Parameters
JComboBox(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public JComboBox(params object[] args)
Parameters
args
object[]
Properties
Action
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComboBox.html#getAction() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComboBox.html#setAction(javax.swing.Action)
public Action Action { get; set; }
Property Value
ActionCommand
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComboBox.html#getActionCommand() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComboBox.html#setActionCommand(java.lang.String)
public String ActionCommand { get; set; }
Property Value
ActionListeners
public ActionListener[] ActionListeners { get; }
Property Value
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
Editor
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComboBox.html#getEditor() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComboBox.html#setEditor(javax.swing.ComboBoxEditor)
public ComboBoxEditor Editor { get; set; }
Property Value
GetKeySelectionManager
public JComboBox.KeySelectionManager GetKeySelectionManager { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
ItemCount
public int ItemCount { get; }
Property Value
ItemListeners
public ItemListener[] ItemListeners { get; }
Property Value
MaximumRowCount
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComboBox.html#getMaximumRowCount() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComboBox.html#setMaximumRowCount(int)
public int MaximumRowCount { get; set; }
Property Value
Model
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComboBox.html#getModel() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComboBox.html#setModel(javax.swing.ComboBoxModel)
public ComboBoxModel Model { get; set; }
Property Value
PopupMenuListeners
public PopupMenuListener[] PopupMenuListeners { get; }
Property Value
PrototypeDisplayValue
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComboBox.html#getPrototypeDisplayValue() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComboBox.html#setPrototypeDisplayValue(java.lang.Object)
public object PrototypeDisplayValue { get; set; }
Property Value
Renderer
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComboBox.html#getRenderer() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComboBox.html#setRenderer(javax.swing.ListCellRenderer)
public ListCellRenderer Renderer { get; set; }
Property Value
SelectedIndex
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComboBox.html#getSelectedIndex() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComboBox.html#setSelectedIndex(int)
public int SelectedIndex { get; set; }
Property Value
SelectedItem
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComboBox.html#getSelectedItem() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JComboBox.html#setSelectedItem(java.lang.Object)
public object SelectedItem { get; set; }
Property Value
SelectedObjects
public object[] SelectedObjects { get; }
Property Value
- object[]
Methods
ActionPerformed(ActionEvent)
public void ActionPerformed(ActionEvent arg0)
Parameters
arg0
ActionEvent
AddActionListener(ActionListener)
public void AddActionListener(ActionListener arg0)
Parameters
AddItem(object)
public void AddItem(object arg0)
Parameters
AddItemListener(ItemListener)
public void AddItemListener(ItemListener arg0)
Parameters
arg0
ItemListener
AddPopupMenuListener(PopupMenuListener)
public void AddPopupMenuListener(PopupMenuListener arg0)
Parameters
ConfigureEditor(ComboBoxEditor, object)
public void ConfigureEditor(ComboBoxEditor arg0, object arg1)
Parameters
arg0
ComboBoxEditorarg1
object
ContentsChanged(ListDataEvent)
public void ContentsChanged(ListDataEvent arg0)
Parameters
FirePopupMenuCanceled()
public void FirePopupMenuCanceled()
FirePopupMenuWillBecomeInvisible()
public void FirePopupMenuWillBecomeInvisible()
FirePopupMenuWillBecomeVisible()
public void FirePopupMenuWillBecomeVisible()
GetItemAt(int)
public object GetItemAt(int arg0)
Parameters
Returns
HidePopup()
public void HidePopup()
InsertItemAt(object, int)
public void InsertItemAt(object arg0, int arg1)
Parameters
IntervalAdded(ListDataEvent)
public void IntervalAdded(ListDataEvent arg0)
Parameters
IntervalRemoved(ListDataEvent)
public void IntervalRemoved(ListDataEvent arg0)
Parameters
IsEditable()
public bool IsEditable()
Returns
IsLightWeightPopupEnabled()
public bool IsLightWeightPopupEnabled()
Returns
IsPopupVisible()
public bool IsPopupVisible()
Returns
ProcessKeyEvent(KeyEvent)
public void ProcessKeyEvent(KeyEvent arg0)
Parameters
RemoveActionListener(ActionListener)
public void RemoveActionListener(ActionListener arg0)
Parameters
RemoveAllItems()
public void RemoveAllItems()
RemoveItem(object)
public void RemoveItem(object arg0)
Parameters
RemoveItemAt(int)
public void RemoveItemAt(int arg0)
Parameters
RemoveItemListener(ItemListener)
public void RemoveItemListener(ItemListener arg0)
Parameters
arg0
ItemListener
RemovePopupMenuListener(PopupMenuListener)
public void RemovePopupMenuListener(PopupMenuListener arg0)
Parameters
SelectWithKeyChar(char)
public bool SelectWithKeyChar(char arg0)
Parameters
Returns
SetEditable(bool)
public void SetEditable(bool arg0)
Parameters
SetKeySelectionManager(KeySelectionManager)
public void SetKeySelectionManager(JComboBox.KeySelectionManager arg0)
Parameters
SetLightWeightPopupEnabled(bool)
public void SetLightWeightPopupEnabled(bool arg0)
Parameters
SetPopupVisible(bool)
public void SetPopupVisible(bool arg0)
Parameters
SetUI(ComboBoxUI)
public void SetUI(ComboBoxUI arg0)
Parameters
arg0
ComboBoxUI
ShowPopup()
public void ShowPopup()
Operators
implicit operator ActionListener(JComboBox)
Converter from JComboBox to ActionListener
public static implicit operator ActionListener(JComboBox t)
Parameters
Returns
implicit operator ItemSelectable(JComboBox)
Converter from JComboBox to ItemSelectable
public static implicit operator ItemSelectable(JComboBox t)
Parameters
Returns
implicit operator Accessible(JComboBox)
Converter from JComboBox to Accessible
public static implicit operator Accessible(JComboBox t)
Parameters
Returns
implicit operator ListDataListener(JComboBox)
Converter from JComboBox to ListDataListener
public static implicit operator ListDataListener(JComboBox t)