public class GuiMusicPlaylistList extends GuiScrollableList<GuiMusicPlaylistListEntry>
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 |
|---|
GuiMusicPlaylistList(Playlist playlist) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllEntries() |
protected boolean |
isSelected(int index)
Returns true if the element passed in is currently selected
|
void |
removeAllEntries() |
void |
setSelectedEntry(int index)
Called when the given entry is selected; sets
GuiSlotNew.selectedElement to the index and updates GuiSlotNew.lastClicked. |
void |
setSelectedEntryWhenMove(int index) |
void |
tick() |
void |
updateAllEntries() |
drawBackground, getListWidth, getScrollBarX, removeEntry, updateSettingsaddEntry, clearEntries, drawSlot, getChildren, getSize, mouseClicked, 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 GuiMusicPlaylistList(Playlist playlist)
public void addAllEntries()
public void removeAllEntries()
public void updateAllEntries()
protected boolean isSelected(int index)
GuiListExtendedNewisSelected in class GuiScrollableList<GuiMusicPlaylistListEntry>public void setSelectedEntryWhenMove(int index)
public void setSelectedEntry(int index)
GuiListExtendedNewGuiSlotNew.selectedElement to the index and updates GuiSlotNew.lastClicked.setSelectedEntry in class GuiListExtendedNew<GuiMusicPlaylistListEntry>public void tick()