public class ItemTooltipEvent extends ItemEvent
itemTooltipDisplaying
event.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTooltip()
Gets the tooltip of the item.
|
void |
setTooltip(java.lang.String value)
Sets the tooltip of the item.
|
public java.lang.String getTooltip()
public void setTooltip(java.lang.String value)
Change this value if you need to override the default tool tip text.
value
- A string specifying the item's tool tip.