Class List
public class List : Component, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Component>List
- 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
List()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public List()
List(int)
public List(int arg0)
Parameters
Exceptions
List(int, bool)
public List(int arg0, bool arg1)
Parameters
Exceptions
List(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 List(params object[] args)
Parameters
args
object[]
Properties
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
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
Items
public String[] Items { get; }
Property Value
- String[]
Rows
public int Rows { get; }
Property Value
SelectedIndex
public int SelectedIndex { get; }
Property Value
SelectedIndexes
public int[] SelectedIndexes { get; }
Property Value
- int[]
SelectedItem
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/List.html#getSelectedItem()
public String SelectedItem { get; }
Property Value
SelectedItems
public String[] SelectedItems { get; }
Property Value
- String[]
SelectedObjects
public object[] SelectedObjects { get; }
Property Value
- object[]
VisibleIndex
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/List.html#getVisibleIndex()
public int VisibleIndex { get; }
Property Value
Methods
Add(String)
public void Add(String arg0)
Parameters
Add(String, int)
public void Add(String arg0, int arg1)
Parameters
AddActionListener(ActionListener)
public void AddActionListener(ActionListener arg0)
Parameters
AddItemListener(ItemListener)
public void AddItemListener(ItemListener arg0)
Parameters
arg0
ItemListener
Deselect(int)
public void Deselect(int arg0)
Parameters
GetItem(int)
public String GetItem(int arg0)
Parameters
Returns
GetMinimumSize(int)
public Dimension GetMinimumSize(int arg0)
Parameters
Returns
GetPreferredSize(int)
public Dimension GetPreferredSize(int arg0)
Parameters
Returns
IsIndexSelected(int)
public bool IsIndexSelected(int arg0)
Parameters
Returns
IsMultipleMode()
public bool IsMultipleMode()
Returns
MakeVisible(int)
public void MakeVisible(int arg0)
Parameters
Remove(String)
public void Remove(String arg0)
Parameters
Remove(int)
public void Remove(int arg0)
Parameters
RemoveActionListener(ActionListener)
public void RemoveActionListener(ActionListener arg0)
Parameters
RemoveAll()
public void RemoveAll()
RemoveItemListener(ItemListener)
public void RemoveItemListener(ItemListener arg0)
Parameters
arg0
ItemListener
ReplaceItem(String, int)
public void ReplaceItem(String arg0, int arg1)
Parameters
Select(int)
public void Select(int arg0)
Parameters
SetMultipleMode(bool)
public void SetMultipleMode(bool arg0)
Parameters
Operators
implicit operator ItemSelectable(List)
Converter from List to ItemSelectable
public static implicit operator ItemSelectable(List t)
Parameters
t
List
Returns
implicit operator Accessible(List)
Converter from List to Accessible
public static implicit operator Accessible(List t)
Parameters
t
List