Package top.untold.frostlumen.core.gui
Class Window
java.lang.Object
top.untold.frostlumen.core.gui.Window
WARN:本库暂时不支持多窗口
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidclose()static Windowfrom(long windowHandle, RenderProviderType type) static Windowget(long windowHandle) ParentNode<?> intintdoubledoublelongbooleanisFocus()booleanbooleanbooleanbooleanisMouseInRange(int minX, int minY, int maxX, int maxY) booleanvoidsetFocusNode(ParentNode<?> focus)
-
Method Details
-
get
-
from
-
getNodeRoot
-
close
public void close() -
clear
public void clear() -
isMouseInRange
public boolean isMouseInRange(int minX, int minY, int maxX, int maxY) -
setFocusNode
-
getFocusNode
-
isMouseInWindow
public boolean isMouseInWindow() -
getMouseX
public double getMouseX() -
getMouseY
public double getMouseY() -
getFrameBufferWidth
public int getFrameBufferWidth() -
getFrameBufferHeight
public int getFrameBufferHeight() -
getWindowHandle
public long getWindowHandle() -
isFocus
public boolean isFocus() -
isIconify
public boolean isIconify() -
isMaximize
public boolean isMaximize() -
isMouseClick
public boolean isMouseClick()
-