Class Collection
java.lang.Object
com.pixelmonmod.api.client.screen.widget.StatefulWidget<Collection>
com.pixelmonmod.api.client.screen.widget.misc.Collection
- All Implemented Interfaces:
ResearchLike
,States<Collection>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncolor
(WidgetRenderState<Collection> state) void
copyState
(ResearchLike like) static Collection
create
(ClientResearch research) onKeyPressed
(Action action, int keyCode, int scanCode, int modifiers) onKeyReleased
(Action action, int keyCode, int scanCode, int modifiers) onMouseClicked
(Action action, double mouseX, double mouseY, int button) onMouseDragged
(Action action, double mouseX, double mouseY, int button, double deltaX, double deltaY) onMouseReleased
(Action action, double mouseX, double mouseY, int button) onMouseScrolled
(Action action, double mouseX, double mouseY, double deltaX, double deltaY) void
render
(WidgetRenderState<Collection> state) research
(ClientResearch research) void
tick()
boolean
update
(ClientResearch research) Methods inherited from class com.pixelmonmod.api.client.screen.widget.StatefulWidget
bounds, boundsOffset, boundsOffset, boundsOffset, child, children, contains, contains, defaultTypeface, draggableInternal, draggedInternal, enabledInternal, equals, focusableInternal, focusedInternal, hashCode, hoverableInternal, hoveredInternal, index, index, init, init, initInternal, minecraft, offset, offset, offset, onCharTyped, onCharTypedInternal, onKeyPressedInternal, onKeyReleasedInternal, onMouseClickedInternal, onMouseDraggedInternal, onMouseMoved, onMouseMovedInternal, onMousePressedInternal, onMouseReleasedInternal, onMouseScrolledInternal, owner, owner, parent, parent, play, play, play, play, play, play, playClick, player, position, position, position, position, positionRemap, positionRemap, postRender, postRender, postTick, preRender, preRender, preTick, rawPosition, rawSize, renderInternal, self, size, size, size, size, sizeRemap, sizeRemap, stateInternal, tickableInternal, tickInternal, toString, transform, transform, uid, visibleInternal, widget
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.pixelmonmod.api.client.screen.widget.States
active, disable, disabled, doesNotTick, draggable, draggable, dragged, dragged, enable, enabled, enabled, focusable, focusable, focused, focused, hidden, hide, hoverable, hoverable, hovered, hovered, inactive, noTicks, receivesTicks, show, state, state, state, tickable, ticks, visible, visible
-
Constructor Details
-
Collection
protected Collection()
-
-
Method Details
-
create
-
research
-
color
-
update
- Specified by:
update
in interfaceResearchLike
-
render
- Overrides:
render
in classStatefulWidget<Collection>
-
color
-
onMouseReleased
- Overrides:
onMouseReleased
in classStatefulWidget<Collection>
-
onMouseDragged
public Action onMouseDragged(Action action, double mouseX, double mouseY, int button, double deltaX, double deltaY) - Overrides:
onMouseDragged
in classStatefulWidget<Collection>
-
onMouseClicked
- Overrides:
onMouseClicked
in classStatefulWidget<Collection>
-
tick
public void tick()- Overrides:
tick
in classStatefulWidget<Collection>
-
onKeyPressed
- Overrides:
onKeyPressed
in classStatefulWidget<Collection>
-
onKeyReleased
- Overrides:
onKeyReleased
in classStatefulWidget<Collection>
-
onMouseScrolled
public Action onMouseScrolled(Action action, double mouseX, double mouseY, double deltaX, double deltaY) - Overrides:
onMouseScrolled
in classStatefulWidget<Collection>
-
copyState
- Specified by:
copyState
in interfaceResearchLike
-
colorTable
- Overrides:
colorTable
in classStatefulWidget<Collection>
-