|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.pmd.util.viewer.model.ViewerModelEvent
public class ViewerModelEvent
The event which will be sent every time the model changes
Note: the instances will be immutable
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int CODE_RECOMPILED
public static final int NODE_SELECTED
public static final int PATH_EXPRESSION_APPENDED
public static final int PATH_EXPRESSION_EVALUATED
Constructor Detail |
---|
public ViewerModelEvent(Object source, int reason)
source
- event's sourcereason
- event's reasonpublic ViewerModelEvent(Object source, int reason, Object parameter)
source
- event's sourcereason
- event's reasonparameter
- parameter objectMethod Detail |
---|
public int getReason()
public Object getSource()
public Object getParameter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |