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:
  • 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

      public String getTitle()
    • setTitle

      public void setTitle(String title)
    • getTitleStyle

      public GUI.UIStyle.FrameStyle getTitleStyle()
    • setTitleStyle

      public void setTitleStyle(GUI.UIStyle.FrameStyle frameStyle)
    • getScreenResolution

      public Point getScreenResolution()
    • setOnExit

      public void setOnExit(GUI.UIFrame.CallbackOnExit onExit)
    • setOnShow

      public void setOnShow(GUI.UIFrame.CallbackOnShow onShow)
    • setOnClick

      public void setOnClick(GUI.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
    • 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, GUI.UIStyle.FrameStyle styleTitle)
    • onFrameUIElementClickEvent

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