Table of Contents

Class JList

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

JList()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public JList()

JList(Vector)

public JList(Vector arg0)

Parameters

arg0 Vector

Vector

JList(ListModel)

public JList(ListModel arg0)

Parameters

arg0 ListModel

ListModel

JList(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 JList(params object[] args)

Parameters

args object[]

Properties

AnchorSelectionIndex

public int AnchorSelectionIndex { get; }

Property Value

int

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

CellRenderer

public ListCellRenderer CellRenderer { get; set; }

Property Value

ListCellRenderer

DragEnabled

public bool DragEnabled { get; set; }

Property Value

bool

DropMode

public DropMode DropMode { get; set; }

Property Value

DropMode

FirstVisibleIndex

public int FirstVisibleIndex { get; }

Property Value

int

FixedCellHeight

public int FixedCellHeight { get; set; }

Property Value

int

FixedCellWidth

public int FixedCellWidth { get; set; }

Property Value

int

GetDropLocation

public JList.DropLocation GetDropLocation { get; }

Property Value

JList.DropLocation

HORIZONTAL_WRAP

public static int HORIZONTAL_WRAP { get; }

Property Value

int

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

LastVisibleIndex

public int LastVisibleIndex { get; }

Property Value

int

LayoutOrientation

public int LayoutOrientation { get; set; }

Property Value

int

LeadSelectionIndex

public int LeadSelectionIndex { get; }

Property Value

int

ListSelectionListeners

public ListSelectionListener[] ListSelectionListeners { get; }

Property Value

ListSelectionListener[]

MaxSelectionIndex

public int MaxSelectionIndex { get; }

Property Value

int

MinSelectionIndex

public int MinSelectionIndex { get; }

Property Value

int

Model

public ListModel Model { get; set; }

Property Value

ListModel

PreferredScrollableViewportSize

public Dimension PreferredScrollableViewportSize { get; }

Property Value

Dimension

PrototypeCellValue

public object PrototypeCellValue { get; set; }

Property Value

object

ScrollableTracksViewportHeight

public bool ScrollableTracksViewportHeight { get; }

Property Value

bool

ScrollableTracksViewportWidth

public bool ScrollableTracksViewportWidth { get; }

Property Value

bool

SelectedIndex

public int SelectedIndex { get; set; }

Property Value

int

SelectedIndices

public int[] SelectedIndices { get; set; }

Property Value

int[]

SelectedValue

public object SelectedValue { get; }

Property Value

object

SelectedValuesList

public List SelectedValuesList { get; }

Property Value

List

SelectionBackground

public Color SelectionBackground { get; set; }

Property Value

Color

SelectionForeground

public Color SelectionForeground { get; set; }

Property Value

Color

SelectionMode

public int SelectionMode { get; set; }

Property Value

int

SelectionModel

public ListSelectionModel SelectionModel { get; set; }

Property Value

ListSelectionModel

VERTICAL

public static int VERTICAL { get; }

Property Value

int

VERTICAL_WRAP

public static int VERTICAL_WRAP { get; }

Property Value

int

ValueIsAdjusting

public bool ValueIsAdjusting { get; set; }

Property Value

bool

VisibleRowCount

public int VisibleRowCount { get; set; }

Property Value

int

Methods

AddListSelectionListener(ListSelectionListener)

public void AddListSelectionListener(ListSelectionListener arg0)

Parameters

arg0 ListSelectionListener

ListSelectionListener

AddSelectionInterval(int, int)

public void AddSelectionInterval(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

ClearSelection()

public void ClearSelection()

EnsureIndexIsVisible(int)

public void EnsureIndexIsVisible(int arg0)

Parameters

arg0 int

int

GetCellBounds(int, int)

public Rectangle GetCellBounds(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

Rectangle

Rectangle

GetNextMatch(String, int, Bias)

public int GetNextMatch(String arg0, int arg1, Position.Bias arg2)

Parameters

arg0 String

String

arg1 int

int

arg2 Position.Bias

Position.Bias

Returns

int

int

GetScrollableBlockIncrement(Rectangle, int, int)

public int GetScrollableBlockIncrement(Rectangle arg0, int arg1, int arg2)

Parameters

arg0 Rectangle

Rectangle

arg1 int

int

arg2 int

int

Returns

int

int

GetScrollableUnitIncrement(Rectangle, int, int)

public int GetScrollableUnitIncrement(Rectangle arg0, int arg1, int arg2)

Parameters

arg0 Rectangle

Rectangle

arg1 int

int

arg2 int

int

Returns

int

int

IndexToLocation(int)

public Point IndexToLocation(int arg0)

Parameters

arg0 int

int

Returns

Point

Point

IsSelectedIndex(int)

public bool IsSelectedIndex(int arg0)

Parameters

arg0 int

int

Returns

bool

bool

IsSelectionEmpty()

public bool IsSelectionEmpty()

Returns

bool

bool

LocationToIndex(Point)

public int LocationToIndex(Point arg0)

Parameters

arg0 Point

Point

Returns

int

int

RemoveListSelectionListener(ListSelectionListener)

public void RemoveListSelectionListener(ListSelectionListener arg0)

Parameters

arg0 ListSelectionListener

ListSelectionListener

RemoveSelectionInterval(int, int)

public void RemoveSelectionInterval(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

SetListData(Vector)

public void SetListData(Vector arg0)

Parameters

arg0 Vector

Vector

SetListData(object[])

public void SetListData(object[] arg0)

Parameters

arg0 object[]

object

SetSelectedValue(object, bool)

public void SetSelectedValue(object arg0, bool arg1)

Parameters

arg0 object

object

arg1 bool

bool

SetSelectionInterval(int, int)

public void SetSelectionInterval(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

SetUI(ListUI)

public void SetUI(ListUI arg0)

Parameters

arg0 ListUI

ListUI

Operators

implicit operator Accessible(JList)

Converter from JList to Accessible

public static implicit operator Accessible(JList t)

Parameters

t JList

Returns

Accessible

implicit operator Scrollable(JList)

Converter from JList to Scrollable

public static implicit operator Scrollable(JList t)

Parameters

t JList

Returns

Scrollable