From 0427ab89f1753a44b30cbc35ce021cbbdc845109 Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Thu, 10 Aug 2017 18:52:45 +0300 Subject: fix missing source folder --- .../mods/fml/client/config/DummyConfigElement.html | 1353 ++++++++++++++++++++ 1 file changed, 1353 insertions(+) create mode 100644 javadoc/cpw/mods/fml/client/config/DummyConfigElement.html (limited to 'javadoc/cpw/mods/fml/client/config/DummyConfigElement.html') diff --git a/javadoc/cpw/mods/fml/client/config/DummyConfigElement.html b/javadoc/cpw/mods/fml/client/config/DummyConfigElement.html new file mode 100644 index 0000000..c6266ea --- /dev/null +++ b/javadoc/cpw/mods/fml/client/config/DummyConfigElement.html @@ -0,0 +1,1353 @@ + + + + + +DummyConfigElement (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
cpw.mods.fml.client.config
+

Class DummyConfigElement<T>

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    IConfigElement<T>
    +
    +
    +
    Direct Known Subclasses:
    +
    DummyConfigElement.DummyCategoryElement, DummyConfigElement.DummyListElement
    +
    +
    +
    +
    public class DummyConfigElement<T>
    +extends java.lang.Object
    +implements IConfigElement<T>
    +
    This class's main purpose is to provide the necessary objects for a sample Config GUI for FML, although + there may be practical uses for the objects defined here such as using the DummyCategoryElement object as a + wrapper for a custom IGuiConfigListEntry object that opens a special screen.
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        isProperty

        +
        protected boolean isProperty
        +
      • +
      + + + +
        +
      • +

        isList

        +
        protected boolean isList
        +
      • +
      + + + + + + + +
        +
      • +

        name

        +
        protected java.lang.String name
        +
      • +
      + + + +
        +
      • +

        langKey

        +
        protected java.lang.String langKey
        +
      • +
      + + + +
        +
      • +

        value

        +
        protected java.lang.Object value
        +
      • +
      + + + +
        +
      • +

        defaultValue

        +
        protected java.lang.Object defaultValue
        +
      • +
      + + + +
        +
      • +

        values

        +
        protected T[] values
        +
      • +
      + + + +
        +
      • +

        defaultValues

        +
        protected T[] defaultValues
        +
      • +
      + + + +
        +
      • +

        validValues

        +
        protected java.lang.String[] validValues
        +
      • +
      + + + +
        +
      • +

        validStringPattern

        +
        protected java.util.regex.Pattern validStringPattern
        +
      • +
      + + + +
        +
      • +

        minValue

        +
        protected T minValue
        +
      • +
      + + + +
        +
      • +

        maxValue

        +
        protected T maxValue
        +
      • +
      + + + +
        +
      • +

        requiresWorldRestart

        +
        protected boolean requiresWorldRestart
        +
      • +
      + + + +
        +
      • +

        requiresMcRestart

        +
        protected boolean requiresMcRestart
        +
      • +
      + + + +
        +
      • +

        isListFixedLength

        +
        protected boolean isListFixedLength
        +
      • +
      + + + +
        +
      • +

        maxListLength

        +
        protected int maxListLength
        +
      • +
      + + + +
        +
      • +

        childElements

        +
        protected java.util.List<IConfigElement> childElements
        +
      • +
      + + + + + + + + +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + + + +
        +
      • +

        DummyConfigElement

        +
        public DummyConfigElement(java.lang.String name,
        +                  T defaultValue,
        +                  ConfigGuiType type,
        +                  java.lang.String langKey,
        +                  java.lang.String[] validValues,
        +                  java.util.regex.Pattern validStringPattern,
        +                  T minValue,
        +                  T maxValue)
        +
      • +
      + + + + + +
        +
      • +

        DummyConfigElement

        +
        public DummyConfigElement(java.lang.String name,
        +                  T defaultValue,
        +                  ConfigGuiType type,
        +                  java.lang.String langKey,
        +                  java.util.regex.Pattern validStringPattern)
        +
      • +
      + + + + + +
        +
      • +

        DummyConfigElement

        +
        public DummyConfigElement(java.lang.String name,
        +                  T defaultValue,
        +                  ConfigGuiType type,
        +                  java.lang.String langKey,
        +                  java.lang.String[] validValues)
        +
      • +
      + + + + + +
        +
      • +

        DummyConfigElement

        +
        public DummyConfigElement(java.lang.String name,
        +                  T defaultValue,
        +                  ConfigGuiType type,
        +                  java.lang.String langKey)
        +
      • +
      + + + + + +
        +
      • +

        DummyConfigElement

        +
        public DummyConfigElement(java.lang.String name,
        +                  T defaultValue,
        +                  ConfigGuiType type,
        +                  java.lang.String langKey,
        +                  T minValue,
        +                  T maxValue)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        isProperty

        +
        public boolean isProperty()
        +
        Description copied from interface: IConfigElement
        +
        [Property, Category] Is this object a property object?
        +
        +
        Specified by:
        +
        isProperty in interface IConfigElement<T>
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getConfigEntryClass

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

        getArrayEntryClass

        +
        public java.lang.Class<? extends GuiEditArrayEntries.IArrayEntry> getArrayEntryClass()
        +
        Description copied from interface: IConfigElement
        +
        This method returns a class that implements IArrayEntry. This class MUST provide a constructor with the + following parameter types: GuiEditArray, GuiEditArrayEntries, IConfigElement, Object
        +
        +
        Specified by:
        +
        getArrayEntryClass in interface IConfigElement<T>
        +
        +
      • +
      + + + +
        +
      • +

        getName

        +
        public java.lang.String getName()
        +
        Description copied from interface: IConfigElement
        +
        [Property, Category] Gets the name of this object.
        +
        +
        Specified by:
        +
        getName in interface IConfigElement<T>
        +
        +
      • +
      + + + +
        +
      • +

        getQualifiedName

        +
        public java.lang.String getQualifiedName()
        +
        Description copied from interface: IConfigElement
        +
        [Category] Gets the qualified name of this object. This is typically only used for category objects.
        +
        +
        Specified by:
        +
        getQualifiedName in interface IConfigElement<T>
        +
        +
      • +
      + + + +
        +
      • +

        getLanguageKey

        +
        public java.lang.String getLanguageKey()
        +
        Description copied from interface: IConfigElement
        +
        [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.
        +
        +
        Specified by:
        +
        getLanguageKey in interface IConfigElement<T>
        +
        +
      • +
      + + + +
        +
      • +

        getComment

        +
        public java.lang.String getComment()
        +
        Description copied from interface: IConfigElement
        +
        [Property, Category] Gets the comment for this object. Used for the tooltip if getLanguageKey() + ".tooltip" is not defined in the + .lang file.
        +
        +
        Specified by:
        +
        getComment in interface IConfigElement<T>
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getType

        +
        public ConfigGuiType getType()
        +
        Description copied from interface: IConfigElement
        +
        [Property, Category] Gets the ConfigGuiType value corresponding to the type of this property object, or CONFIG_CATEGORY if this is a + category object.
        +
        +
        Specified by:
        +
        getType in interface IConfigElement<T>
        +
        +
      • +
      + + + +
        +
      • +

        isList

        +
        public boolean isList()
        +
        Description copied from interface: IConfigElement
        +
        [Property] Is this property object a list?
        +
        +
        Specified by:
        +
        isList in interface IConfigElement<T>
        +
        +
      • +
      + + + +
        +
      • +

        isListLengthFixed

        +
        public boolean isListLengthFixed()
        +
        Description copied from interface: IConfigElement
        +
        [Property] Does this list property have to remain a fixed length?
        +
        +
        Specified by:
        +
        isListLengthFixed in interface IConfigElement<T>
        +
        +
      • +
      + + + +
        +
      • +

        getMaxListLength

        +
        public int getMaxListLength()
        +
        Description copied from interface: IConfigElement
        +
        [Property] Gets the max length of this list property, or -1 if the length is unlimited.
        +
        +
        Specified by:
        +
        getMaxListLength in interface IConfigElement<T>
        +
        +
      • +
      + + + +
        +
      • +

        isDefault

        +
        public boolean isDefault()
        +
        Description copied from interface: IConfigElement
        +
        [Property] Is this property value equal to the default value?
        +
        +
        Specified by:
        +
        isDefault in interface IConfigElement<T>
        +
        +
      • +
      + + + +
        +
      • +

        getDefault

        +
        public java.lang.Object getDefault()
        +
        Description copied from interface: IConfigElement
        +
        [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()
        +
        +
        Specified by:
        +
        getDefault in interface IConfigElement<T>
        +
        +
      • +
      + + + +
        +
      • +

        getDefaults

        +
        public T[] getDefaults()
        +
        Description copied from interface: IConfigElement
        +
        [Property] Gets this property's default values.
        +
        +
        Specified by:
        +
        getDefaults in interface IConfigElement<T>
        +
        +
      • +
      + + + +
        +
      • +

        setToDefault

        +
        public void setToDefault()
        +
        Description copied from interface: IConfigElement
        +
        [Property] Sets this property's value to the default value.
        +
        +
        Specified by:
        +
        setToDefault in interface IConfigElement<T>
        +
        +
      • +
      + + + +
        +
      • +

        setRequiresWorldRestart

        +
        public IConfigElement<T> setRequiresWorldRestart(boolean requiresWorldRestart)
        +
      • +
      + + + +
        +
      • +

        requiresWorldRestart

        +
        public boolean requiresWorldRestart()
        +
        Description copied from interface: IConfigElement
        +
        [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.
        +
        +
        Specified by:
        +
        requiresWorldRestart in interface IConfigElement<T>
        +
        +
      • +
      + + + +
        +
      • +

        showInGui

        +
        public boolean showInGui()
        +
        Description copied from interface: IConfigElement
        +
        [Property, Category] Whether or not this element should be allowed to show on config GUIs.
        +
        +
        Specified by:
        +
        showInGui in interface IConfigElement<T>
        +
        +
      • +
      + + + +
        +
      • +

        setRequiresMcRestart

        +
        public IConfigElement<T> setRequiresMcRestart(boolean requiresMcRestart)
        +
      • +
      + + + +
        +
      • +

        requiresMcRestart

        +
        public boolean requiresMcRestart()
        +
        Description copied from interface: IConfigElement
        +
        [Property, Category] Whether or not this element requires Minecraft to be restarted when changed.
        +
        +
        Specified by:
        +
        requiresMcRestart in interface IConfigElement<T>
        +
        +
      • +
      + + + +
        +
      • +

        getValidValues

        +
        public java.lang.String[] getValidValues()
        +
        Description copied from interface: IConfigElement
        +
        [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.
        +
        +
        Specified by:
        +
        getValidValues in interface IConfigElement<T>
        +
        +
      • +
      + + + +
        +
      • +

        getValidationPattern

        +
        public java.util.regex.Pattern getValidationPattern()
        +
        Description copied from interface: IConfigElement
        +
        [Property] Gets a Pattern object used in String property input validation.
        +
        +
        Specified by:
        +
        getValidationPattern in interface IConfigElement<T>
        +
        +
      • +
      + + + +
        +
      • +

        get

        +
        public java.lang.Object get()
        +
        Description copied from interface: IConfigElement
        +
        [Property] Gets this property value.
        +
        +
        Specified by:
        +
        get in interface IConfigElement<T>
        +
        +
      • +
      + + + +
        +
      • +

        getList

        +
        public T[] getList()
        +
        Description copied from interface: IConfigElement
        +
        [Property] Gets this property value as a list. Generally you should be sure of whether the property is a list before calling this.
        +
        +
        Specified by:
        +
        getList in interface IConfigElement<T>
        +
        +
      • +
      + + + + + +
        +
      • +

        set

        +
        public void set(T value)
        +
        Description copied from interface: IConfigElement
        +
        [Property] Sets this property's value.
        +
        +
        Specified by:
        +
        set in interface IConfigElement<T>
        +
        +
      • +
      + + + + + +
        +
      • +

        set

        +
        public void set(T[] aVal)
        +
        Description copied from interface: IConfigElement
        +
        [Property] Sets this property's value to the specified array.
        +
        +
        Specified by:
        +
        set in interface IConfigElement<T>
        +
        +
      • +
      + + + +
        +
      • +

        getMinValue

        +
        public T getMinValue()
        +
        Description copied from interface: IConfigElement
        +
        [Property] Gets this property's minimum value.
        +
        +
        Specified by:
        +
        getMinValue in interface IConfigElement<T>
        +
        +
      • +
      + + + +
        +
      • +

        getMaxValue

        +
        public T getMaxValue()
        +
        Description copied from interface: IConfigElement
        +
        [Property] Gets this property's maximum value.
        +
        +
        Specified by:
        +
        getMaxValue in interface IConfigElement<T>
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + -- cgit v1.2.3