Serialized Form
-
Package net.risingworld.api.ui
-
Class net.risingworld.api.ui.UIElement
class UIElement extends Object implements Serializable-
Serialized Fields
-
childs
ArrayList<UIElement> childs
Childs (never null) -
clickable
boolean clickable
Clickable -
hoverStyle
Style hoverStyle
The hover style of this element. Becomes active when hovering this element with the cursor, but only ifUIElement.setClickable(boolean)
was set to true. After changing the style, remember to callUIElement.updateStyle()
, so the changes are synced with the player -
id
int id
The unique id of this element -
parent
UIElement parent
Parent element -
pickable
boolean pickable
Picking mode (true for Picking, false for Ignore) -
style
Style style
The style of this element. After changing it, remember to callUIElement.updateStyle()
, so the changes are synced with the player -
styleSheetClassList
String[] styleSheetClassList
Style sheet class list. Null if no style sheet classes were assigned -
styleSheets
int[] styleSheets
Style sheets. Null if no style sheet was assigned
-
-
-
Class net.risingworld.api.ui.UILabel
class UILabel extends UIElement implements Serializable-
Serialized Fields
-
enableRichText
boolean enableRichText
Determines if rich text is enabled or not -
text
String text
Currently set text. May be null (if no text is set)
-
-
-
Class net.risingworld.api.ui.UIMesh
class UIMesh extends UIElement implements Serializable-
Serialized Fields
-
indices
ArrayList<Short> indices
-
texture
TextureAsset texture
-
vertices
ArrayList<net.risingworld.api.ui.UIMesh.UIVertex> vertices
-
-
-
Class net.risingworld.api.ui.UIPainter2D
class UIPainter2D extends UIElement implements Serializable-
Serialized Fields
-
commands
ArrayList<byte[]> commands
-
size
int size
-
-
-
Class net.risingworld.api.ui.UITextField
class UITextField extends UIElement implements Serializable-
Serialized Fields
-
isMasked
boolean isMasked
-
maskedCharacter
char maskedCharacter
-
maxCharacters
int maxCharacters
-
multiline
boolean multiline
-
placeholderText
String placeholderText
Placeholder text that is visible if there is no text in the text field. Default: null -
readonly
boolean readonly
-
text
String text
Default text (after calling setText()). This does not represent the text the player may have entered!
-
-
-
-
Package net.risingworld.api.utils
-
Class net.risingworld.api.utils.Vector3f
class Vector3f extends Object implements Serializable-
Serialized Fields
-
x
float x
The X value of this vector -
y
float y
The Y value of this vector -
z
float z
The Z value of this vector
-
-
-