Class ListIndex

All Implemented Interfaces:
PointerInterface

public class ListIndex extends Object
A ListModel that provides indices for n items. Use this model to back a gtk.ListView with any Java data structure.
See Also:
  • Constructor Details

    • ListIndex

      public ListIndex(ListItem item)
    • ListIndex

      public ListIndex(PointerContainer cast)
    • ListIndex

      public ListIndex(int size)
    • ListIndex

      public ListIndex()
  • Method Details

    • getTypeID

      public static long getTypeID()
    • getItem

      public ListIndex getItem(int position)
    • getIndex

      public int getIndex()
    • getSize

      public int getSize()
    • setSize

      public void setSize(int size)
    • setIndex

      public void setIndex(int index)
    • asListModel

      public ListModel asListModel()
    • inSingleSelection

      public SingleSelection inSingleSelection()
    • inSelectionModel

      public SelectionModel inSelectionModel()
    • toIndex

      public static int toIndex(ListItem item)