Class NMultiPageList<T>

All Implemented Interfaces:
HasLocalTransform, CloneableSmartAsset, Collidable, Savable, JmeCloneable, GuiControlListener, GuiUpdateListener, Cloneable

public class NMultiPageList<T> extends Container implements GuiUpdateListener, GuiControlListener
  • Field Details

  • Constructor Details

    • NMultiPageList

      public NMultiPageList()
  • Method Details

    • setRenderer

      public void setRenderer(Function<T,Panel> renderer)
    • setPageChangeListener

      public void setPageChangeListener(BiConsumer<Integer,Integer> onPageChange)
    • callPageChangeListener

      protected void callPageChangeListener()
    • nextPage

      public void nextPage()
    • previousPage

      public void previousPage()
    • hasPreviousPage

      public boolean hasPreviousPage()
    • hasNextPage

      public boolean hasNextPage()
    • addItem

      public void addItem(T item)
    • removeItem

      public void removeItem(T item)
    • clear

      public void clear()
    • getItem

      public T getItem(int index)
    • getItemCount

      public int getItemCount()
    • removeItem

      public void removeItem(int index)
    • sort

      public void sort(Comparator<T> comparator)
    • guiUpdate

      public void guiUpdate(GuiControl source, float tpf)
      Specified by:
      guiUpdate in interface GuiUpdateListener
    • reshape

      public void reshape(GuiControl source, Vector3f pos, Vector3f size)
      Specified by:
      reshape in interface GuiControlListener
    • focusGained

      public void focusGained(GuiControl source)
      Specified by:
      focusGained in interface GuiControlListener
    • focusLost

      public void focusLost(GuiControl source)
      Specified by:
      focusLost in interface GuiControlListener