类 JImWidgets

java.lang.Object
org.ice1000.jimgui.JImGuiGen
org.ice1000.jimgui.JImWidgets
直接已知子类:
JImGui

public abstract class JImWidgets extends JImGuiGen
The class between JImGui and JImGuiGen.
从以下版本开始:
v0.12
  • 构造器详细资料

    • JImWidgets

      public JImWidgets()
  • 方法详细资料

    • text

      public void text(@NotNull @NotNull NativeString string)
    • tableColumnFlags

      public int tableColumnFlags(int column_n)
    • tableColumnFlags

      public int tableColumnFlags()
    • tableColumnName

      @Contract @NotNull public @NotNull NativeString tableColumnName(int column_n)
    • tableColumnName

      @Contract @NotNull public @NotNull NativeString tableColumnName()
    • begin

      public boolean begin(@NotNull @NotNull JImStr str, int flags)
    • alreadyDisposed

      @Contract(value=" -> fail", pure=true) protected final <T> T alreadyDisposed()
    • progressBar

      public final void progressBar(float fraction, @Nullable @Nullable String overlay)
    • progressBar

      public final void progressBar(float fraction, @Nullable @Nullable JImStr overlay)
    • plotLines

      public void plotLines(@NotNull @NotNull String label, float @NotNull [] values, int valuesOffset, int valuesLength)
      参数:
      label - label text
      values - plot values
      valuesOffset - offset in [values]
      valuesLength - length in [values]
    • plotLines

      public void plotLines(@NotNull @NotNull String label, float @NotNull [] values)
      参数:
      label - label text
      values - plot values
    • plotLines

      public void plotLines(@NotNull @NotNull String label, float @NotNull [] values, int valuesOffset, int valuesLength, @NotNull @NotNull String overlayText)
      参数:
      label - label text
      values - plot values
      valuesOffset - offset in [values]
      valuesLength - length in [values]
      overlayText - tooltip text when plot is hovered
    • plotLines

      public void plotLines(@NotNull @NotNull String label, float @NotNull [] values, @NotNull @NotNull String overlayText)
      参数:
      label - label text
      values - plot values
      overlayText - tooltip text when plot is hovered
    • plotLines

      public void plotLines(@NotNull @NotNull String label, float @NotNull [] values, int valuesOffset, int valuesLength, @NotNull @NotNull String overlayText, float graphWidth, float graphHeight)
      参数:
      label - label text
      values - plot values
      valuesOffset - offset in [values]
      valuesLength - length in [values]
      overlayText - tooltip text when plot is hovered
    • plotLines

      public void plotLines(@NotNull @NotNull String label, float @NotNull [] values, int valuesOffset, int valuesLength, @NotNull @NotNull String overlayText, float scaleMin, float scaleMax, float graphWidth, float graphHeight)
      参数:
      label - label text
      values - plot values
      valuesOffset - offset in [values]
      valuesLength - length in [values]
      overlayText - tooltip text when plot is hovered
    • plotLines

      public void plotLines(@NotNull @NotNull JImStr label, float @NotNull [] values, int valuesOffset, int valuesLength, @NotNull @NotNull JImStr overlayText, float scaleMin, float scaleMax, float graphWidth, float graphHeight)
      参数:
      label - label text
      values - plot values
      valuesOffset - offset in [values]
      valuesLength - length in [values]
      overlayText - tooltip text when plot is hovered
    • plotHistogram

      public void plotHistogram(@NotNull @NotNull String label, float @NotNull [] values)
      参数:
      label - label text
      values - plot values
    • plotHistogram

      public void plotHistogram(@NotNull @NotNull String label, float @NotNull [] values, @NotNull @NotNull String overlayText)
      参数:
      label - label text
      values - plot values
      overlayText - tooltip text when plot is hovered
    • plotHistogram

      public void plotHistogram(@NotNull @NotNull JImStr label, float @NotNull [] values)
      参数:
      label - label text
      values - plot values
    • plotHistogram

      public void plotHistogram(@NotNull @NotNull String label, float @NotNull [] values, int valuesOffset, int valuesLength, @NotNull @NotNull String overlayText)
      参数:
      label - label text
      values - plot values
      valuesOffset - offset in [values]
      valuesLength - length in [values]
      overlayText - tooltip text when plot is hovered
    • plotHistogram

      public void plotHistogram(@NotNull @NotNull String label, float @NotNull [] values, int valuesOffset, int valuesLength, @NotNull @NotNull String overlayText, float scaleMin, float scaleMax)
      参数:
      label - label text
      values - plot values
      valuesOffset - offset in [values]
      valuesLength - length in [values]
      overlayText - tooltip text when plot is hovered
    • plotHistogram

      public void plotHistogram(@NotNull @NotNull String label, float @NotNull [] values, int valuesOffset, int valuesLength, @NotNull @NotNull String overlayText, float scaleMin, float scaleMax, float graphWidth, float graphHeight)
    • plotHistogram

      public void plotHistogram(@NotNull @NotNull JImStr label, float @NotNull [] values, int valuesOffset, int valuesLength, @NotNull @NotNull JImStr overlayText, float scaleMin, float scaleMax, float graphWidth, float graphHeight)
    • beginTabItem

      public boolean beginTabItem(@NotNull @NotNull String label, int flags)
    • image

      public void image(@NotNull @NotNull JImTextureID id)
    • inputText

      public boolean inputText(@NotNull @NotNull String label, byte @NotNull [] buffer, int flags)
    • inputText

      public boolean inputText(@NotNull @NotNull JImStr label, byte @NotNull [] buffer, int flags)
    • inputText

      public boolean inputText(@NotNull @NotNull String label, byte @NotNull [] buffer)
    • inputText

      public boolean inputText(@NotNull @NotNull JImStr label, byte @NotNull [] buffer)
    • pushStyleVar

      public void pushStyleVar(@NotNull @NotNull JImStyleVar<@NotNull Float> styleVar, float value)
      参数:
      styleVar - should be a value from JImStyleVars
      value - the value to set
    • pushStyleVar

      public void pushStyleVar(@NotNull @NotNull JImStyleVar<@NotNull Void> styleVar, float valueX, float valueY)
      参数:
      styleVar - should be a value from JImStyleVars
      valueX - the first value of ImVec2 to set
      valueY - the second value of ImVec2 to set