|
org.netbeans.modules.editor.lib/1 1.44.0 9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.editor.DrawLayer.AbstractLayer
org.netbeans.editor.DrawLayerFactory.ColorLineLayer
public abstract static class DrawLayerFactory.ColorLineLayer
This layer colors the line by a color specified in constructor It requires only activation mark since it deactivates automatically at the end of line.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.netbeans.editor.DrawLayer |
|---|
DrawLayer.AbstractLayer |
| Field Summary |
|---|
| Fields inherited from interface org.netbeans.editor.DrawLayer |
|---|
TEXT_FRAME_END_POSITION_COMPONENT_PROPERTY, TEXT_FRAME_START_POSITION_COMPONENT_PROPERTY |
| Constructor Summary | |
|---|---|
DrawLayerFactory.ColorLineLayer(String name)
Deprecated. |
|
| Method Summary | |
|---|---|
boolean |
extendsEOL()
Deprecated. Whether the layer wants to use the last context's background till the end of the window or not. |
protected abstract Coloring |
getColoring(DrawContext ctx)
Deprecated. |
void |
init(DrawContext ctx)
Deprecated. Called each time the paint begins for all layers in the layer chain regardless whether they are currently active or not. |
boolean |
isActive(DrawContext ctx,
MarkFactory.DrawMark mark)
Deprecated. Return whether the layer is active or not. |
void |
updateContext(DrawContext ctx)
Deprecated. Update draw context by setting colors, fonts and possibly other draw properties. |
| Methods inherited from class org.netbeans.editor.DrawLayer.AbstractLayer |
|---|
extendsEmptyLine, getName, getNextActivityChangeOffset, setNextActivityChangeOffset, toString, updateLineNumberContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DrawLayerFactory.ColorLineLayer(String name)
| Method Detail |
|---|
public boolean extendsEOL()
DrawLayer
extendsEOL in interface DrawLayerextendsEOL in class DrawLayer.AbstractLayerpublic void init(DrawContext ctx)
DrawLayer
init in interface DrawLayerinit in class DrawLayer.AbstractLayer
public boolean isActive(DrawContext ctx,
MarkFactory.DrawMark mark)
DrawLayer
ctx - current context with the information about the drawingmark - draw-mark at the fragment-offset or null if called
because of the next-activity-change-offset.public void updateContext(DrawContext ctx)
DrawLayer
protected abstract Coloring getColoring(DrawContext ctx)
|
org.netbeans.modules.editor.lib/1 1.44.0 9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||