|
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
Abstract implementation of the draw-layer.
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 | |
---|---|
DrawLayer.AbstractLayer(String name)
Deprecated. Construct new abstract layer with the known name and visibility. |
Method Summary | |
---|---|
boolean |
extendsEmptyLine()
Deprecated. Whether the layer marks the empty line with the background by half of the character. |
boolean |
extendsEOL()
Deprecated. Whether the layer wants to use the last context's background till the end of the window or not. |
String |
getName()
Deprecated. Get the name of the layer. |
int |
getNextActivityChangeOffset(DrawContext ctx)
Deprecated. Get the next position at which the activity of the layer will change. |
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. |
void |
setNextActivityChangeOffset(int nextActivityChangeOffset)
Deprecated. |
String |
toString()
Deprecated. |
int |
updateLineNumberContext(int lineNumber,
DrawContext ctx)
Deprecated. Update draw context related to the drawing of line number for the given line by setting colors, fonts and possibly other draw properties. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.netbeans.editor.DrawLayer |
---|
isActive, updateContext |
Constructor Detail |
---|
public DrawLayer.AbstractLayer(String name)
Method Detail |
---|
public String getName()
DrawLayer
public boolean extendsEOL()
DrawLayer
extendsEOL
in interface DrawLayer
public boolean extendsEmptyLine()
DrawLayer
extendsEmptyLine
in interface DrawLayer
public int getNextActivityChangeOffset(DrawContext ctx)
DrawLayer
getNextActivityChangeOffset
in interface DrawLayer
public void setNextActivityChangeOffset(int nextActivityChangeOffset)
public void init(DrawContext ctx)
DrawLayer
public int updateLineNumberContext(int lineNumber, DrawContext ctx)
DrawLayer
updateLineNumberContext
in interface DrawLayer
lineNumber
- the number that will be drawn before the line's text.
The layer can change it by returning a different value.ctx
- the draw contextpublic String toString()
|
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 |