203 |
|
|
204 |
class Context(ff.view.lava.ContextNodeView.Context, |
class Context(ff.view.lava.ContextNodeView.Context, |
205 |
ff.view.buoy.AbstractMainNode2D.Render, |
ff.view.buoy.AbstractMainNode2D.Render, |
206 |
|
ff.view.lava.TextHandler.Context, |
207 |
ff.view.lava.FenPDFContext, |
ff.view.lava.FenPDFContext, |
208 |
SuperCaller): |
SuperCaller): |
209 |
def __init__(self, win, fen, pp, nv, ctrl, spanImageFactory): |
def __init__(self, win, fen, pp, nv, ctrl, spanImageFactory): |
258 |
nv.setCached() |
nv.setCached() |
259 |
|
|
260 |
# /** call back from TextNodeView */ |
# /** call back from TextNodeView */ |
261 |
def isToBePlaced(self, node, text): |
def toBePlaced(self, node, text): |
262 |
if dbg: p("n"+node+" == ") |
if dbg: p("n"+node+" == ") |
263 |
if self.states.cursor.isAccursed(node): |
if self.states.cursor.isAccursed(node): |
264 |
text.setColor(java.awt.Color.red) |
text.setColor(java.awt.Color.red) |