185 |
def getCanvasView2D(self): |
def getCanvasView2D(self): |
186 |
return self.canvasview2d |
return self.canvasview2d |
187 |
|
|
188 |
def getPageNodeView(self): |
def getPageNodeView(self, color): |
189 |
return ff.view.PageNodeView(self.fen.txtfunc, |
return ff.view.PageNodeView(self.fen.txtfunc, |
190 |
self.papers.getSpanImageFactory()) |
self.papers.getSpanImageFactory(), color) |
191 |
|
|
192 |
|
|
193 |
def getAccursedNodeContentFunction(self): |
def getAccursedNodeContentFunction(self): |
198 |
self.getTextStyle(), java.awt.Color.red) |
self.getTextStyle(), java.awt.Color.red) |
199 |
accursed_dispatcher = ff.view.DispatchingNodeView( |
accursed_dispatcher = ff.view.DispatchingNodeView( |
200 |
self.fen.txtfunc, accursed_text, |
self.fen.txtfunc, accursed_text, |
201 |
self.getPageNodeView()) |
self.getPageNodeView(java.awt.Color.red)) |
202 |
return ff.swamp.CachedPureNodeFunction( |
return ff.swamp.CachedPureNodeFunction( |
203 |
150, self.fen.constgraph, accursed_dispatcher) |
150, self.fen.constgraph, accursed_dispatcher) |
204 |
|
|
210 |
java.awt.Color.black) |
java.awt.Color.black) |
211 |
normal_dispatcher = ff.view.DispatchingNodeView( |
normal_dispatcher = ff.view.DispatchingNodeView( |
212 |
self.fen.txtfunc, normal_text, |
self.fen.txtfunc, normal_text, |
213 |
self.getPageNodeView()) |
self.getPageNodeView(java.awt.Color.black)) |
214 |
return ff.swamp.CachedPureNodeFunction( |
return ff.swamp.CachedPureNodeFunction( |
215 |
150, self.fen.constgraph, normal_dispatcher) |
150, self.fen.constgraph, normal_dispatcher) |
216 |
|
|