From dc3df3edd5843bde0c1335d6a8e460b2c832aa48 Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Sat, 17 Jun 2017 08:12:18 +0300 Subject: full project files --- javadoc/cpw/mods/fml/client/config/GuiConfig.html | 768 ++++++++++++++++++++++ 1 file changed, 768 insertions(+) create mode 100644 javadoc/cpw/mods/fml/client/config/GuiConfig.html (limited to 'javadoc/cpw/mods/fml/client/config/GuiConfig.html') diff --git a/javadoc/cpw/mods/fml/client/config/GuiConfig.html b/javadoc/cpw/mods/fml/client/config/GuiConfig.html new file mode 100644 index 0000000..01bb38f --- /dev/null +++ b/javadoc/cpw/mods/fml/client/config/GuiConfig.html @@ -0,0 +1,768 @@ + + + + + +GuiConfig (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
cpw.mods.fml.client.config
+

Class GuiConfig

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        parentScreen

        +
        public final GuiScreen parentScreen
        +
        A reference to the screen object that created this. Used for navigating between screens.
        +
      • +
      + + + +
        +
      • +

        title

        +
        public java.lang.String title
        +
      • +
      + + + +
        +
      • +

        titleLine2

        +
        public java.lang.String titleLine2
        +
      • +
      + + + +
        +
      • +

        configElements

        +
        public final java.util.List<IConfigElement> configElements
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        modID

        +
        public final java.lang.String modID
        +
      • +
      + + + +
        +
      • +

        configID

        +
        public final java.lang.String configID
        +
        When set to a non-null value the OnConfigChanged and PostConfigChanged events will be posted when the Done button is pressed + if any configElements were changed (includes child screens). If not defined, the events will be posted if the parent gui is null + or if the parent gui is not an instance of GuiConfig.
        +
      • +
      + + + +
        +
      • +

        isWorldRunning

        +
        public final boolean isWorldRunning
        +
      • +
      + + + +
        +
      • +

        allRequireWorldRestart

        +
        public final boolean allRequireWorldRestart
        +
      • +
      + + + +
        +
      • +

        allRequireMcRestart

        +
        public final boolean allRequireMcRestart
        +
      • +
      + + + +
        +
      • +

        needsRefresh

        +
        public boolean needsRefresh
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GuiConfig

        +
        public GuiConfig(GuiScreen parentScreen,
        +         java.util.List<IConfigElement> configElements,
        +         java.lang.String modID,
        +         java.lang.String configID,
        +         boolean allRequireWorldRestart,
        +         boolean allRequireMcRestart,
        +         java.lang.String title)
        +
        GuiConfig constructor that will use ConfigChangedEvent when editing is concluded. If a non-null value is passed for configID, + the OnConfigChanged and PostConfigChanged events will be posted when the Done button is pressed if any configElements were changed + (includes child screens). If configID is not defined, the events will be posted if the parent gui is null or if the parent gui + is not an instance of GuiConfig.
        +
        Parameters:
        parentScreen - the parent GuiScreen object
        configElements - a List of IConfigProperty objects
        modID - the mod ID for the mod whose config settings will be edited
        configID - an identifier that will be passed to the OnConfigChanged and PostConfigChanged events. Setting this value will force + the save action to be called when the Done button is pressed on this screen if any configElements were changed.
        allRequireWorldRestart - send true if all configElements on this screen require a world restart
        allRequireMcRestart - send true if all configElements on this screen require MC to be restarted
        title - the desired title for this screen. For consistency it is recommended that you pass the path of the config file being + edited.
        +
      • +
      + + + +
        +
      • +

        GuiConfig

        +
        public GuiConfig(GuiScreen parentScreen,
        +         java.util.List<IConfigElement> configElements,
        +         java.lang.String modID,
        +         boolean allRequireWorldRestart,
        +         boolean allRequireMcRestart,
        +         java.lang.String title)
        +
        GuiConfig constructor that will use ConfigChangedEvent when editing is concluded. This constructor passes null for configID. + If configID is not defined, the events will be posted if the parent gui is null or if the parent gui is not an instance of GuiConfig.
        +
        Parameters:
        parentScreen - the parent GuiScreen object
        configElements - a List of IConfigProperty objects
        modID - the mod ID for the mod whose config settings will be edited
        allRequireWorldRestart - send true if all configElements on this screen require a world restart
        allRequireMcRestart - send true if all configElements on this screen require MC to be restarted
        title - the desired title for this screen. For consistency it is recommended that you pass the path of the config file being + edited.
        +
      • +
      + + + +
        +
      • +

        GuiConfig

        +
        public GuiConfig(GuiScreen parentScreen,
        +         java.util.List<IConfigElement> configElements,
        +         java.lang.String modID,
        +         boolean allRequireWorldRestart,
        +         boolean allRequireMcRestart,
        +         java.lang.String title,
        +         java.lang.String titleLine2)
        +
        GuiConfig constructor that will use ConfigChangedEvent when editing is concluded. This constructor passes null for configID. + If configID is not defined, the events will be posted if the parent gui is null or if the parent gui is not an instance of GuiConfig.
        +
        Parameters:
        parentScreen - the parent GuiScreen object
        configElements - a List of IConfigProperty objects
        modID - the mod ID for the mod whose config settings will be edited
        allRequireWorldRestart - send true if all configElements on this screen require a world restart
        allRequireMcRestart - send true if all configElements on this screen require MC to be restarted
        title - the desired title for this screen. For consistency it is recommended that you pass the path of the config file being + edited.
        titleLine2 - the desired title second line for this screen. Typically this is used to send the category name of the category + currently being edited.
        +
      • +
      + + + +
        +
      • +

        GuiConfig

        +
        public GuiConfig(GuiScreen parentScreen,
        +         java.util.List<IConfigElement> configElements,
        +         java.lang.String modID,
        +         java.lang.String configID,
        +         boolean allRequireWorldRestart,
        +         boolean allRequireMcRestart,
        +         java.lang.String title,
        +         java.lang.String titleLine2)
        +
        GuiConfig constructor that will use ConfigChangedEvent when editing is concluded. titleLine2 is specified in this constructor. + If a non-null value is passed for configID, the OnConfigChanged and PostConfigChanged events will be posted when the Done button is + pressed if any configElements were changed (includes child screens). If configID is not defined, the events will be posted if the parent + gui is null or if the parent gui is not an instance of GuiConfig.
        +
        Parameters:
        parentScreen - the parent GuiScreen object
        configElements - a List of IConfigProperty objects
        modID - the mod ID for the mod whose config settings will be edited
        configID - an identifier that will be passed to the OnConfigChanged and PostConfigChanged events
        allRequireWorldRestart - send true if all configElements on this screen require a world restart
        allRequireMcRestart - send true if all configElements on this screen require MC to be restarted
        title - the desired title for this screen. For consistency it is recommended that you pass the path of the config file being + edited.
        titleLine2 - the desired title second line for this screen. Typically this is used to send the category name of the category + currently being edited.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getAbridgedConfigPath

        +
        public static java.lang.String getAbridgedConfigPath(java.lang.String path)
        +
      • +
      + + + +
        +
      • +

        initGui

        +
        public void initGui()
        +
        +
        Overrides:
        +
        initGui in class GuiScreen
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        mouseClicked

        +
        protected void mouseClicked(int x,
        +                int y,
        +                int mouseEvent)
        +
        +
        Overrides:
        +
        mouseClicked in class GuiScreen
        +
        +
      • +
      + + + +
        +
      • +

        mouseMovedOrUp

        +
        protected void mouseMovedOrUp(int x,
        +                  int y,
        +                  int mouseEvent)
        +
        +
        Overrides:
        +
        mouseMovedOrUp in class GuiScreen
        +
        +
      • +
      + + + +
        +
      • +

        keyTyped

        +
        protected void keyTyped(char eventChar,
        +            int eventKey)
        +
        +
        Overrides:
        +
        keyTyped in class GuiScreen
        +
        +
      • +
      + + + + + + + +
        +
      • +

        drawScreen

        +
        public void drawScreen(int mouseX,
        +              int mouseY,
        +              float partialTicks)
        +
        +
        Overrides:
        +
        drawScreen in class GuiScreen
        +
        +
      • +
      + + + +
        +
      • +

        drawToolTip

        +
        public void drawToolTip(java.util.List stringList,
        +               int x,
        +               int y)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + -- cgit v1.2.3