Class Assignment
java.lang.Object
com.pixelmonmod.api.client.screen.widget.StatefulWidget<Assignment>
com.pixelmonmod.api.client.screen.widget.misc.Assignment
- All Implemented Interfaces:
ResearchLike,States<Assignment>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassignment(ClientResearch assignment) booleancolor(WidgetRenderState<Assignment> state) voidcopy(ResearchLike like) static Assignmentcreate(ClientResearch assignment) data()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) onMouseReleased(Action action, double mouseX, double mouseY, int button) voidrender(WidgetRenderState<Assignment> state) voidsetCollapsedState(boolean collapsed) voidtick()booleanupdate(ClientResearch assignment) 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, onMouseClickedInternal, onMouseDragged, onMouseDraggedInternal, onMouseMoved, onMouseMovedInternal, onMousePressedInternal, onMouseReleasedInternal, onMouseScrolled, onMouseScrolledInternal, owner, owner, parent, parent, play, play, play, play, play, play, playClick, player, position, position, position, position, positionRemap, positionRemap, postMouseClicked, postRender, postRender, postTick, preMouseClicked, preRender, preRender, preTick, rawPosition, rawSize, renderInternal, self, size, size, size, size, sizeRemap, sizeRemap, stateInternal, tickableInternal, tickInternal, toString, transform, transform, uid, updateBounds, visibleInternal, widgetMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.pixelmonmod.api.client.screen.widget.misc.ResearchLike
toggleCollapsedStateMethods 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
-
Assignment
protected Assignment()
-
-
Method Details
-
create
-
assignment
-
color
-
update
- Specified by:
updatein interfaceResearchLike
-
render
- Overrides:
renderin classStatefulWidget<Assignment>
-
color
-
onMouseReleased
- Overrides:
onMouseReleasedin classStatefulWidget<Assignment>
-
onMouseClicked
- Overrides:
onMouseClickedin classStatefulWidget<Assignment>
-
tick
public void tick()- Overrides:
tickin classStatefulWidget<Assignment>
-
onKeyPressed
- Overrides:
onKeyPressedin classStatefulWidget<Assignment>
-
onKeyReleased
- Overrides:
onKeyReleasedin classStatefulWidget<Assignment>
-
copy
- Specified by:
copyin interfaceResearchLike
-
colorTable
- Overrides:
colorTablein classStatefulWidget<Assignment>
-
data
- Specified by:
datain interfaceResearchLike
-
collapsed
public boolean collapsed()- Specified by:
collapsedin interfaceResearchLike
-
setCollapsedState
public void setCollapsedState(boolean collapsed) - Specified by:
setCollapsedStatein interfaceResearchLike
-