Interface EntryViewModel


public interface EntryViewModel
A view model for a single entry in a JScrollPanels.
  • Method Summary

    Modifier and Type
    Method
    Description
    sprouts.Var<Boolean>
    This method implies the existence of a boolean property in this view model determining whether the entry is currently selected or not.
    sprouts.Var<Integer>
    This method implies the existence of an integer property in this view model determining the position of the entry in the list of all entries.
  • Method Details

    • isSelected

      sprouts.Var<Boolean> isSelected()
      This method implies the existence of a boolean property in this view model determining whether the entry is currently selected or not.
      Returns:
      A Var instance representing the selected state of the entry.
    • position

      sprouts.Var<Integer> position()
      This method implies the existence of an integer property in this view model determining the position of the entry in the list of all entries.
      Returns:
      A Var instance representing the position of the entry.