Package foundry.veil.impl.client.editor
Class DeferredEditor
java.lang.Object
foundry.veil.api.client.editor.SingleWindowEditor
foundry.veil.impl.client.editor.DeferredEditor
- All Implemented Interfaces:
Editor
,AutoCloseable
,org.lwjgl.system.NativeResource
-
Field Summary
Fields inherited from class foundry.veil.api.client.editor.SingleWindowEditor
open
Fields inherited from interface foundry.veil.api.client.editor.Editor
DEFAULT_GROUP, DEFERRED_GROUP, EXAMPLE_GROUP, INFO_GROUP, RENDERER_GROUP, RESOURCE_GROUP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.network.chat.Component
net.minecraft.network.chat.Component
getGroup()
boolean
protected void
Adds all components inside the window.Methods inherited from class foundry.veil.api.client.editor.SingleWindowEditor
getWindowTitle, onShow, render
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface foundry.veil.api.client.editor.Editor
free, isMenuBarEnabled, isOpen, onHide, renderLast, renderMenuBar
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
Field Details
-
TITLE
public static final net.minecraft.network.chat.Component TITLE
-
-
Constructor Details
-
DeferredEditor
public DeferredEditor()
-
-
Method Details
-
getDisplayName
public net.minecraft.network.chat.Component getDisplayName()- Returns:
- The visible display name of this editor
-
getGroup
public net.minecraft.network.chat.Component getGroup()- Returns:
- The name of the tab group to put this editor in
-
renderComponents
protected void renderComponents()Description copied from class:SingleWindowEditor
Adds all components inside the window.- Specified by:
renderComponents
in classSingleWindowEditor
-
isEnabled
public boolean isEnabled()- Returns:
- Whether this editor should be selectable.
-