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 void
Internals.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 void
Internals.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 TypeMethodDescriptionvoid
Player.addUIElement
(UIElement element) Attaches a UI element to the player's HUD.void
Player.addUIElement
(UIElement element, UITarget target) Attaches a UI element to the player's screen (to a specific target, e.g HUD, inventory etc).void
Player.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 TypeClassDescriptionclass
Represents a label.class
Represents a UI mesh.class
A simplified version of theUIMesh
element.class
Represents a dynamic scroll view.class
Represents 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 TypeMethodDescriptionvoid
Attaches an UIElement as "child" to this element.void
UIElement.removeChild
(UIElement child) Removes a child from this element.