Package net.md_5.bungee.api.dialog.chat
Class ShowDialogClickEvent
- java.lang.Object
-
- net.md_5.bungee.api.chat.ClickEvent
-
- net.md_5.bungee.api.dialog.chat.ShowDialogClickEvent
-
public class ShowDialogClickEvent extends ClickEvent
Click event which displays either a pre-existing dialog by key or a custom dialog.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.md_5.bungee.api.chat.ClickEvent
ClickEvent.Action
-
-
Constructor Summary
Constructors Constructor Description ShowDialogClickEvent(String reference)ShowDialogClickEvent(Dialog dialog)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)DialoggetDialog()Dialog to show.StringgetReference()Key for a pre-existing dialog to show.inthashCode()voidsetDialog(Dialog dialog)Dialog to show.voidsetReference(String reference)Key for a pre-existing dialog to show.StringtoString()-
Methods inherited from class net.md_5.bungee.api.chat.ClickEvent
getAction, getValue
-
-
-
-
Method Detail
-
getReference
public String getReference()
Key for a pre-existing dialog to show.
-
getDialog
public Dialog getDialog()
Dialog to show.
-
setReference
public void setReference(String reference)
Key for a pre-existing dialog to show.
-
setDialog
public void setDialog(Dialog dialog)
Dialog to show.
-
toString
public String toString()
- Overrides:
toStringin classClickEvent
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classClickEvent
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqualin classClickEvent
-
hashCode
public int hashCode()
- Overrides:
hashCodein classClickEvent
-
-