public class SpectatorMenu
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
SpectatorMenu.EndSpectatorObject |
(package private) static class |
SpectatorMenu.MoveMenuObject |
Modifier and Type | Field and Description |
---|---|
private ISpectatorMenuView |
category |
private static ISpectatorMenuObject |
CLOSE_ITEM |
static ISpectatorMenuObject |
EMPTY_SLOT |
private ISpectatorMenuRecipient |
listener |
private int |
page |
private java.util.List<SpectatorDetails> |
previousCategories |
private static ISpectatorMenuObject |
SCROLL_LEFT |
private static ISpectatorMenuObject |
SCROLL_RIGHT_DISABLED |
private static ISpectatorMenuObject |
SCROLL_RIGHT_ENABLED |
private int |
selectedSlot |
Constructor and Description |
---|
SpectatorMenu(ISpectatorMenuRecipient menu) |
Modifier and Type | Method and Description |
---|---|
void |
exit() |
SpectatorDetails |
getCurrentPage() |
ISpectatorMenuObject |
getItem(int index) |
java.util.List<ISpectatorMenuObject> |
getItems() |
ISpectatorMenuView |
getSelectedCategory() |
ISpectatorMenuObject |
getSelectedItem() |
int |
getSelectedSlot() |
void |
selectCategory(ISpectatorMenuView menuView) |
void |
selectSlot(int slotIn) |
private static final ISpectatorMenuObject CLOSE_ITEM
private static final ISpectatorMenuObject SCROLL_LEFT
private static final ISpectatorMenuObject SCROLL_RIGHT_ENABLED
private static final ISpectatorMenuObject SCROLL_RIGHT_DISABLED
public static final ISpectatorMenuObject EMPTY_SLOT
private final ISpectatorMenuRecipient listener
private final java.util.List<SpectatorDetails> previousCategories
private ISpectatorMenuView category
private int selectedSlot
private int page
public SpectatorMenu(ISpectatorMenuRecipient menu)
public ISpectatorMenuObject getItem(int index)
public java.util.List<ISpectatorMenuObject> getItems()
public ISpectatorMenuObject getSelectedItem()
public ISpectatorMenuView getSelectedCategory()
public void selectSlot(int slotIn)
public void exit()
public int getSelectedSlot()
public void selectCategory(ISpectatorMenuView menuView)
public SpectatorDetails getCurrentPage()