|
org.netbeans.modules.editor.lib/1 1.14.0 3 | |||||||||
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.StyleLayer
public static class DrawLayerFactory.StyleLayer
Style layer getting color settings from particular style
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.netbeans.editor.DrawLayer |
---|
DrawLayer.AbstractLayer |
Field Summary | |
---|---|
protected Color |
backColor
Deprecated. |
protected Color |
foreColor
Deprecated. |
protected MarkChain |
markChain
Deprecated. |
protected Style |
style
Deprecated. |
Fields inherited from interface org.netbeans.editor.DrawLayer |
---|
TEXT_FRAME_END_POSITION_COMPONENT_PROPERTY, TEXT_FRAME_START_POSITION_COMPONENT_PROPERTY |
Constructor Summary | |
---|---|
DrawLayerFactory.StyleLayer(String layerName,
BaseDocument doc,
Style style)
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. |
MarkChain |
getMarkChain()
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. |
String |
toString()
Deprecated. |
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, updateLineNumberContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Style style
protected MarkChain markChain
protected Color backColor
protected Color foreColor
Constructor Detail |
---|
public DrawLayerFactory.StyleLayer(String layerName, BaseDocument doc, Style style)
Method Detail |
---|
public boolean extendsEOL()
DrawLayer
extendsEOL
in interface DrawLayer
extendsEOL
in class DrawLayer.AbstractLayer
public final MarkChain getMarkChain()
public void init(DrawContext ctx)
DrawLayer
init
in interface DrawLayer
init
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
public String toString()
toString
in class DrawLayer.AbstractLayer
|
org.netbeans.modules.editor.lib/1 1.14.0 3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |