Class PanelItemBase<T extends IPanelItem>

java.lang.Object
org.rusherhack.client.api.ui.panel.PanelItemBase<T>
All Implemented Interfaces:
IRenderable2D, IPanelItem, org.rusherhack.core.interfaces.IClickable, org.rusherhack.core.interfaces.IHoverable, org.rusherhack.core.interfaces.ITypeable

public abstract class PanelItemBase<T extends IPanelItem> extends Object implements IPanelItem
  • Field Details

    • panel

      protected final PanelBase<?> panel
      Panel that this item belongs to
    • parent

      protected final T extends IPanelItem parent
      Parent item, null if this is a root item
    • subItems

      protected final List<T extends IPanelItem> subItems
      Children items
  • Constructor Details

    • PanelItemBase

      public PanelItemBase(PanelBase<?> panel, T parent)
  • Method Details

    • addSubItem

      public void addSubItem(T item)
    • getSubItemList

      public List<T> getSubItemList()
    • getPanel

      public PanelBase<?> getPanel()
    • getParent

      public T getParent()