public class PluginSignChangeEvent
extends org.bukkit.event.block.BlockEvent
implements org.bukkit.event.Cancellable
Constructor and Description |
---|
PluginSignChangeEvent(org.bukkit.block.Block block,
java.lang.String[] lines) |
Modifier and Type | Method and Description |
---|---|
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
java.lang.String |
getLine(int index) |
java.lang.String[] |
getLines() |
boolean |
isCancelled() |
void |
setCancelled(boolean cancel) |
void |
setLine(int index,
java.lang.String line) |
public PluginSignChangeEvent(org.bukkit.block.Block block, java.lang.String[] lines)
public static org.bukkit.event.HandlerList getHandlerList()
public org.bukkit.event.HandlerList getHandlers()
getHandlers
in class org.bukkit.event.Event
public java.lang.String getLine(int index) throws java.lang.IndexOutOfBoundsException
java.lang.IndexOutOfBoundsException
public java.lang.String[] getLines()
public boolean isCancelled()
isCancelled
in interface org.bukkit.event.Cancellable
public void setCancelled(boolean cancel)
setCancelled
in interface org.bukkit.event.Cancellable
public void setLine(int index, java.lang.String line) throws java.lang.IndexOutOfBoundsException
java.lang.IndexOutOfBoundsException