Uses of Class
net.risingworld.api.ui.UIElement
Packages that use UIElement
Package
Description
-
Uses of UIElement in net.risingworld.api
Methods in net.risingworld.api with parameters of type UIElementModifier and TypeMethodDescriptionstatic voidInternals.addUIElementToPlayer(Player player, UIElement element, String target) Same asPlayer.addUIElement(net.risingworld.api.ui.UIElement), but allows you to set an arbitrary UI target (defined by the UI element path).static voidInternals.overwriteInnerUIStyle(Player player, UIElement element, String innerPath, Style style) Overwrites the style of a nested element of a UI element. -
Uses of UIElement in net.risingworld.api.events.player.ui
Methods in net.risingworld.api.events.player.ui that return UIElementModifier and TypeMethodDescriptionPlayerUIElementClickEvent.getUIElement()Gets the UI element that was clicked. -
Uses of UIElement in net.risingworld.api.objects
Methods in net.risingworld.api.objects that return UIElementModifier and TypeMethodDescriptionPlayer.getAllUIElements(boolean includeFromOtherPlugins) Gets all UI elements which were added to the player's screen.Methods in net.risingworld.api.objects with parameters of type UIElementModifier and TypeMethodDescriptionvoidPlayer.addUIElement(UIElement element) Attaches a UI element to the player's HUD.voidPlayer.addUIElement(UIElement element, UITarget target) Attaches a UI element to the player's screen (to a specific target, e.g HUD, inventory etc).voidPlayer.removeUIElement(UIElement element) Removes a UI element from the player's screen. -
Uses of UIElement in net.risingworld.api.ui
Subclasses of UIElement in net.risingworld.api.uiModifier and TypeClassDescriptionclassRepresents a label.classRepresents a UI mesh.classA simplified version of theUIMeshelement.classRepresents a dynamic scroll view.classRepresents a text field, i.e an element where the player can enter text.Methods in net.risingworld.api.ui that return UIElementModifier and TypeMethodDescriptionUIElement.getParent()Gets the current parent UI element, or null if this element has no parent.Methods in net.risingworld.api.ui that return types with arguments of type UIElementModifier and TypeMethodDescriptionUIElement.getChilds()Gets an unmodifiable list of all children of this element.Methods in net.risingworld.api.ui with parameters of type UIElementModifier and TypeMethodDescriptionvoidAttaches an UIElement as "child" to this element.voidUIElement.removeChild(UIElement child) Removes a child from this element.