HangingBreakEvent instead.@Deprecated public class PaintingBreakEvent extends PaintingEvent implements Cancellable
| Modifier and Type | Class and Description | 
|---|---|
| static class  | PaintingBreakEvent.RemoveCauseDeprecated.  An enum to specify the cause of the removal | 
Event.Resultpainting| Constructor and Description | 
|---|
| PaintingBreakEvent(Painting painting,
                  PaintingBreakEvent.RemoveCause cause)Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| PaintingBreakEvent.RemoveCause | getCause()Deprecated.  Gets the cause for the painting's removal | 
| static HandlerList | getHandlerList()Deprecated.  | 
| HandlerList | getHandlers()Deprecated.  | 
| boolean | isCancelled()Deprecated.  Gets the cancellation state of this event. | 
| void | setCancelled(boolean cancel)Deprecated.  Sets the cancellation state of this event. | 
getPaintinggetEventName, isAsynchronouspublic PaintingBreakEvent(Painting painting, PaintingBreakEvent.RemoveCause cause)
public PaintingBreakEvent.RemoveCause getCause()
public boolean isCancelled()
CancellableisCancelled in interface Cancellablepublic void setCancelled(boolean cancel)
CancellablesetCancelled in interface Cancellablecancel - true if you wish to cancel this eventpublic HandlerList getHandlers()
getHandlers in class Eventpublic static HandlerList getHandlerList()
Copyright © 2015. All rights reserved.