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

Interface IConfigElement<T>

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

      Property Summary

      + + + + + + + + + + +
      Properties 
      TypeProperty and Description
      booleanis +
      [Property, Category] Is this object a property object?
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      java.lang.Objectget() +
      [Property] Gets this property value.
      +
      java.lang.Class<? extends GuiEditArrayEntries.IArrayEntry>getArrayEntryClass() +
      This method returns a class that implements IArrayEntry.
      +
      java.util.List<IConfigElement>getChildElements() +
      [Category] Gets this category's child categories/properties.
      +
      java.lang.StringgetComment() +
      [Property, Category] Gets the comment for this object.
      +
      java.lang.Class<? extends GuiConfigEntries.IConfigEntry>getConfigEntryClass() +
      This method returns a class that implements IConfigEntry or null.
      +
      java.lang.ObjectgetDefault() +
      [Property] Gets this property's default value.
      +
      java.lang.Object[]getDefaults() +
      [Property] Gets this property's default values.
      +
      java.lang.StringgetLanguageKey() +
      [Property, Category] Gets a language key for localization of config GUI entry names.
      +
      java.lang.Object[]getList() +
      [Property] Gets this property value as a list.
      +
      intgetMaxListLength() +
      [Property] Gets the max length of this list property, or -1 if the length is unlimited.
      +
      TgetMaxValue() +
      [Property] Gets this property's maximum value.
      +
      TgetMinValue() +
      [Property] Gets this property's minimum value.
      +
      java.lang.StringgetName() +
      [Property, Category] Gets the name of this object.
      +
      java.lang.StringgetQualifiedName() +
      [Category] Gets the qualified name of this object.
      +
      ConfigGuiTypegetType() +
      [Property, Category] Gets the ConfigGuiType value corresponding to the type of this property object, or CONFIG_CATEGORY if this is a + category object.
      +
      java.util.regex.PatterngetValidationPattern() +
      [Property] Gets a Pattern object used in String property input validation.
      +
      java.lang.String[]getValidValues() +
      [Property] Gets a String array of valid values for this property.
      +
      booleanisDefault() +
      [Property] Is this property value equal to the default value?
      +
      booleanisList() +
      [Property] Is this property object a list?
      +
      booleanisListLengthFixed() +
      [Property] Does this list property have to remain a fixed length?
      +
      booleanisProperty() +
      [Property, Category] Is this object a property object?
      +
      booleanrequiresMcRestart() +
      [Property, Category] Whether or not this element requires Minecraft to be restarted when changed.
      +
      booleanrequiresWorldRestart() +
      [Property, Category] Whether or not this element is safe to modify while a world is running.
      +
      voidset(T value) +
      [Property] Sets this property's value.
      +
      voidset(T[] aVal) +
      [Property] Sets this property's value to the specified array.
      +
      voidsetToDefault() +
      [Property] Sets this property's value to the default value.
      +
      booleanshowInGui() +
      [Property, Category] Whether or not this element should be allowed to show on config GUIs.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Property Detail

      + + + +
        +
      • +

        is

        +
        [Property, Category] Is this object a property object?
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        isProperty

        +
        boolean isProperty()
        +
        [Property, Category] Is this object a property object?
        +
      • +
      + + + +
        +
      • +

        getConfigEntryClass

        +
        java.lang.Class<? extends GuiConfigEntries.IConfigEntry> getConfigEntryClass()
        +
        This method returns a class that implements IConfigEntry or null. This class MUST + provide a constructor with the following parameter types: GuiConfig, GuiConfigEntries, IConfigElement
        +
      • +
      + + + +
        +
      • +

        getArrayEntryClass

        +
        java.lang.Class<? extends GuiEditArrayEntries.IArrayEntry> getArrayEntryClass()
        +
        This method returns a class that implements IArrayEntry. This class MUST provide a constructor with the + following parameter types: GuiEditArray, GuiEditArrayEntries, IConfigElement, Object
        +
      • +
      + + + +
        +
      • +

        getName

        +
        java.lang.String getName()
        +
        [Property, Category] Gets the name of this object.
        +
      • +
      + + + +
        +
      • +

        getQualifiedName

        +
        java.lang.String getQualifiedName()
        +
        [Category] Gets the qualified name of this object. This is typically only used for category objects.
        +
      • +
      + + + +
        +
      • +

        getLanguageKey

        +
        java.lang.String getLanguageKey()
        +
        [Property, Category] Gets a language key for localization of config GUI entry names. If the same key is specified with .tooltip + appended to the end, that key will return a localized tooltip when the mouse hovers over the property label/category button.
        +
      • +
      + + + +
        +
      • +

        getComment

        +
        java.lang.String getComment()
        +
        [Property, Category] Gets the comment for this object. Used for the tooltip if getLanguageKey() + ".tooltip" is not defined in the + .lang file.
        +
      • +
      + + + +
        +
      • +

        getChildElements

        +
        java.util.List<IConfigElement> getChildElements()
        +
        [Category] Gets this category's child categories/properties.
        +
      • +
      + + + +
        +
      • +

        getType

        +
        ConfigGuiType getType()
        +
        [Property, Category] Gets the ConfigGuiType value corresponding to the type of this property object, or CONFIG_CATEGORY if this is a + category object.
        +
      • +
      + + + +
        +
      • +

        isList

        +
        boolean isList()
        +
        [Property] Is this property object a list?
        +
      • +
      + + + +
        +
      • +

        isListLengthFixed

        +
        boolean isListLengthFixed()
        +
        [Property] Does this list property have to remain a fixed length?
        +
      • +
      + + + +
        +
      • +

        getMaxListLength

        +
        int getMaxListLength()
        +
        [Property] Gets the max length of this list property, or -1 if the length is unlimited.
        +
      • +
      + + + +
        +
      • +

        isDefault

        +
        boolean isDefault()
        +
        [Property] Is this property value equal to the default value?
        +
      • +
      + + + +
        +
      • +

        getDefault

        +
        java.lang.Object getDefault()
        +
        [Property] Gets this property's default value. If this element is an array, this method should return a String + representation of that array using Arrays.toString()
        +
      • +
      + + + +
        +
      • +

        getDefaults

        +
        java.lang.Object[] getDefaults()
        +
        [Property] Gets this property's default values.
        +
      • +
      + + + +
        +
      • +

        setToDefault

        +
        void setToDefault()
        +
        [Property] Sets this property's value to the default value.
        +
      • +
      + + + +
        +
      • +

        requiresWorldRestart

        +
        boolean requiresWorldRestart()
        +
        [Property, Category] Whether or not this element is safe to modify while a world is running. For Categories return false if ANY properties + in the category are modifiable while a world is running, true if all are not.
        +
      • +
      + + + +
        +
      • +

        showInGui

        +
        boolean showInGui()
        +
        [Property, Category] Whether or not this element should be allowed to show on config GUIs.
        +
      • +
      + + + +
        +
      • +

        requiresMcRestart

        +
        boolean requiresMcRestart()
        +
        [Property, Category] Whether or not this element requires Minecraft to be restarted when changed.
        +
      • +
      + + + +
        +
      • +

        get

        +
        java.lang.Object get()
        +
        [Property] Gets this property value.
        +
      • +
      + + + +
        +
      • +

        getList

        +
        java.lang.Object[] getList()
        +
        [Property] Gets this property value as a list. Generally you should be sure of whether the property is a list before calling this.
        +
      • +
      + + + + + +
        +
      • +

        set

        +
        void set(T value)
        +
        [Property] Sets this property's value.
        +
      • +
      + + + + + +
        +
      • +

        set

        +
        void set(T[] aVal)
        +
        [Property] Sets this property's value to the specified array.
        +
      • +
      + + + +
        +
      • +

        getValidValues

        +
        java.lang.String[] getValidValues()
        +
        [Property] Gets a String array of valid values for this property. This is generally used for String properties to allow the user to + select a value from a list of valid values.
        +
      • +
      + + + +
        +
      • +

        getMinValue

        +
        T getMinValue()
        +
        [Property] Gets this property's minimum value.
        +
      • +
      + + + +
        +
      • +

        getMaxValue

        +
        T getMaxValue()
        +
        [Property] Gets this property's maximum value.
        +
      • +
      + + + +
        +
      • +

        getValidationPattern

        +
        java.util.regex.Pattern getValidationPattern()
        +
        [Property] Gets a Pattern object used in String property input validation.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + -- cgit v1.2.3