Class DefaultComboBoxModel<E>
public class DefaultComboBoxModel<E> : AbstractListModel<E>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
Type Parameters
E
- Inheritance
-
DefaultComboBoxModel<E>
- Implements
- Inherited Members
- Extension Methods
Constructors
DefaultComboBoxModel()
public DefaultComboBoxModel()
DefaultComboBoxModel(Vector<E>)
public DefaultComboBoxModel(Vector<E> arg0)
Parameters
DefaultComboBoxModel(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public DefaultComboBoxModel(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
DefaultComboBoxModel(E[])
public DefaultComboBoxModel(E[] arg0)
Parameters
arg0E[]E
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
SelectedItem
https://docs.oracle.com/javase/8/docs/api/javax/swing/DefaultComboBoxModel.html#getSelectedItem-- https://docs.oracle.com/javase/8/docs/api/javax/swing/DefaultComboBoxModel.html#setSelectedItem-java.lang.Object-
public object SelectedItem { get; set; }
Property Value
Methods
AddElement(E)
public void AddElement(E arg0)
Parameters
arg0EE
CreatePoolableInstance()
HPA initializer for DefaultComboBoxModel()
public static DefaultComboBoxModel<E> CreatePoolableInstance()
Returns
CreatePoolableInstance(Vector<E>)
HPA initializer for DefaultComboBoxModel(Java.Util.Vector%3CE%3E arg0)
public static DefaultComboBoxModel<E> CreatePoolableInstance(Vector<E> arg0)
Parameters
arg0Vector<E>
Returns
CreatePoolableInstance(E[])
HPA initializer for DefaultComboBoxModel(E[] arg0)
public static DefaultComboBoxModel<E> CreatePoolableInstance(E[] arg0)
Parameters
arg0E[]
Returns
GetIndexOf(object)
public int GetIndexOf(object arg0)
Parameters
Returns
InsertElementAt(E, int)
public void InsertElementAt(E arg0, int arg1)
Parameters
RemoveAllElements()
public void RemoveAllElements()
RemoveElement(object)
public void RemoveElement(object arg0)
Parameters
RemoveElementAt(int)
https://docs.oracle.com/javase/8/docs/api/javax/swing/DefaultComboBoxModel.html#removeElementAt-int-
public void RemoveElementAt(int arg0)
Parameters
Operators
implicit operator DefaultComboBoxModel(DefaultComboBoxModel<E>)
Converter from DefaultComboBoxModel<E> to DefaultComboBoxModel
public static implicit operator DefaultComboBoxModel(DefaultComboBoxModel<E> t)
Parameters
tDefaultComboBoxModel<E>
Returns
implicit operator MutableComboBoxModel<E>(DefaultComboBoxModel<E>)
Converter from DefaultComboBoxModel<E> to MutableComboBoxModel<E>
public static implicit operator MutableComboBoxModel<E>(DefaultComboBoxModel<E> t)
Parameters
tDefaultComboBoxModel<E>