Package top.untold.frostlumen.core.gui
Class ParentNode<T extends ParentNode<T>>
java.lang.Object
top.untold.frostlumen.core.gui.ParentNode<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ScaleOffsetprotected floatprotected intprotected intprotected intprotected intprotected intprotected intprotected final Tprotected ScaleOffset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddChildren(GuiNode<?>... children) voidvoiddispatchKeyEvent(KeyEvent event) voidvoidvoidvoidvoidvoiddispatchRender(GuiRender render, long delta) voidvoidvoidvoidvoidvoidvoidvoidprotected voidforwardFor(Consumer<GuiNode<?>> consumer, CancelableEvent event) intintintintintintgetSize()voidvoidremoveChild(GuiNode<?> child) removeChildren(GuiNode<?>... children) protected voidreverseFor(Consumer<GuiNode<?>> consumer, CancelableEvent event) protected voidvoidvoid
-
Field Details
-
self
-
position
-
size
-
realPositionX
protected int realPositionX -
realPositionY
protected int realPositionY -
realPositionMaxX
protected int realPositionMaxX -
realPositionMaxY
protected int realPositionMaxY -
realSizeX
protected int realSizeX -
realSizeY
protected int realSizeY -
realAngle
protected float realAngle -
children
-
-
Constructor Details
-
ParentNode
public ParentNode()
-
-
Method Details
-
getPosition
-
getSize
-
getRealPositionX
public int getRealPositionX() -
getRealPositionY
public int getRealPositionY() -
getRealPositionMaxX
public int getRealPositionMaxX() -
getRealPositionMaxY
public int getRealPositionMaxY() -
getRealSizeX
public int getRealSizeX() -
getRealSizeY
public int getRealSizeY() -
registerBeforeRenderListener
-
unregisterBeforeRenderListener
-
registerAfterRenderListener
-
unregisterAfterRenderListener
-
dispatchRender
-
dispatchKeyEvent
-
dispatchMouseButtonEvent
-
dispatchMouseMoveEvent
-
dispatchMouseScrollEvent
-
dispatchUserInputTextEvent
-
dispatchUserDropFilesEvent
-
dispatchMouseEnterWindowEvent
-
dispatchMouseLeaveWindowEvent
-
dispatchFrameBufferSizeChangeEvent
-
dispatchUserRequestWindowCloseEvent
-
dispatchWindowCloseEvent
-
dispatchWindowFocusChangeEvent
-
dispatchWindowMinimizeEvent
-
dispatchWindowMaximizeEvent
-
dispatchWindowMoveEvent
-
addChild
-
addChildren
-
removeChild
-
removeChildren
-
getChildren
-
forwardFor
-
reverseFor
-
sortChildren
protected void sortChildren()
-