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

Class GuiConfigEntries

+
+
+ +
+
    +
  • +
    +
    +
    public class GuiConfigEntries
    +extends GuiListExtended
    +
    This class implements the scrolling list functionality of the config GUI screens. It also provides all the default control handlers + for the various property types.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        owningScreen

        +
        public final GuiConfig owningScreen
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        maxLabelTextWidth

        +
        public int maxLabelTextWidth
        +
        The max width of the label of all IConfigEntry objects.
        +
      • +
      + + + +
        +
      • +

        maxEntryRightBound

        +
        public int maxEntryRightBound
        +
        The max x boundary of all IConfigEntry objects.
        +
      • +
      + + + +
        +
      • +

        labelX

        +
        public int labelX
        +
        The x position where the label should be drawn.
        +
      • +
      + + + +
        +
      • +

        controlX

        +
        public int controlX
        +
        The x position where the control should be drawn.
        +
      • +
      + + + +
        +
      • +

        controlWidth

        +
        public int controlWidth
        +
        The width of the control.
        +
      • +
      + + + +
        +
      • +

        resetX

        +
        public int resetX
        +
        The minimum x position where the Undo/Default buttons will start
        +
      • +
      + + + +
        +
      • +

        scrollBarX

        +
        public int scrollBarX
        +
        The x position of the scroll bar.
        +
      • +
      +
    • +
    + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        initGui

        +
        protected void initGui()
        +
      • +
      + + + +
        +
      • +

        getSize

        +
        public int getSize()
        +
        +
        Specified by:
        +
        getSize in class GuiSlot
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getScrollBarX

        +
        public int getScrollBarX()
        +
        +
        Overrides:
        +
        getScrollBarX in class GuiSlot
        +
        +
      • +
      + + + +
        +
      • +

        getListWidth

        +
        public int getListWidth()
        +
        Gets the width of the list
        +
        +
        Overrides:
        +
        getListWidth in class GuiSlot
        +
        +
      • +
      + + + +
        +
      • +

        keyTyped

        +
        public void keyTyped(char eventChar,
        +            int eventKey)
        +
        This method is a pass-through for IConfigEntry objects that require keystrokes. Called from the parent GuiConfig screen.
        +
      • +
      + + + +
        +
      • +

        updateScreen

        +
        public void updateScreen()
        +
        This method is a pass-through for IConfigEntry objects that contain GuiTextField elements. Called from the parent GuiConfig + screen.
        +
      • +
      + + + +
        +
      • +

        mouseClicked

        +
        public void mouseClicked(int mouseX,
        +                int mouseY,
        +                int mouseEvent)
        +
        This method is a pass-through for IConfigEntry objects that contain GuiTextField elements. Called from the parent GuiConfig + screen.
        +
      • +
      + + + +
        +
      • +

        onGuiClosed

        +
        public void onGuiClosed()
        +
        This method is a pass-through for IConfigListEntry objects that need to perform actions when the containing GUI is closed.
        +
      • +
      + + + +
        +
      • +

        saveConfigElements

        +
        public boolean saveConfigElements()
        +
        Saves all properties on this screen / child screens. This method returns true if any elements were changed that require + a restart for proper handling.
        +
      • +
      + + + +
        +
      • +

        areAllEntriesDefault

        +
        public boolean areAllEntriesDefault(boolean includeChildren)
        +
        Returns true if all IConfigEntry objects on this screen are set to default. If includeChildren is true sub-category + objects are checked as well.
        +
      • +
      + + + +
        +
      • +

        setAllToDefault

        +
        public void setAllToDefault(boolean includeChildren)
        +
        Sets all IConfigEntry objects on this screen to default. If includeChildren is true sub-category objects are set as + well.
        +
      • +
      + + + +
        +
      • +

        hasChangedEntry

        +
        public boolean hasChangedEntry(boolean includeChildren)
        +
        Returns true if any IConfigEntry objects on this screen are changed. If includeChildren is true sub-category objects + are checked as well.
        +
      • +
      + + + +
        +
      • +

        areAnyEntriesEnabled

        +
        public boolean areAnyEntriesEnabled(boolean includeChildren)
        +
        Returns true if any IConfigEntry objects on this screen are enabled. If includeChildren is true sub-category objects + are checked as well.
        +
      • +
      + + + +
        +
      • +

        undoAllChanges

        +
        public void undoAllChanges(boolean includeChildren)
        +
        Reverts changes to all IConfigEntry objects on this screen. If includeChildren is true sub-category objects are + reverted as well.
        +
      • +
      + + + +
        +
      • +

        drawScreenPost

        +
        public void drawScreenPost(int mouseX,
        +                  int mouseY,
        +                  float partialTicks)
        +
        Calls the drawToolTip() method for all IConfigEntry objects on this screen. This is called from the parent GuiConfig screen + after drawing all other elements.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + -- cgit v1.2.3