| org.netbeans.modules.debugger.importd.ImportWatch
ImportWatch | public class ImportWatch extends AbstractWatch implements Validator.Object(Code) | | Standart implementation of Watch interface.
See Also: org.openide.debugger.Watch author: Jan Jancura version: 0.18, Feb 23, 1998 |
Constructor Summary | |
| ImportWatch(ImportDebugger debugger, boolean hidden) Non public constructor called from the JavaDebugger only. |
serialVersionUID | final static long serialVersionUID(Code) | | generated Serialized Version UID
|
ImportWatch | ImportWatch(ImportDebugger debugger, boolean hidden)(Code) | | Non public constructor called from the JavaDebugger only.
User must create watch from Debugger.getNewWatch () method.
|
canRemove | public boolean canRemove()(Code) | | If return null , this object can be removed from
validator.
null , if this object can be removed fromvalidator |
firePropertyChange | protected void firePropertyChange()(Code) | | |
getAsText | public String getAsText()(Code) | | Get a textual representation of the value.
The watch should convert
the real value to a string representation. So if the watch represents
a null reference, the returned string will be for example "null" .
the value of this watch, or null if the watch is not in scope |
getType | public String getType()(Code) | | Get the string representation of the type of the variable.
type string (i.e. the class name, or for a primitive e.g. "int" ) |
getVariableName | public String getVariableName()(Code) | | Get the name of the variable to watch.
the variable name |
init | protected void init()(Code) | | |
isHidden | public boolean isHidden()(Code) | | Test whether the watch is hidden.
If so, it
is not presented in the list of all watches. Such a watch can be used
for the IDE's (or some module's) private use, not displaying anything to the user.
true if the watch is hidden See Also: Debugger.createWatch(Stringboolean) |
remove | public void remove()(Code) | | Remove the watch from the list of all watches in the system.
|
removePropertyChangeListener | public void removePropertyChangeListener(PropertyChangeListener l)(Code) | | Remove a property change listener.
Parameters: l - the listener to remove |
setAsText | public void setAsText(String value) throws DebuggerException(Code) | | Set the value of the watched variable (as text).
Parameters: value - text representation of the new value exception: DebuggerException - if the value cannot be changed, or thestring does not represent valid value, or the value type cannot reasonably be set as text |
setVariableName | public void setVariableName(String name)(Code) | | Set the variable name to watch.
Parameters: name - string name of the variable to watch |
validate | public void validate()(Code) | | Checks value of this watch and if is valide, and sets it.
|
|
|