Class McbsEditorNullTabGUI
java.lang.Object
com.thecsdev.common.scene.Node<com.thecsdev.commonmc.api.client.gui.TElement>
com.thecsdev.commonmc.api.client.gui.TElement
com.thecsdev.betterstats.api.mcbs.view.tab.McbsEditorTabGUI<McbsEditorNullTab>
com.thecsdev.betterstats.api.mcbs.view.tab.McbsEditorNullTabGUI
- All Implemented Interfaces:
com.thecsdev.common.scene.INode<com.thecsdev.commonmc.api.client.gui.TElement>, com.thecsdev.common.scene.INodeBounded<com.thecsdev.commonmc.api.client.gui.TElement, com.thecsdev.common.math.Bounds2i>, com.thecsdev.common.scene.INodeRenderable<com.thecsdev.commonmc.api.client.gui.TElement, com.thecsdev.commonmc.api.client.gui.render.TGuiGraphics>, Iterable<com.thecsdev.commonmc.api.client.gui.TElement>, Collection<com.thecsdev.commonmc.api.client.gui.TElement>
@Environment(CLIENT)
public final class McbsEditorNullTabGUI
extends McbsEditorTabGUI<McbsEditorNullTab>
McbsEditorTabGUI implementation that is used as fallback for
when no tabs are selected.- See Also:
-
Field Summary
Fields inherited from class com.thecsdev.commonmc.api.client.gui.TElement
eInitialized -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final voidinitNoStatsGUI(@NotNull com.thecsdev.commonmc.api.client.gui.TElement target) Initializes GUI that is shown when no statistics can be shown.protected final voidSubclasses should implement this method to initialize the GUI components specific to the associatedMcbsEditorTab.Methods inherited from class McbsEditorTabGUI
bootstrap, createTabGui, getEditorTab, initCallback, registerFactory, tickCallbackMethods inherited from class com.thecsdev.commonmc.api.client.gui.TElement
addRel, boundsProperty, clearAndInit, clipsDescendantsProperty, contextMenuProperty, dragEndCallback, dragStartCallback, findElementAt, focusableProperty, focusGainedCallback, focusLostCallback, forEachVisible, getBaseType, getBounds, getClient, getContentBounds, getCursor, getSelf, getTooltip, hoverableProperty, hoverGainedCallback, hoverLostCallback, inputCallback, invalidateTooltipCache, isFocusable, isFocused, isHoverable, isHovered, isHoveredOrFocused, isVisible, move, moveChildren, moveTo, postRenderCallback, removeRel, renderCallback, screenProperty, setBounds, setBounds, setBounds, showContextMenu, tooltipProperty, toString, visiblePropertyMethods inherited from class com.thecsdev.common.scene.Node
add, addAll, childAddedCallback, childRemovedCallback, clear, contains, containsAll, equals, findChild, findParent, findSibling, forEach, get, getFirst, getLast, getParent, hashCode, indexOf, isEmpty, iterator, parentProperty, remove, remove, remove, removeAll, retainAll, rootProperty, size, toArray, toArray
-
Constructor Details
-
McbsEditorNullTabGUI
public McbsEditorNullTabGUI(@NotNull @NotNull McbsEditorNullTab editorTab) throws NullPointerException - Throws:
NullPointerException
-
-
Method Details
-
initTabGuiCallback
protected final void initTabGuiCallback()Description copied from class:McbsEditorTabGUISubclasses should implement this method to initialize the GUI components specific to the associatedMcbsEditorTab. This method is called during the initialization phase of the GUI lifecycle.- Specified by:
initTabGuiCallbackin classMcbsEditorTabGUI<McbsEditorNullTab>- See Also:
-
initNoStatsGUI
public static final void initNoStatsGUI(@NotNull @NotNull com.thecsdev.commonmc.api.client.gui.TElement target) throws NullPointerException Initializes GUI that is shown when no statistics can be shown.- Parameters:
target- The targetTElementwhere the GUI is to be initialized.- Throws:
NullPointerException- If the argument isnull.
-