115 |
|
|
116 |
public Space space; |
public Space space; |
117 |
public View[] viewList; |
public View[] viewList; |
118 |
|
public CellView[] cellViewList; |
119 |
public FallbackBinder binder; |
public FallbackBinder binder; |
120 |
|
|
121 |
/** FallbackBinder objects only used when a given view is active. |
/** FallbackBinder objects only used when a given view is active. |
123 |
*/ |
*/ |
124 |
Map viewSpecificBinders; |
Map viewSpecificBinders; |
125 |
|
|
|
CellInBox cellView, cellContentView; |
|
126 |
|
|
127 |
/** A name and a dimension object. |
/** A name and a dimension object. |
128 |
*/ |
*/ |
146 |
public Dim[] dims = new Dim[dimsIndices.length]; |
public Dim[] dims = new Dim[dimsIndices.length]; |
147 |
|
|
148 |
public int viewIndex = 0; |
public int viewIndex = 0; |
149 |
|
public int cellViewIndex = 0; |
150 |
|
|
151 |
Color col, bg; |
Color col, bg; |
152 |
|
|
196 |
public boolean isMarked(Cell c) { |
public boolean isMarked(Cell c) { |
197 |
return DefaultBinder.markedCells.contains(c); |
return DefaultBinder.markedCells.contains(c); |
198 |
} |
} |
199 |
public CellInBox getCellView() { |
public CellView getCellView() { |
200 |
return cellView; |
return cellViewList[cellViewIndex]; |
|
} |
|
|
public CellInBox getCellContentView() { |
|
|
return cellContentView; |
|
201 |
} |
} |
202 |
public Cell getWindow() { |
public Cell getWindow() { |
203 |
throw new UnsupportedOperationException( |
throw new UnsupportedOperationException( |
344 |
|
|
345 |
public Fallback(Cell start, Space linkSpace, FallbackBinder binder, |
public Fallback(Cell start, Space linkSpace, FallbackBinder binder, |
346 |
FallbackDim[] dimList, |
FallbackDim[] dimList, |
347 |
View[] viewList, Map viewSpecificBinders, CellInBox cellView, |
View[] viewList, Map viewSpecificBinders, |
348 |
CellInBox cellContentView, Filer.Group filers) { |
CellView[] cellViewList, Filer.Group filers) { |
349 |
this.binder = binder; |
this.binder = binder; |
350 |
this.dimList = dimList; |
this.dimList = dimList; |
351 |
this.viewList = viewList; |
this.viewList = viewList; |
353 |
this.filers = filers; |
this.filers = filers; |
354 |
this.space = start.space; |
this.space = start.space; |
355 |
this.linkSpace = linkSpace; |
this.linkSpace = linkSpace; |
356 |
this.cellView = cellView; |
this.cellViewList = cellViewList; |
|
this.cellContentView = cellContentView; |
|
357 |
|
|
358 |
binder.setFallback(this); |
binder.setFallback(this); |
359 |
|
|