本文整理匯總了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;
}