Class JList<E>
public class JList<E> : JComponent, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Type Parameters
E
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Component>JList<E>
- 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.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
JList()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public JList()
JList(Vector<E>)
public JList(Vector<E> arg0)
Parameters
JList(ListModel<E>)
public JList(ListModel<E> arg0)
Parameters
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[]
JList(E[])
public JList(E[] arg0)
Parameters
arg0
E[]E
Properties
AnchorSelectionIndex
public int AnchorSelectionIndex { 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
CellRenderer
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#getCellRenderer() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#setCellRenderer(javax.swing.ListCellRenderer)
public ListCellRenderer CellRenderer { get; set; }
Property Value
DragEnabled
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#getDragEnabled() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#setDragEnabled(boolean)
public bool DragEnabled { get; set; }
Property Value
DropMode
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#getDropMode() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#setDropMode(javax.swing.DropMode)
public DropMode DropMode { get; set; }
Property Value
FirstVisibleIndex
public int FirstVisibleIndex { get; }
Property Value
FixedCellHeight
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#getFixedCellHeight() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#setFixedCellHeight(int)
public int FixedCellHeight { get; set; }
Property Value
FixedCellWidth
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#getFixedCellWidth() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#setFixedCellWidth(int)
public int FixedCellWidth { get; set; }
Property Value
GetDropLocation
public JList.DropLocation GetDropLocation { get; }
Property Value
HORIZONTAL_WRAP
public static int HORIZONTAL_WRAP { 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
LastVisibleIndex
public int LastVisibleIndex { get; }
Property Value
LayoutOrientation
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#getLayoutOrientation() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#setLayoutOrientation(int)
public int LayoutOrientation { get; set; }
Property Value
LeadSelectionIndex
public int LeadSelectionIndex { get; }
Property Value
ListSelectionListeners
public ListSelectionListener[] ListSelectionListeners { get; }
Property Value
MaxSelectionIndex
public int MaxSelectionIndex { get; }
Property Value
MinSelectionIndex
public int MinSelectionIndex { get; }
Property Value
Model
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#getModel() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#setModel(javax.swing.ListModel)
public ListModel<E> Model { get; set; }
Property Value
- ListModel<E>
PreferredScrollableViewportSize
public Dimension PreferredScrollableViewportSize { get; }
Property Value
PrototypeCellValue
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#getPrototypeCellValue() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#setPrototypeCellValue(java.lang.Object)
public E PrototypeCellValue { get; set; }
Property Value
- E
ScrollableTracksViewportHeight
public bool ScrollableTracksViewportHeight { get; }
Property Value
ScrollableTracksViewportWidth
public bool ScrollableTracksViewportWidth { get; }
Property Value
SelectedIndex
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#getSelectedIndex() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#setSelectedIndex(int)
public int SelectedIndex { get; set; }
Property Value
SelectedIndices
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#getSelectedIndices() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#setSelectedIndices(int[])
public int[] SelectedIndices { get; set; }
Property Value
- int[]
SelectedValue
public E SelectedValue { get; }
Property Value
- E
SelectedValuesList
public List<E> SelectedValuesList { get; }
Property Value
- List<E>
SelectionBackground
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#getSelectionBackground() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#setSelectionBackground(java.awt.Color)
public Color SelectionBackground { get; set; }
Property Value
SelectionForeground
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#getSelectionForeground() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#setSelectionForeground(java.awt.Color)
public Color SelectionForeground { get; set; }
Property Value
SelectionMode
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#getSelectionMode() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#setSelectionMode(int)
public int SelectionMode { get; set; }
Property Value
SelectionModel
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#getSelectionModel() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#setSelectionModel(javax.swing.ListSelectionModel)
public ListSelectionModel SelectionModel { get; set; }
Property Value
VERTICAL
public static int VERTICAL { get; }
Property Value
VERTICAL_WRAP
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#VERTICAL_WRAP
public static int VERTICAL_WRAP { get; }
Property Value
ValueIsAdjusting
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#getValueIsAdjusting() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#setValueIsAdjusting(boolean)
public bool ValueIsAdjusting { get; set; }
Property Value
VisibleRowCount
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#getVisibleRowCount() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JList.html#setVisibleRowCount(int)
public int VisibleRowCount { get; set; }
Property Value
Methods
AddListSelectionListener(ListSelectionListener)
public void AddListSelectionListener(ListSelectionListener arg0)
Parameters
AddSelectionInterval(int, int)
public void AddSelectionInterval(int arg0, int arg1)
Parameters
ClearSelection()
public void ClearSelection()
EnsureIndexIsVisible(int)
public void EnsureIndexIsVisible(int arg0)
Parameters
GetCellBounds(int, int)
public Rectangle GetCellBounds(int arg0, int arg1)
Parameters
Returns
GetNextMatch(String, int, Bias)
public int GetNextMatch(String arg0, int arg1, Position.Bias arg2)
Parameters
Returns
GetScrollableBlockIncrement(Rectangle, int, int)
public int GetScrollableBlockIncrement(Rectangle arg0, int arg1, int arg2)
Parameters
Returns
GetScrollableUnitIncrement(Rectangle, int, int)
public int GetScrollableUnitIncrement(Rectangle arg0, int arg1, int arg2)
Parameters
Returns
IndexToLocation(int)
public Point IndexToLocation(int arg0)
Parameters
Returns
IsSelectedIndex(int)
public bool IsSelectedIndex(int arg0)
Parameters
Returns
IsSelectionEmpty()
public bool IsSelectionEmpty()
Returns
LocationToIndex(Point)
public int LocationToIndex(Point arg0)
Parameters
Returns
RemoveListSelectionListener(ListSelectionListener)
public void RemoveListSelectionListener(ListSelectionListener arg0)
Parameters
RemoveSelectionInterval(int, int)
public void RemoveSelectionInterval(int arg0, int arg1)
Parameters
SetListData(E[])
public void SetListData(E[] arg0)
Parameters
arg0
E[]E
SetListData<Arg0ExtendsE>(Vector<Arg0ExtendsE>)
public void SetListData<Arg0ExtendsE>(Vector<Arg0ExtendsE> arg0) where Arg0ExtendsE : E
Parameters
Type Parameters
Arg0ExtendsE
E
SetSelectedValue(object, bool)
public void SetSelectedValue(object arg0, bool arg1)
Parameters
SetSelectionInterval(int, int)
public void SetSelectionInterval(int arg0, int arg1)
Parameters
SetUI(ListUI)
public void SetUI(ListUI arg0)
Parameters
Operators
implicit operator Accessible(JList<E>)
Converter from JList<E> to Accessible
public static implicit operator Accessible(JList<E> t)
Parameters
t
JList<E>
Returns
implicit operator JList(JList<E>)
public static implicit operator JList(JList<E> t)
Parameters
t
JList<E>
Returns
implicit operator Scrollable(JList<E>)
Converter from JList<E> to Scrollable
public static implicit operator Scrollable(JList<E> t)
Parameters
t
JList<E>