|
org.netbeans.api.debugger/1 1.11 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.api.debugger.Breakpoint
public abstract class Breakpoint
Abstract definition of breakpoint.
Nested Class Summary | |
---|---|
static class |
Breakpoint.HIT_COUNT_FILTERING_STYLE
The style of filtering of hit counts. |
static class |
Breakpoint.VALIDITY
Validity values |
Field Summary | |
---|---|
static String |
PROP_DISPOSED
Property name for disposed state of the breakpoint. |
static String |
PROP_ENABLED
Property name for enabled status of the breakpoint. |
static String |
PROP_GROUP_NAME
Property name for name of group of the breakpoint. |
static String |
PROP_HIT_COUNT_FILTER
Property name constant. |
static String |
PROP_VALIDITY
Property name for breakpoint validity |
Constructor Summary | |
---|---|
Breakpoint()
|
Method Summary | |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Add a listener to property changes. |
void |
addPropertyChangeListener(String propertyName,
PropertyChangeListener l)
Adds a property change listener. |
abstract void |
disable()
Disables the breakpoint. |
protected void |
dispose()
Called when breakpoint is removed. |
abstract void |
enable()
Enables the breakpoint. |
protected void |
firePropertyChange(String name,
Object o,
Object n)
Fire property change. |
String |
getGroupName()
|
int |
getHitCountFilter()
Get the hit count filter. |
Breakpoint.HIT_COUNT_FILTERING_STYLE |
getHitCountFilteringStyle()
Get the style of hit count filtering. |
Breakpoint.VALIDITY |
getValidity()
Get the validity of this breakpoint. |
String |
getValidityMessage()
Get the message describing the current validity. |
abstract boolean |
isEnabled()
Test whether the breakpoint is enabled. |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Remove a listener to property changes. |
void |
removePropertyChangeListener(String propertyName,
PropertyChangeListener l)
Removes a property change listener. |
void |
setGroupName(String newGroupName)
|
void |
setHitCountFilter(int hitCountFilter,
Breakpoint.HIT_COUNT_FILTERING_STYLE hitCountFilteringStyle)
Set the hit count filter and the style of filtering. |
protected void |
setValidity(Breakpoint.VALIDITY validity,
String reason)
Set the validity of this breakpoint. |
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_ENABLED
public static final String PROP_DISPOSED
public static final String PROP_GROUP_NAME
public static final String PROP_VALIDITY
public static final String PROP_HIT_COUNT_FILTER
Constructor Detail |
---|
public Breakpoint()
Method Detail |
---|
protected void dispose()
public abstract boolean isEnabled()
true
if sopublic abstract void disable()
public abstract void enable()
public final Breakpoint.VALIDITY getValidity()
public final String getValidityMessage()
Intended for use by ui implementation code, NodeModel.getShortDescription(), for example.
protected final void setValidity(Breakpoint.VALIDITY validity, String reason)
validity
- The new breakpoint validity.reason
- The message describing why is this validity being set, or null
.public final int getHitCountFilter()
zero
when no hit count filter is set.public final Breakpoint.HIT_COUNT_FILTERING_STYLE getHitCountFilteringStyle()
public final void setHitCountFilter(int hitCountFilter, Breakpoint.HIT_COUNT_FILTERING_STYLE hitCountFilteringStyle)
hitCountFilter
- a positive hit count filter, or zero
to unset the filter.hitCountFilteringStyle
- the style of hit count filtering.
Can be null
only when hitCountFilter == 0
.public String getGroupName()
public void setGroupName(String newGroupName)
public void addPropertyChangeListener(PropertyChangeListener listener)
listener
- the listener to addpublic void removePropertyChangeListener(PropertyChangeListener listener)
listener
- the listener to removepublic void addPropertyChangeListener(String propertyName, PropertyChangeListener l)
propertyName
- a name of property to listen onl
- the listener to addpublic void removePropertyChangeListener(String propertyName, PropertyChangeListener l)
propertyName
- a name of property to stop listening onl
- the listener to removeprotected void firePropertyChange(String name, Object o, Object n)
name
- name of propertyo
- old value of propertyn
- new value of property
|
org.netbeans.api.debugger/1 1.11 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |