Class Choice
public class Choice : Component, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Component>Choice
- 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.Dispose()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
Choice()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public Choice()
Choice(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 Choice(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { 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
SelectedIndex
public int SelectedIndex { get; }
Property Value
SelectedItem
public String SelectedItem { get; }
Property Value
SelectedObjects
public object[] SelectedObjects { get; }
Property Value
- object[]
Methods
Add(String)
public void Add(String arg0)
Parameters
AddItem(String)
public void AddItem(String arg0)
Parameters
AddItemListener(ItemListener)
public void AddItemListener(ItemListener arg0)
Parameters
arg0
ItemListener
GetItem(int)
public String GetItem(int arg0)
Parameters
Returns
Insert(String, int)
public void Insert(String arg0, int arg1)
Parameters
Remove(String)
public void Remove(String arg0)
Parameters
Remove(int)
public void Remove(int arg0)
Parameters
RemoveAll()
public void RemoveAll()
RemoveItemListener(ItemListener)
public void RemoveItemListener(ItemListener arg0)
Parameters
arg0
ItemListener
Select(String)
public void Select(String arg0)
Parameters
Select(int)
public void Select(int arg0)
Parameters
Operators
implicit operator ItemSelectable(Choice)
Converter from Choice to ItemSelectable
public static implicit operator ItemSelectable(Choice t)
Parameters
t
Choice
Returns
implicit operator Accessible(Choice)
Converter from Choice to Accessible
public static implicit operator Accessible(Choice t)
Parameters
t
Choice