com.github.croesch.micro_debug.gui.debug
Class LineBreakPointHandler
java.lang.Object
com.github.croesch.micro_debug.gui.debug.LineBreakPointHandler
- All Implemented Interfaces:
- ILineBreakPointManager
public class LineBreakPointHandler
- extends Object
- implements ILineBreakPointManager
A handler that is able to manage some breakpoints for line numbers.
- Since:
- Date: Mar 21, 2012
- Author:
- croesch
|
Method Summary |
boolean |
isBreakpoint(int line)
Returns whether there is currently a breakpoint set for the given line. |
void |
toggleBreakpoint(int line)
Toggles the breakpoint for the given line: Switches it on, if it was off; switches it
off, if it was on. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LineBreakPointHandler
public LineBreakPointHandler()
toggleBreakpoint
public final void toggleBreakpoint(int line)
- Toggles the breakpoint for the given line: Switches it
on, if it was off; switches it
off, if it was on.
- Specified by:
toggleBreakpoint in interface ILineBreakPointManager
- Parameters:
line - the number of the line to toggle the breakpoint
isBreakpoint
public final boolean isBreakpoint(int line)
- Returns whether there is currently a breakpoint set for the given line.
- Specified by:
isBreakpoint in interface ILineBreakPointManager
- Parameters:
line - the number of the line that should be checked for a breakpoint.
- Returns:
true whether there is currently a breakpoint in the given line,
false otherwise.
Copyright © 2012. All Rights Reserved.