Klasse UIFrame

java.lang.Object
net.risingworld.api.ui.UIElement
de.chaoswg.gui.UIFrame
Alle implementierten Schnittstellen:
Serializable, net.risingworld.api.events.Listener

public class UIFrame extends net.risingworld.api.ui.UIElement implements net.risingworld.api.events.Listener
Hauptfenster Klasse
Seit:
0.0.5
Siehe auch:
  • 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)
    • getTitle

      public net.risingworld.api.ui.UIElement getTitle()
    • getTitleText

      public String getTitleText()
    • setTitleText

      public void setTitleText(String title, net.risingworld.api.utils.ColorRGBA backgroundColor)
    • setTitleText

      public void setTitleText(String title)
    • setFacIcon

      public void setFacIcon(float facIcon)
    • getTitleStyle

      public StyleUI.Frame getTitleStyle()
    • setTitleStyle

      public void setTitleStyle(StyleUI.Frame frameStyle)
    • getScreenResolution

      public Point getScreenResolution()
    • setOnExit

      public void setOnExit(UIFrame.CallbackOnExit onExit)
    • setOnShow

      public void setOnShow(UIFrame.CallbackOnShow onShow)
    • setOnClick

      public void setOnClick(UIFrame.CallbackOnClick onClick)
    • setBackgroundColor

      public void setBackgroundColor(int rgba)
      Setzt außer Kraft:
      setBackgroundColor in Klasse net.risingworld.api.ui.UIElement
    • setBackgroundColor

      public void setBackgroundColor(float r, float g, float b, float a)
      Setzt außer Kraft:
      setBackgroundColor in Klasse net.risingworld.api.ui.UIElement
    • setVisible

      public void setVisible(boolean visible)
      Setzt außer Kraft:
      setVisible in Klasse net.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:
      addChild in Klasse net.risingworld.api.ui.UIElement
    • removeAllChilds

      public void removeAllChilds()
      Setzt außer Kraft:
      removeAllChilds in Klasse net.risingworld.api.ui.UIElement
    • removeChild

      public void removeChild(net.risingworld.api.ui.UIElement child)
      Setzt außer Kraft:
      removeChild in Klasse net.risingworld.api.ui.UIElement
    • getContentChildCount

      public int getContentChildCount()
    • getContentChilds

      public List<net.risingworld.api.ui.UIElement> getContentChilds()
    • setPosition

      public void setPosition(float x, float y, boolean precent)
      Setzt außer Kraft:
      setPosition in Klasse net.risingworld.api.ui.UIElement
    • makeTietle

      public void makeTietle(String title)
    • makeTietle

      public void makeTietle(String title, net.risingworld.api.utils.ColorRGBA backgroundColor)
    • makeTietle

      public void makeTietle(String title, StyleUI.Frame styleTitle, net.risingworld.api.utils.ColorRGBA backgroundColor)
    • onUIFrameElementClickEvent

      public void onUIFrameElementClickEvent(net.risingworld.api.events.player.ui.PlayerUIElementClickEvent event)