public class GuiMusicPlayerList extends GuiScrollableList<info.u_team.music_player.gui.GuiMusicPlayerListEntry>
GuiListExtendedNew.IGuiListEntryNew<E extends GuiListExtendedNew.IGuiListEntryNew<E>>listWidth, scrollbarPosamountScrolled, bottom, centerListVertically, hasListHeader, headerPadding, height, initialClickY, lastClicked, left, mc, right, selectedElement, showSelectionBox, slotHeight, top, visible, width| Constructor and Description |
|---|
GuiMusicPlayerList(int width,
int height,
int top,
int bottom,
int left,
int right) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPlaylist(java.lang.String name) |
Playlists |
getPlaylists() |
protected boolean |
isSelected(int index)
Returns true if the element passed in is currently selected
|
void |
removePlaylist(info.u_team.music_player.gui.GuiMusicPlayerListEntry entry) |
drawBackground, getListWidth, getScrollBarX, removeEntry, updateSettingsaddEntry, clearEntries, drawSlot, getChildren, getSize, mouseClicked, setSelectedEntry, updateItemPosbindAmountScrolled, charTyped, checkScrollbarClick, clickedHeader, drawContainerBackground, drawListHeader, drawScreen, drawSelectionBox, getAmountScrolled, getContentHeight, getEntryAt, getMaxScroll, getSlotHeight, isMouseInList, isVisible, keyPressed, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, overlayBackground, renderDecorations, scrollBy, setDimensions, setHasListHeader, setShowSelectionBox, setSlotXBoundsFromLeftfocusNext, focusOn, getFocused, setDragging, setFocuseddrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitkeyReleasedcanFocus, focusChangedpublic GuiMusicPlayerList(int width,
int height,
int top,
int bottom,
int left,
int right)
public void addPlaylist(java.lang.String name)
public void removePlaylist(info.u_team.music_player.gui.GuiMusicPlayerListEntry entry)
public Playlists getPlaylists()
protected boolean isSelected(int index)
GuiListExtendedNewisSelected in class GuiScrollableList<info.u_team.music_player.gui.GuiMusicPlayerListEntry>