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

Interface GuiConfigEntries.IConfigEntry<T>

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

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      voiddrawToolTip(int mouseX, + int mouseY) +
      Handles drawing any tooltips that apply to this entry.
      +
      booleanenabled() +
      Is this list entry enabled?
      +
      IConfigElementgetConfigElement() +
      Gets the IConfigElement object owned by this entry.
      +
      TgetCurrentValue() +
      Gets the current value of this entry as a String.
      +
      T[]getCurrentValues() +
      Gets the current values of this list entry as a String[].
      +
      intgetEntryRightBound() +
      Gets this entry's right-hand x boundary.
      +
      intgetLabelWidth() +
      Gets this entry's label width.
      +
      java.lang.StringgetName() +
      Gets the name of the ConfigElement owned by this entry.
      +
      booleanisChanged() +
      Has the value of this entry changed?
      +
      booleanisDefault() +
      Is this entry's value equal to the default value? Generally true should be returned if this entry is not a property or category + entry.
      +
      voidkeyTyped(char eventChar, + int eventKey) +
      Handles user keystrokes for any GuiTextField objects in this entry.
      +
      voidmouseClicked(int x, + int y, + int mouseEvent) +
      Call GuiTextField.mouseClicked() for and GuiTextField objects in this entry.
      +
      voidonGuiClosed() +
      This method is called when the parent GUI is closed.
      +
      booleansaveConfigElement() +
      Handles saving any changes that have been made to this entry back to the underlying object.
      +
      voidsetToDefault() +
      Sets this entry's value to the default value.
      +
      voidundoChanges() +
      Handles reverting any changes that have occurred to this entry.
      +
      voidupdateCursorCounter() +
      Call GuiTextField.updateCursorCounter() for any GuiTextField objects in this entry.
      +
      + +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getConfigElement

        +
        IConfigElement getConfigElement()
        +
        Gets the IConfigElement object owned by this entry.
        +
        Returns:
        +
      • +
      + + + +
        +
      • +

        getName

        +
        java.lang.String getName()
        +
        Gets the name of the ConfigElement owned by this entry.
        +
      • +
      + + + +
        +
      • +

        getCurrentValue

        +
        T getCurrentValue()
        +
        Gets the current value of this entry as a String.
        +
      • +
      + + + +
        +
      • +

        getCurrentValues

        +
        T[] getCurrentValues()
        +
        Gets the current values of this list entry as a String[].
        +
      • +
      + + + +
        +
      • +

        enabled

        +
        boolean enabled()
        +
        Is this list entry enabled?
        +
        Returns:
        true if this entry's controls should be enabled, false otherwise.
        +
      • +
      + + + +
        +
      • +

        keyTyped

        +
        void keyTyped(char eventChar,
        +            int eventKey)
        +
        Handles user keystrokes for any GuiTextField objects in this entry. Call GuiTextField.keyTyped() for any GuiTextField + objects that should receive the input provided.
        +
      • +
      + + + +
        +
      • +

        updateCursorCounter

        +
        void updateCursorCounter()
        +
        Call GuiTextField.updateCursorCounter() for any GuiTextField objects in this entry.
        +
      • +
      + + + +
        +
      • +

        mouseClicked

        +
        void mouseClicked(int x,
        +                int y,
        +                int mouseEvent)
        +
        Call GuiTextField.mouseClicked() for and GuiTextField objects in this entry.
        +
      • +
      + + + +
        +
      • +

        isDefault

        +
        boolean isDefault()
        +
        Is this entry's value equal to the default value? Generally true should be returned if this entry is not a property or category + entry.
        +
        Returns:
        true if this entry's value is equal to this entry's default value.
        +
      • +
      + + + +
        +
      • +

        setToDefault

        +
        void setToDefault()
        +
        Sets this entry's value to the default value.
        +
      • +
      + + + +
        +
      • +

        undoChanges

        +
        void undoChanges()
        +
        Handles reverting any changes that have occurred to this entry.
        +
      • +
      + + + +
        +
      • +

        isChanged

        +
        boolean isChanged()
        +
        Has the value of this entry changed?
        +
        Returns:
        true if changes have been made to this entry's value, false otherwise.
        +
      • +
      + + + +
        +
      • +

        saveConfigElement

        +
        boolean saveConfigElement()
        +
        Handles saving any changes that have been made to this entry back to the underlying object. It is a good practice to check + isChanged() before performing the save action. This method should return true if the element has changed AND REQUIRES A RESTART.
        +
      • +
      + + + +
        +
      • +

        drawToolTip

        +
        void drawToolTip(int mouseX,
        +               int mouseY)
        +
        Handles drawing any tooltips that apply to this entry. This method is called after all other GUI elements have been drawn to the + screen, so it could also be used to draw any GUI element that needs to be drawn after all entries have had drawEntry() called.
        +
      • +
      + + + +
        +
      • +

        getLabelWidth

        +
        int getLabelWidth()
        +
        Gets this entry's label width.
        +
      • +
      + + + +
        +
      • +

        getEntryRightBound

        +
        int getEntryRightBound()
        +
        Gets this entry's right-hand x boundary. This value is used to control where the scroll bar is placed.
        +
      • +
      + + + +
        +
      • +

        onGuiClosed

        +
        void onGuiClosed()
        +
        This method is called when the parent GUI is closed. Most handlers won't need this; it is provided for special cases.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + -- cgit v1.2.3