org.netbeans.api.debugger/1 1.7.33

org.netbeans.api.debugger
Class Breakpoint

java.lang.Object
  extended by org.netbeans.api.debugger.Breakpoint

public abstract class Breakpoint
extends Object

Abstract definition of breakpoint.


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.
 
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()
           
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_ENABLED

public static final String PROP_ENABLED
Property name for enabled status of the breakpoint.

See Also:
Constant Field Values

PROP_DISPOSED

public static final String PROP_DISPOSED
Property name for disposed state of the breakpoint.

See Also:
Constant Field Values

PROP_GROUP_NAME

public static final String PROP_GROUP_NAME
Property name for name of group of the breakpoint.

See Also:
Constant Field Values
Constructor Detail

Breakpoint

public Breakpoint()
Method Detail

dispose

protected void dispose()
Called when breakpoint is removed.


isEnabled

public abstract boolean isEnabled()
Test whether the breakpoint is enabled.

Returns:
true if so

disable

public abstract void disable()
Disables the breakpoint.


enable

public abstract void enable()
Enables the breakpoint.


getGroupName

public String getGroupName()

setGroupName

public void setGroupName(String newGroupName)

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)
Add a listener to property changes.

Parameters:
listener - the listener to add

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener listener)
Remove a listener to property changes.

Parameters:
listener - the listener to remove

addPropertyChangeListener

public void addPropertyChangeListener(String propertyName,
                                      PropertyChangeListener l)
Adds a property change listener.

Parameters:
propertyName - a name of property to listen on
l - the listener to add

removePropertyChangeListener

public void removePropertyChangeListener(String propertyName,
                                         PropertyChangeListener l)
Removes a property change listener.

Parameters:
propertyName - a name of property to stop listening on
l - the listener to remove

firePropertyChange

protected void firePropertyChange(String name,
                                  Object o,
                                  Object n)
Fire property change.

Parameters:
name - name of property
o - old value of property
n - new value of property

org.netbeans.api.debugger/1 1.7.33

Built on July 11 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.