本文整理汇总了Java中net.minecraftforge.fml.client.config.GuiEditArrayEntries.IArrayEntry类的典型用法代码示例。如果您正苦于以下问题:Java IArrayEntry类的具体用法?Java IArrayEntry怎么用?Java IArrayEntry使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
IArrayEntry类属于net.minecraftforge.fml.client.config.GuiEditArrayEntries包,在下文中一共展示了IArrayEntry类的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setCustomEditListEntryClass
import net.minecraftforge.fml.client.config.GuiEditArrayEntries.IArrayEntry; //导入依赖的package包/类
public DummyListElement setCustomEditListEntryClass(Class<? extends IArrayEntry> clazz)
{
this.arrayEntryClass = clazz;
return this;
}
示例2: setArrayEntryClass
import net.minecraftforge.fml.client.config.GuiEditArrayEntries.IArrayEntry; //导入依赖的package包/类
public IConfigElement setArrayEntryClass(Class<? extends IArrayEntry> clazz)
{
this.arrayEntryClass = clazz;
return this;
}
示例3: getArrayEntryClass
import net.minecraftforge.fml.client.config.GuiEditArrayEntries.IArrayEntry; //导入依赖的package包/类
@Override
public Class<? extends IArrayEntry> getArrayEntryClass()
{
return arrayEntryClass;
}
示例4: getArrayEntryClass
import net.minecraftforge.fml.client.config.GuiEditArrayEntries.IArrayEntry; //导入依赖的package包/类
@Override
public Class<? extends IArrayEntry> getArrayEntryClass()
{
return isProperty ? prop.getArrayEntryClass() : null;
}
示例5: getArrayEntryClass
import net.minecraftforge.fml.client.config.GuiEditArrayEntries.IArrayEntry; //导入依赖的package包/类
@Override
public Class<? extends IArrayEntry> getArrayEntryClass() {
return this.element.getArrayEntryClass();
}
示例6: setCustomEditListEntryClass
import net.minecraftforge.fml.client.config.GuiEditArrayEntries.IArrayEntry; //导入依赖的package包/类
public TListElement setCustomEditListEntryClass(Class<? extends IArrayEntry> clazz)
{
this.arrayEntryClass = clazz;
return this;
}
示例7: getArrayEntryClass
import net.minecraftforge.fml.client.config.GuiEditArrayEntries.IArrayEntry; //导入依赖的package包/类
/**
* This method returns a class that implements {@link IArrayEntry}. This class MUST provide a constructor with the
* following parameter types: {@link GuiEditArray}, {@link GuiEditArrayEntries}, {@link IConfigElement}, {@link Object}
*
* @see GuiEditArrayEntries.BaseEntry
* @see GuiEditArrayEntries.StringEntry
* @see GuiEditArrayEntries.BooleanEntry
* @see GuiEditArrayEntries.DoubleEntry
* @see GuiEditArrayEntries.IntegerEntry
*/
public Class<? extends IArrayEntry> getArrayEntryClass();
示例8: setArrayEntryClass
import net.minecraftforge.fml.client.config.GuiEditArrayEntries.IArrayEntry; //导入依赖的package包/类
/**
* Sets a custom IGuiEditListEntry class that should be used in place of the standard entry class for this Property type. This class
* MUST provide a constructor with the following parameter types: {@link GuiEditArray} (the owning GuiEditArray screen will be provided),
* {@link GuiEditArrayEntries} (the parent GuiEditArrayEntries will be provided), {@link IConfigElement} (the IConfigElement for this Property
* will be provided), and {@link Object} for the property's value.
*
* @see GuiEditArrayEntries.BaseEntry
* @see GuiEditArrayEntries.StringEntry
* @see GuiEditArrayEntries.BooleanEntry
* @see GuiEditArrayEntries.DoubleEntry
* @see GuiEditArrayEntries.IntegerEntry
*/
public Property setArrayEntryClass(Class<? extends IArrayEntry> clazz)
{
this.arrayEntryClass = clazz;
return this;
}
示例9: getArrayEntryClass
import net.minecraftforge.fml.client.config.GuiEditArrayEntries.IArrayEntry; //导入依赖的package包/类
/**
* Gets the custom IArrayEntry class that should be used in place of the standard entry class for this Property type, or null if
* none has been set.
*
* @return a class that implements IArrayEntry
*/
public Class<? extends IArrayEntry> getArrayEntryClass()
{
return this.arrayEntryClass;
}