Class JList
public class JList : JComponent, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Component>JList
- 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)
public JList(Vector arg0)
Parameters
JList(ListModel)
public JList(ListModel 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[]
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 Model { get; set; }
Property Value
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 object PrototypeCellValue { get; set; }
Property Value
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 object SelectedValue { get; }
Property Value
SelectedValuesList
public List SelectedValuesList { get; }
Property Value
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(Vector)
public void SetListData(Vector arg0)
Parameters
SetListData(object[])
public void SetListData(object[] arg0)
Parameters
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)
Converter from JList to Accessible
public static implicit operator Accessible(JList t)
Parameters
t
JList
Returns
implicit operator Scrollable(JList)
Converter from JList to Scrollable
public static implicit operator Scrollable(JList t)
Parameters
t
JList