org.netbeans.api.debugger
public final class Watch extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PROP_EXPRESSION
Name of the property for the watched expression.
|
static String |
PROP_VALUE
Name of the property for the value of the watched expression.
|
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener l)
Add a property change listener.
|
String |
getExpression()
Return expression this watch is created for.
|
void |
remove()
Remove the watch from the list of all watches in the system.
|
void |
removePropertyChangeListener(PropertyChangeListener l)
Remove a property change listener.
|
void |
setExpression(String expression)
Set the expression to watch.
|
public static final String PROP_EXPRESSION
public static final String PROP_VALUE
public String getExpression()
public void setExpression(String expression)
expression
- expression to watchpublic void remove()
public void addPropertyChangeListener(PropertyChangeListener l)
l
- the listener to addpublic void removePropertyChangeListener(PropertyChangeListener l)
l
- the listener to removeBuilt on March 18 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.