Package de.chaoswg.gui
Klasse GUI.UIFrame
java.lang.Object
net.risingworld.api.ui.UIElement
de.chaoswg.gui.GUI.UIFrame
- Alle implementierten Schnittstellen:
Serializable,net.risingworld.api.events.Listener
- Umschließende Klasse:
GUI
public final class GUI.UIFrame
extends net.risingworld.api.ui.UIElement
implements net.risingworld.api.events.Listener
in Arbeit
- Seit:
- 0.0.3
- 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, GUI.UIStyle.FrameStyle TitleStyle) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidaddChild(net.risingworld.api.ui.UIElement child) intList<net.risingworld.api.ui.UIElement>net.risingworld.api.ui.UIElementgetTitle()voidmakeTietle(String title) voidmakeTietle(String title, GUI.UIStyle.FrameStyle 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) voidsetOnClick(GUI.UIFrame.CallbackOnClick onClick) voidsetOnExit(GUI.UIFrame.CallbackOnExit onExit) voidsetOnShow(GUI.UIFrame.CallbackOnShow onShow) voidsetPosition(float x, float y, boolean precent) voidvoidsetTitleStyle(GUI.UIStyle.FrameStyle 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, GUI.UIStyle.FrameStyle TitleStyle) - Parameter:
player-BackgroundColor-TitleStyle-- Seit:
- 0.0.3
-
-
Methodendetails
-
getTietle
public net.risingworld.api.ui.UIElement getTietle() -
getTitle
-
setTitle
-
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
-
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)
-