Package de.chaoswg.gui
Klasse UIFrame
java.lang.Object
net.risingworld.api.ui.UIElement
de.chaoswg.gui.UIFrame
- Alle implementierten Schnittstellen:
Serializable,net.risingworld.api.events.Listener
public final class UIFrame
extends net.risingworld.api.ui.UIElement
implements net.risingworld.api.events.Listener
Hauptfenster Klasse
- Seit:
- 0.0.5
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic interfacestatic interfacestatic interface -
Feldübersicht
Von Klasse geerbte Felder net.risingworld.api.ui.UIElement
hoverStyle, style -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungUIFrame(net.risingworld.api.objects.Player player, net.risingworld.api.utils.ColorRGBA BackgroundColor, StyleUI.Frame frameStyle) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidaddChild(net.risingworld.api.ui.UIElement child) intList<net.risingworld.api.ui.UIElement>net.risingworld.api.ui.UIElementgetTitle()net.risingworld.api.ui.UIElementbooleanisDebug()voidmakeTietle(String title) voidmakeTietle(String title, StyleUI.Frame styleTitle) voidonFrameUIElementClickEvent(net.risingworld.api.events.player.ui.PlayerUIElementClickEvent event) voidvoidremoveChild(net.risingworld.api.ui.UIElement child) voidsetBackgroundColor(float r, float g, float b, float a) voidsetBackgroundColor(int rgba) voidsetDebug(boolean debug) voidsetFacIcon(float facIcon) voidsetOnClick(UIFrame.CallbackOnClick onClick) voidsetOnExit(UIFrame.CallbackOnExit onExit) voidsetOnShow(UIFrame.CallbackOnShow onShow) voidsetPosition(float x, float y, boolean precent) voidvoidsetTitleStyle(StyleUI.Frame frameStyle) voidsetVisible(boolean visible) Von Klasse geerbte Methoden net.risingworld.api.ui.UIElement
addStyleSheet, addToClassList, getChildCount, getChilds, getID, getParent, isClickable, onClick, removeFromClassList, removeFromParent, removeStyleSheet, resetPivot, resetPosition, setBorder, setBorderColor, setBorderEdgeRadius, setClickable, setOpacity, setPickable, setPivot, setSize, updateStyle
-
Konstruktordetails
-
UIFrame
public UIFrame(net.risingworld.api.objects.Player player, net.risingworld.api.utils.ColorRGBA BackgroundColor, StyleUI.Frame frameStyle) - Parameter:
player-BackgroundColor-frameStyle-- Seit:
- 0.0.5
-
-
Methodendetails
-
isDebug
public boolean isDebug() -
setDebug
public void setDebug(boolean debug) -
getTietle
public net.risingworld.api.ui.UIElement getTietle() -
getTitle
-
setTitle
-
setFacIcon
public void setFacIcon(float facIcon) -
getTitleStyle
-
setTitleStyle
-
getScreenResolution
-
setOnExit
-
setOnShow
-
setOnClick
-
setBackgroundColor
public void setBackgroundColor(int rgba) - Setzt außer Kraft:
setBackgroundColorin Klassenet.risingworld.api.ui.UIElement
-
setBackgroundColor
public void setBackgroundColor(float r, float g, float b, float a) - Setzt außer Kraft:
setBackgroundColorin Klassenet.risingworld.api.ui.UIElement
-
setVisible
public void setVisible(boolean visible) - Setzt außer Kraft:
setVisiblein Klassenet.risingworld.api.ui.UIElement
-
getUiContent
public net.risingworld.api.ui.UIElement getUiContent() -
addChild
public void addChild(net.risingworld.api.ui.UIElement child) - Setzt außer Kraft:
addChildin Klassenet.risingworld.api.ui.UIElement
-
removeAllChilds
public void removeAllChilds()- Setzt außer Kraft:
removeAllChildsin Klassenet.risingworld.api.ui.UIElement
-
removeChild
public void removeChild(net.risingworld.api.ui.UIElement child) - Setzt außer Kraft:
removeChildin Klassenet.risingworld.api.ui.UIElement
-
getContentChildCount
public int getContentChildCount() -
getContentChilds
-
setPosition
public void setPosition(float x, float y, boolean precent) - Setzt außer Kraft:
setPositionin Klassenet.risingworld.api.ui.UIElement
-
makeTietle
-
makeTietle
-
onFrameUIElementClickEvent
public void onFrameUIElementClickEvent(net.risingworld.api.events.player.ui.PlayerUIElementClickEvent event)
-