@Environment(value=CLIENT) class RealmsPendingInvitesScreen.PendingInvitationSelectionListEntry extends AlwaysSelectedEntryListWidget.Entry<RealmsPendingInvitesScreen.PendingInvitationSelectionListEntry>
Modifier and Type | Class and Description |
---|---|
(package private) class |
RealmsPendingInvitesScreen.PendingInvitationSelectionListEntry.AcceptButton |
(package private) class |
RealmsPendingInvitesScreen.PendingInvitationSelectionListEntry.RejectButton |
Modifier and Type | Field and Description |
---|---|
private List<RealmsAcceptRejectButton> |
buttons |
private PendingInvite |
mPendingInvite |
Constructor and Description |
---|
PendingInvitationSelectionListEntry(PendingInvite pendingInvite) |
Modifier and Type | Method and Description |
---|---|
boolean |
mouseClicked(double mouseX,
double mouseY,
int button)
Callback for when a mouse button down event
has been captured.
|
void |
render(MatrixStack matrices,
int index,
int y,
int x,
int entryWidth,
int entryHeight,
int mouseX,
int mouseY,
boolean hovered,
float tickDelta) |
private void |
renderPendingInvitationItem(MatrixStack matrixStack,
PendingInvite pendingInvite,
int int2,
int int3,
int int4,
int int5) |
changeFocus
isMouseOver
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
charTyped, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
private final PendingInvite mPendingInvite
private final List<RealmsAcceptRejectButton> buttons
PendingInvitationSelectionListEntry(PendingInvite pendingInvite)
public void render(MatrixStack matrices, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta)
render
in class EntryListWidget.Entry<RealmsPendingInvitesScreen.PendingInvitationSelectionListEntry>
public boolean mouseClicked(double mouseX, double mouseY, int button)
GLFW
class.mouseX
- the X coordinate of the mousemouseY
- the Y coordinate of the mousebutton
- the mouse button numbertrue
to indicate that the event handling is successful/validMouse.onMouseButton(long, int, int, int)
,
GLFW.GLFW_MOUSE_BUTTON_1
private void renderPendingInvitationItem(MatrixStack matrixStack, PendingInvite pendingInvite, int int2, int int3, int int4, int int5)