Table of Contents

Class JComboBox<E>

Namespace
Javax.Swing
Assembly
MASES.JNet.dll
public class JComboBox<E> : JComponent, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition

Type Parameters

E
Inheritance
JVMBridgeBase
JVMBridgeBase<Component>
JComboBox<E>
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Component>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Component>.IsAssignableFrom<T>()
JVMBridgeBase<Component>.Execute<T>(params T[])
JVMBridgeBase<Component>.DynBridgeClazz
JVMBridgeBase<Component>.BridgeClazz
JVMBridgeBase.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.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.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<E>)

public JComboBox(Vector<E> arg0)

Parameters

arg0 Vector<E>

Vector

JComboBox(ComboBoxModel<E>)

public JComboBox(ComboBoxModel<E> arg0)

Parameters

arg0 ComboBoxModel<E>

ComboBoxModel

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[]

JComboBox(E[])

public JComboBox(E[] arg0)

Parameters

arg0 E[]

E

Properties

Action

public Action Action { get; set; }

Property Value

Action

ActionCommand

public String ActionCommand { get; set; }

Property Value

String

ActionListeners

public ActionListener[] ActionListeners { get; }

Property Value

ActionListener[]

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

Editor

public ComboBoxEditor Editor { get; set; }

Property Value

ComboBoxEditor

GetKeySelectionManager

public JComboBox.KeySelectionManager GetKeySelectionManager { get; }

Property Value

JComboBox.KeySelectionManager

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

ItemCount

public int ItemCount { get; }

Property Value

int

ItemListeners

public ItemListener[] ItemListeners { get; }

Property Value

ItemListener[]

MaximumRowCount

public int MaximumRowCount { get; set; }

Property Value

int

Model

public ComboBoxModel<E> Model { get; set; }

Property Value

ComboBoxModel<E>

PopupMenuListeners

public PopupMenuListener[] PopupMenuListeners { get; }

Property Value

PopupMenuListener[]

PrototypeDisplayValue

public E PrototypeDisplayValue { get; set; }

Property Value

E

Renderer

public ListCellRenderer Renderer { get; set; }

Property Value

ListCellRenderer

SelectedIndex

public int SelectedIndex { get; set; }

Property Value

int

SelectedItem

public object SelectedItem { get; set; }

Property Value

object

SelectedObjects

public object[] SelectedObjects { get; }

Property Value

object[]

Methods

ActionPerformed(ActionEvent)

public void ActionPerformed(ActionEvent arg0)

Parameters

arg0 ActionEvent

ActionEvent

AddActionListener(ActionListener)

public void AddActionListener(ActionListener arg0)

Parameters

arg0 ActionListener

ActionListener

AddItem(E)

public void AddItem(E arg0)

Parameters

arg0 E

E

AddItemListener(ItemListener)

public void AddItemListener(ItemListener arg0)

Parameters

arg0 ItemListener

ItemListener

AddPopupMenuListener(PopupMenuListener)

public void AddPopupMenuListener(PopupMenuListener arg0)

Parameters

arg0 PopupMenuListener

PopupMenuListener

ConfigureEditor(ComboBoxEditor, object)

public void ConfigureEditor(ComboBoxEditor arg0, object arg1)

Parameters

arg0 ComboBoxEditor

ComboBoxEditor

arg1 object

object

ContentsChanged(ListDataEvent)

public void ContentsChanged(ListDataEvent arg0)

Parameters

arg0 ListDataEvent

ListDataEvent

FirePopupMenuCanceled()

public void FirePopupMenuCanceled()

FirePopupMenuWillBecomeInvisible()

public void FirePopupMenuWillBecomeInvisible()

FirePopupMenuWillBecomeVisible()

public void FirePopupMenuWillBecomeVisible()

GetItemAt(int)

public E GetItemAt(int arg0)

Parameters

arg0 int

int

Returns

E

E

HidePopup()

public void HidePopup()

InsertItemAt(E, int)

public void InsertItemAt(E arg0, int arg1)

Parameters

arg0 E

E

arg1 int

int

IntervalAdded(ListDataEvent)

public void IntervalAdded(ListDataEvent arg0)

Parameters

arg0 ListDataEvent

ListDataEvent

IntervalRemoved(ListDataEvent)

public void IntervalRemoved(ListDataEvent arg0)

Parameters

arg0 ListDataEvent

ListDataEvent

IsEditable()

public bool IsEditable()

Returns

bool

bool

IsLightWeightPopupEnabled()

public bool IsLightWeightPopupEnabled()

Returns

bool

bool

IsPopupVisible()

public bool IsPopupVisible()

Returns

bool

bool

ProcessKeyEvent(KeyEvent)

public void ProcessKeyEvent(KeyEvent arg0)

Parameters

arg0 KeyEvent

KeyEvent

RemoveActionListener(ActionListener)

public void RemoveActionListener(ActionListener arg0)

Parameters

arg0 ActionListener

ActionListener

RemoveAllItems()

public void RemoveAllItems()

RemoveItem(object)

public void RemoveItem(object arg0)

Parameters

arg0 object

object

RemoveItemAt(int)

public void RemoveItemAt(int arg0)

Parameters

arg0 int

int

RemoveItemListener(ItemListener)

public void RemoveItemListener(ItemListener arg0)

Parameters

arg0 ItemListener

ItemListener

RemovePopupMenuListener(PopupMenuListener)

public void RemovePopupMenuListener(PopupMenuListener arg0)

Parameters

arg0 PopupMenuListener

PopupMenuListener

SelectWithKeyChar(char)

public bool SelectWithKeyChar(char arg0)

Parameters

arg0 char

char

Returns

bool

bool

SetEditable(bool)

public void SetEditable(bool arg0)

Parameters

arg0 bool

bool

SetKeySelectionManager(KeySelectionManager)

public void SetKeySelectionManager(JComboBox.KeySelectionManager arg0)

Parameters

arg0 JComboBox.KeySelectionManager

JComboBox.KeySelectionManager

SetLightWeightPopupEnabled(bool)

public void SetLightWeightPopupEnabled(bool arg0)

Parameters

arg0 bool

bool

SetPopupVisible(bool)

public void SetPopupVisible(bool arg0)

Parameters

arg0 bool

bool

SetUI(ComboBoxUI)

public void SetUI(ComboBoxUI arg0)

Parameters

arg0 ComboBoxUI

ComboBoxUI

ShowPopup()

public void ShowPopup()

Operators

implicit operator ActionListener(JComboBox<E>)

Converter from JComboBox<E> to ActionListener

public static implicit operator ActionListener(JComboBox<E> t)

Parameters

t JComboBox<E>

Returns

ActionListener

implicit operator ItemSelectable(JComboBox<E>)

Converter from JComboBox<E> to ItemSelectable

public static implicit operator ItemSelectable(JComboBox<E> t)

Parameters

t JComboBox<E>

Returns

ItemSelectable

implicit operator Accessible(JComboBox<E>)

Converter from JComboBox<E> to Accessible

public static implicit operator Accessible(JComboBox<E> t)

Parameters

t JComboBox<E>

Returns

Accessible

implicit operator ListDataListener(JComboBox<E>)

Converter from JComboBox<E> to ListDataListener

public static implicit operator ListDataListener(JComboBox<E> t)

Parameters

t JComboBox<E>

Returns

ListDataListener

implicit operator JComboBox(JComboBox<E>)

Converter from JComboBox<E> to JComboBox

public static implicit operator JComboBox(JComboBox<E> t)

Parameters

t JComboBox<E>

Returns

JComboBox