60 |
//CellContentView ccv = new SpanCellContentView(style); |
//CellContentView ccv = new SpanCellContentView(style); |
61 |
//CellContentView ccv = new LinebrokenCellContentView(style); |
//CellContentView ccv = new LinebrokenCellContentView(style); |
62 |
|
|
63 |
|
/** The ccv to use, if any. XXX hack for demo, remove |
64 |
|
*/ |
65 |
|
CellContentView cellContentView = null; // use viewcontext's by default |
66 |
|
public CellVobFactory() {} |
67 |
|
public CellVobFactory(CellContentView ccv) { cellContentView = ccv; } |
68 |
|
|
69 |
Dim d_clone; |
Dim d_clone; |
70 |
/* |
/* |
71 |
Dim d_cursor; |
Dim d_cursor; |
138 |
if(d_clone == null) |
if(d_clone == null) |
139 |
throw new NullPointerException("clone dim not set in CellVobFactory"); |
throw new NullPointerException("clone dim not set in CellVobFactory"); |
140 |
|
|
141 |
final CellContentView ccv = context.getCellContentView(); |
final CellContentView ccv = |
142 |
|
cellContentView != null ? cellContentView : context.getCellContentView(); |
143 |
|
|
144 |
final RectBgVob bg = new RectBgVob(); |
final RectBgVob bg = new RectBgVob(); |
145 |
|
|