Bukkit  1.4.7-R1.0
 All Classes Namespaces Files Functions Variables Enumerator Pages
org.bukkit.event.painting.PaintingBreakEvent Class Reference

Triggered when a painting is removed. More...

+ Inheritance diagram for org.bukkit.event.painting.PaintingBreakEvent:
+ Collaboration diagram for org.bukkit.event.painting.PaintingBreakEvent:

Classes

enum  RemoveCause
 An enum to specify the cause of the removal. More...
 

Public Member Functions

 PaintingBreakEvent (final Painting painting, final RemoveCause cause)
 
RemoveCause getCause ()
 Gets the cause for the painting's removal.
 
boolean isCancelled ()
 
void setCancelled (boolean cancel)
 
HandlerList getHandlers ()
 
- Public Member Functions inherited from org.bukkit.event.painting.PaintingEvent
Painting getPainting ()
 Gets the painting involved in this event.
 
- Public Member Functions inherited from org.bukkit.event.Event
 Event ()
 The default constructor is defined for cleaner code.
 
 Event (boolean isAsync)
 This constructor is used to explicitly declare an event as synchronous or asynchronous.
 
String getEventName ()
 
final boolean isAsynchronous ()
 Any custom event that should not by synchronized with other events must use the specific constructor.
 
- Public Member Functions inherited from org.bukkit.event.Cancellable
boolean isCancelled ()
 Gets the cancellation state of this event.
 
void setCancelled (boolean cancel)
 Sets the cancellation state of this event.
 

Static Public Member Functions

static HandlerList getHandlerList ()
 

Additional Inherited Members

- Protected Member Functions inherited from org.bukkit.event.painting.PaintingEvent
 PaintingEvent (final Painting painting)
 
- Protected Attributes inherited from org.bukkit.event.painting.PaintingEvent
Painting painting
 

Detailed Description

Triggered when a painting is removed.

Deprecated:
Use org.bukkit.event.hanging.HangingBreakEvent instead.

Definition at line 14 of file PaintingBreakEvent.java.

Constructor & Destructor Documentation

org.bukkit.event.painting.PaintingBreakEvent.PaintingBreakEvent ( final Painting  painting,
final RemoveCause  cause 
)

Definition at line 19 of file PaintingBreakEvent.java.

Member Function Documentation

RemoveCause org.bukkit.event.painting.PaintingBreakEvent.getCause ( )

Gets the cause for the painting's removal.

Returns
the RemoveCause for the painting's removal

Definition at line 29 of file PaintingBreakEvent.java.

static HandlerList org.bukkit.event.painting.PaintingBreakEvent.getHandlerList ( )
static

Definition at line 72 of file PaintingBreakEvent.java.

HandlerList org.bukkit.event.painting.PaintingBreakEvent.getHandlers ( )
virtual

Implements org.bukkit.event.Event.

Definition at line 68 of file PaintingBreakEvent.java.

boolean org.bukkit.event.painting.PaintingBreakEvent.isCancelled ( )

Definition at line 33 of file PaintingBreakEvent.java.

void org.bukkit.event.painting.PaintingBreakEvent.setCancelled ( boolean  cancel)

Definition at line 37 of file PaintingBreakEvent.java.


The documentation for this class was generated from the following file: