| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.openide.debugger.Breakpoint
Represents one breakpoint.
 Breakpoints are created and returned
 by the Debugger implementation. A breakpoint may be assigned either to a source line
 of a class, or to a method (or constructor) of a class.
 The current set of breakpoints is stored
 in the implementation of Debugger.
 
The abstract class contains only the necessary manipulation methods used by the IDE, like enabling/disabling the breakpoint and obtaining its position. A good implementation can offer the user much better ways to deal with the breakpoint (conditional breakpoints, etc.). Such information should be presented as properties--so it is assumed that the breakpoint itself is a serializable JavaBean.
| Field Summary | |
static String | 
PROP_ENABLED
Property name for enabled status of the breakpoint.  | 
static String | 
PROP_VALID
Property name for validity of the breakpoint.  | 
| Constructor Summary | |
Breakpoint()
 | 
|
| Method Summary | |
abstract  void | 
addPropertyChangeListener(PropertyChangeListener listener)
Add a property change listener.  | 
abstract  String | 
getClassName()
Get the name of the class the breakpoint is in.  | 
abstract  Line | 
getLine()
Get the line assigned to the breakpoint.  | 
abstract  ConstructorElement | 
getMethod()
Get the method the breakpoint is in.  | 
abstract  boolean | 
isEnabled()
Test whether the breakpoint is enabled.  | 
abstract  boolean | 
isHidden()
Test whether the breakpoint is hidden.  | 
abstract  boolean | 
isValid()
Test whether the breakpoint is valid.  | 
abstract  void | 
remove()
Destroy this breakpoint.  | 
abstract  void | 
removePropertyChangeListener(PropertyChangeListener listener)
Remove a property change listener.  | 
abstract  void | 
setEnabled(boolean enabled)
Set whether the breakpoint is enabled.  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
public static final String PROP_VALID
public static final String PROP_ENABLED
| Constructor Detail | 
public Breakpoint()
| Method Detail | 
public abstract void remove()
public abstract Line getLine()
null if no line is specified (it is assigned to a method)public abstract String getClassName()
public abstract ConstructorElement getMethod()
null if it assigned to a linepublic abstract boolean isEnabled()
true if sopublic abstract void setEnabled(boolean enabled)
state - true to enable, false to disablepublic abstract boolean isValid()
true if it is validpublic abstract boolean isHidden()
true if the breakpoint is hiddenpublic abstract void addPropertyChangeListener(PropertyChangeListener listener)
listener - the listener to addpublic abstract void removePropertyChangeListener(PropertyChangeListener listener)
listener - the listener to remove
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||