net.sourceforge.pmd.util.viewer.model
public class ViewerModelEvent extends Object
Version: $Id: ViewerModelEvent.java 4217 2006-02-10 14:15:31Z tomcopeland $
Field Summary | |
---|---|
static int | CODE_RECOMPILED
reason in the case of code recompilation |
static int | NODE_SELECTED
reason in the case of node selection |
static int | PATH_EXPRESSION_APPENDED
reason in the case of path extension |
static int | PATH_EXPRESSION_EVALUATED
reason in the case of path expression evaluation |
Constructor Summary | |
---|---|
ViewerModelEvent(Object source, int reason)
Creates an event
| |
ViewerModelEvent(Object source, int reason, Object parameter)
Creates an event
|
Method Summary | |
---|---|
Object | getParameter() |
int | getReason() |
Object | getSource() |
Parameters: source event's source reason event's reason
Parameters: source event's source reason event's reason parameter parameter object