Interface TierListener<T>


public interface TierListener<T>
Listener for tier group changes.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    groupAdded(Tier<T> tier, int index, T value)
    Called when a new group has been added to a tier
    void
    groupChanged(Tier<T> tier, int index, T oldValue, T value)
    Called when the value of a group changes
    void
    groupRemoved(Tier<T> tier, int index, T value)
    Called when a group is removed from a tier
    void
    Called when all groups have been removed from a tier
  • Method Details

    • groupAdded

      void groupAdded(Tier<T> tier, int index, T value)
      Called when a new group has been added to a tier
      Parameters:
      tier -
      index -
      value -
    • groupRemoved

      void groupRemoved(Tier<T> tier, int index, T value)
      Called when a group is removed from a tier
      Parameters:
      tier -
      index -
      value -
    • groupChanged

      void groupChanged(Tier<T> tier, int index, T oldValue, T value)
      Called when the value of a group changes
      Parameters:
      tier -
      index -
      oldValue -
      value -
    • groupsCleared

      void groupsCleared(Tier<T> tier)
      Called when all groups have been removed from a tier
      Parameters:
      tier -