public class GuiMusicPlayerList extends GuiScrollableList<info.u_team.music_player.gui.GuiMusicPlayerListEntry>
GuiListExtendedNew.IGuiListEntryNew<E extends GuiListExtendedNew.IGuiListEntryNew<E>>
listWidth, scrollbarPos
amountScrolled, 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, updateSettings
addEntry, clearEntries, drawSlot, getChildren, getSize, mouseClicked, setSelectedEntry, updateItemPos
bindAmountScrolled, 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, setSlotXBoundsFromLeft
focusNext, focusOn, getFocused, setDragging, setFocused
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
keyReleased
canFocus, focusChanged
public 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)
GuiListExtendedNew
isSelected
in class GuiScrollableList<info.u_team.music_player.gui.GuiMusicPlayerListEntry>