Component
, TextGUIElement
public class GUIBackdrop extends EmptySpace
Constructor | Description |
---|---|
GUIBackdrop() |
Modifier and Type | Method | Description |
---|---|---|
protected ComponentRenderer<EmptySpace> |
createDefaultRenderer() |
When you create a custom component, you need to implement this method and return a Renderer which is responsible
for taking care of sizing the component, rendering it and choosing where to place the cursor (if Interactable).
|
addTo, calculatePreferredSize, draw, getBasePane, getGlobalPosition, getLayoutData, getParent, getPosition, getPreferredSize, getRenderer, getSize, getTextGUI, getTheme, getThemeDefinition, hasParent, invalidate, isInside, isInvalid, isVisible, onAdded, onAfterDrawing, onBeforeDrawing, onRemoved, runOnGUIThreadIfExistsOtherwiseRunDirect, self, setLayoutData, setPosition, setPreferredSize, setRenderer, setSize, setTheme, setVisible, toBasePane, toGlobal, withBorder
getColor, setColor
protected ComponentRenderer<EmptySpace> createDefaultRenderer()
AbstractComponent
createDefaultRenderer
in class EmptySpace
Copyright © 2020. All rights reserved.