Table of Contents

Class List

Namespace
Java.Awt
Assembly
MASES.JNet.dll
public class List : Component, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<Component>
List
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.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.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

arg0 int

int

Exceptions

HeadlessException

List(int, bool)

public List(int arg0, bool arg1)

Parameters

arg0 int

int

arg1 bool

bool

Exceptions

HeadlessException

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

ActionListener[]

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

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

Items

public String[] Items { get; }

Property Value

String[]

Rows

public int Rows { get; }

Property Value

int

SelectedIndex

public int SelectedIndex { get; }

Property Value

int

SelectedIndexes

public int[] SelectedIndexes { get; }

Property Value

int[]

SelectedItem

public String SelectedItem { get; }

Property Value

String

SelectedItems

public String[] SelectedItems { get; }

Property Value

String[]

SelectedObjects

public object[] SelectedObjects { get; }

Property Value

object[]

VisibleIndex

public int VisibleIndex { get; }

Property Value

int

Methods

Add(String)

public void Add(String arg0)

Parameters

arg0 String

String

Add(String, int)

public void Add(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

AddActionListener(ActionListener)

public void AddActionListener(ActionListener arg0)

Parameters

arg0 ActionListener

ActionListener

AddItemListener(ItemListener)

public void AddItemListener(ItemListener arg0)

Parameters

arg0 ItemListener

ItemListener

Deselect(int)

public void Deselect(int arg0)

Parameters

arg0 int

int

GetItem(int)

public String GetItem(int arg0)

Parameters

arg0 int

int

Returns

String

String

GetMinimumSize(int)

public Dimension GetMinimumSize(int arg0)

Parameters

arg0 int

int

Returns

Dimension

Dimension

GetPreferredSize(int)

public Dimension GetPreferredSize(int arg0)

Parameters

arg0 int

int

Returns

Dimension

Dimension

IsIndexSelected(int)

public bool IsIndexSelected(int arg0)

Parameters

arg0 int

int

Returns

bool

bool

IsMultipleMode()

public bool IsMultipleMode()

Returns

bool

bool

MakeVisible(int)

public void MakeVisible(int arg0)

Parameters

arg0 int

int

Remove(String)

public void Remove(String arg0)

Parameters

arg0 String

String

Remove(int)

public void Remove(int arg0)

Parameters

arg0 int

int

RemoveActionListener(ActionListener)

public void RemoveActionListener(ActionListener arg0)

Parameters

arg0 ActionListener

ActionListener

RemoveAll()

public void RemoveAll()

RemoveItemListener(ItemListener)

public void RemoveItemListener(ItemListener arg0)

Parameters

arg0 ItemListener

ItemListener

ReplaceItem(String, int)

public void ReplaceItem(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

Select(int)

public void Select(int arg0)

Parameters

arg0 int

int

SetMultipleMode(bool)

public void SetMultipleMode(bool arg0)

Parameters

arg0 bool

bool

Operators

implicit operator ItemSelectable(List)

Converter from List to ItemSelectable

public static implicit operator ItemSelectable(List t)

Parameters

t List

Returns

ItemSelectable

implicit operator Accessible(List)

Converter from List to Accessible

public static implicit operator Accessible(List t)

Parameters

t List

Returns

Accessible