Table of Contents

Class JComboBox

Namespace
Javax.Swing
Assembly
MASES.JNet.dll
public class JComboBox : JComponent, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<Component>
JComboBox
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)

public JComboBox(Vector arg0)

Parameters

arg0 Vector

Vector

JComboBox(ComboBoxModel)

public JComboBox(ComboBoxModel arg0)

Parameters

arg0 ComboBoxModel

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

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 Model { get; set; }

Property Value

ComboBoxModel

PopupMenuListeners

public PopupMenuListener[] PopupMenuListeners { get; }

Property Value

PopupMenuListener[]

PrototypeDisplayValue

public object PrototypeDisplayValue { get; set; }

Property Value

object

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(object)

public void AddItem(object arg0)

Parameters

arg0 object

object

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 object GetItemAt(int arg0)

Parameters

arg0 int

int

Returns

object

object

HidePopup()

public void HidePopup()

InsertItemAt(object, int)

public void InsertItemAt(object arg0, int arg1)

Parameters

arg0 object

object

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)

Converter from JComboBox to ActionListener

public static implicit operator ActionListener(JComboBox t)

Parameters

t JComboBox

Returns

ActionListener

implicit operator ItemSelectable(JComboBox)

Converter from JComboBox to ItemSelectable

public static implicit operator ItemSelectable(JComboBox t)

Parameters

t JComboBox

Returns

ItemSelectable

implicit operator Accessible(JComboBox)

Converter from JComboBox to Accessible

public static implicit operator Accessible(JComboBox t)

Parameters

t JComboBox

Returns

Accessible

implicit operator ListDataListener(JComboBox)

Converter from JComboBox to ListDataListener

public static implicit operator ListDataListener(JComboBox t)

Parameters

t JComboBox

Returns

ListDataListener