public static class GUI.GuiLabel
extends net.risingworld.api.gui.GuiLabel
| Constructor and Description |
|---|
GuiLabel(float x,
float y,
boolean relativeposition) |
GuiLabel(java.lang.String text,
float x,
float y,
boolean relativeposition) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getTextOrg()
Daten Text
|
void |
setTextOrg(java.lang.String text)
Daten Text
|
void |
trimTo(net.risingworld.api.objects.Player player,
float maxAbsoluteWidth)
Kürzt den angezeigten Text auf die Maximale Länge
|
void |
trimTo(net.risingworld.api.objects.Player player,
float maxAbsoluteWidth,
java.lang.String araund) |
getFont, getFontColor, getFontSize, getHeight, getText, getWidth, isClickable, isColorCodesEnabled, isRelativeSize, refresh, setClickable, setColorCodesEnabled, setFont, setFontColor, setFontColor, setFontSize, setSize, setTextaddChild, destroy, equals, getAlpha, getBorderColor, getBorderThickness, getChildren, getColor, getHoverColor, getID, getParent, getParentID, getPivot, getPositionX, getPositionY, hashCode, isAlwaysInBackground, isAlwaysOnTop, isRelativeBorderThickness, isRelativePosition, isVisible, onClick, removeAllChildren, removeChild, removeFromParent, setAlpha, setAlwaysInBackground, setAlwaysOnTop, setBorderColor, setBorderColor, setBorderThickness, setColor, setColor, setPivot, setPosition, setVisiblepublic GuiLabel(float x,
float y,
boolean relativeposition)
public GuiLabel(java.lang.String text,
float x,
float y,
boolean relativeposition)
public void setTextOrg(java.lang.String text)
text - setzenpublic java.lang.String getTextOrg()
public void trimTo(net.risingworld.api.objects.Player player,
float maxAbsoluteWidth)
player - maxAbsoluteWidth - Maximale Längepublic void trimTo(net.risingworld.api.objects.Player player,
float maxAbsoluteWidth,
java.lang.String araund)