|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A DrawLayer is responsible for altering the graphics context in a manner appropriate for the token that is about to be drawn.
Field Summary | |
static int |
PRIORITY_COLORIZER
Draw layer priority given to the layer colorizing source code. |
static int |
PRIORITY_HIGHEST
|
static int |
PRIORITY_LOWEST
|
static int |
PRIORITY_SELECTION
Draw layer priority given to the layer showing text selection. |
static int |
PRIORITY_STEPPING
Draw layer priority given to the layer showing the current stepping line. |
Method Summary | |
boolean |
extendsEOL()
Indicates that this layer wants to affect the background color beyond the end of the line of text. |
boolean |
isActive()
Returns true if this draw layer wants to take part in the current painting event. |
int |
updateContext(DrawContext ctx,
int offset)
Update the draw context by setting colors, fonts and possibly other draw properties. |
Field Detail |
public static final int PRIORITY_LOWEST
public static final int PRIORITY_COLORIZER
public static final int PRIORITY_STEPPING
public static final int PRIORITY_SELECTION
public static final int PRIORITY_HIGHEST
Method Detail |
public boolean extendsEOL()
public boolean isActive()
public int updateContext(DrawContext ctx, int offset)
ctx
- draw context.offset
- offset into character buffer indicating where
drawing is presently taking place.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |