|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
net.sourceforge.pebble.api.event.PebbleEvent
net.sourceforge.pebble.api.event.comment.CommentEvent
public class CommentEvent
Event to signify that a comment has been added/removed.
Field Summary | |
---|---|
static int |
COMMENT_ADDED
constant representing comment added type |
static int |
COMMENT_APPROVED
constant representing comment approved type |
static int |
COMMENT_REJECTED
constant representing comment rejected type |
static int |
COMMENT_REMOVED
constant representing comment removed type |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
CommentEvent(Comment comment,
int type)
Creates a new instance with the specified source and type. |
Method Summary | |
---|---|
Comment |
getComment()
Gets the Comment that is the source of this event. |
Methods inherited from class net.sourceforge.pebble.api.event.PebbleEvent |
---|
getType, isVetoed, toString, veto |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int COMMENT_ADDED
public static final int COMMENT_REMOVED
public static final int COMMENT_APPROVED
public static final int COMMENT_REJECTED
Constructor Detail |
---|
public CommentEvent(Comment comment, int type)
comment
- the comment that initiated this eventtype
- the type of this eventMethod Detail |
---|
public Comment getComment()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |