Class Window

java.lang.Object
top.untold.frostlumen.core.gui.Window

public class Window extends Object
  • Method Details

    • registerFocusChangeListener

      public void registerFocusChangeListener(Consumer<ParentNode<?>> consumer)
    • unregisterFocusChangeListener

      public void unregisterFocusChangeListener(Consumer<ParentNode<?>> consumer)
    • get

      public static Window get(long windowHandle)
    • from

      public static Window from(long windowHandle)
    • init

      public void init(GuiRender render)
    • init

      public void init(RenderProviderType type)
    • getNodeRoot

      public NodeRoot getNodeRoot()
    • close

      public void close()
    • clear

      public void clear()
    • getClipboard

      public String getClipboard()
    • setClipboard

      public void setClipboard(String clipboard)
    • setPreeditRegion

      public void setPreeditRegion(int x, int y, int width, int height)
    • getRenderThread

      public Thread getRenderThread()
    • isMouseInRange

      public boolean isMouseInRange(int minX, int minY, int maxX, int maxY)
    • setFocusNode

      public void setFocusNode(ParentNode<?> focus)
    • cancelFocused

      public void cancelFocused(ParentNode<?> node)
    • getFocusNode

      public ParentNode<?> 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()