com.bluemarsh.jswat.view
Interface GutterDrawLayer
- All Known Implementing Classes:
- BasicGutterDrawLayer
- public interface GutterDrawLayer
A GutterDrawLayer is responsible for altering the graphics context in
a manner appropriate for the line number that is about to be drawn.
- Author:
- Nathan Fiedler
Method Summary |
boolean |
isActive()
Returns true if this draw layer wants to take part in the
current painting event. |
void |
updateContext(DrawContext ctx,
int line)
Update the draw context by setting colors, fonts and possibly
other draw properties. |
PRIORITY_LOWEST
public static final int PRIORITY_LOWEST
PRIORITY_BREAKPOINT
public static final int PRIORITY_BREAKPOINT
- Draw layer priority given to the layer indicating breakpoints.
PRIORITY_HIGHEST
public static final int PRIORITY_HIGHEST
isActive
public boolean isActive()
- Returns true if this draw layer wants to take part in the
current painting event.
- Returns:
- true if active, false otherwise.
updateContext
public void updateContext(DrawContext ctx,
int line)
- Update the draw context by setting colors, fonts and possibly
other draw properties.
- Parameters:
ctx
- draw context.line
- line number where drawing is presently taking place.