|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.quartercode.quarterbukkit.api.select.Selection
public class Selection
This class represents a selection in the SelectInventory with a value and the graphical ItemStack.
| Constructor Summary | |
|---|---|
Selection(java.lang.Object value,
org.bukkit.inventory.ItemStack itemStack)
Creates a new selection and sets the value as an Object and the graphical ItemStack. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
org.bukkit.inventory.ItemStack |
getItemStack()
Returns the graphical ItemStack. |
java.lang.Object |
getValue()
Returns the value as an Object. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Selection(java.lang.Object value,
org.bukkit.inventory.ItemStack itemStack)
Object and the graphical ItemStack.
value - The value as an Object.itemStack - The graphical ItemStack.| Method Detail |
|---|
public java.lang.Object getValue()
Object.
Object.public org.bukkit.inventory.ItemStack getItemStack()
ItemStack.
ItemStack.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||