Class LightListItem<T>

    • Constructor Detail

      • LightListItem

        public LightListItem​(T data,
                             LightList<T> parent)
        Constructor.
        Parameters:
        data - - item data. Cannot be null.
        parent - - parent of this item. Should be instance of LightList. Cannot be null.
      • LightListItem

        public LightListItem​(T data,
                             LightList<T> parent,
                             org.eclipse.jface.viewers.StyledString text,
                             org.eclipse.swt.graphics.Image image)
        Constructor.
        Parameters:
        data - - item data. Cannot be null.
        parent - - parent of this item. Should be instance of LightList. Cannot be null.
        text - - item text. Cannot be null.
        image - - item image. Can be null.