public class InventoryTitle extends AbstractInventoryProperty<String,Text>
Property.Operator| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_NAME |
operator, value| Constructor and Description |
|---|
InventoryTitle(Text value)
Creates a new
InventoryTitle to be displayed on an Inventory. |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Property<?,?> other) |
static InventoryTitle |
of(Text value)
Creates a new
InventoryTitle with the provided Text. |
equals, getDefaultKey, getDefaultKey, getDefaultOperator, getKey, getOperator, getValue, hashCode, hashCodeOf, matchespublic static final String PROPERTY_NAME
public InventoryTitle(Text value)
InventoryTitle to be displayed on an Inventory.value - The text value to displaypublic int compareTo(Property<?,?> other)
public static InventoryTitle of(Text value)
InventoryTitle with the provided Text.value - The text value to display