116 |
public View[] viewList; |
public View[] viewList; |
117 |
public DefaultBinder binder = new DefaultBinder(this); |
public DefaultBinder binder = new DefaultBinder(this); |
118 |
|
|
119 |
|
/** FallbackBinder objects only used when a given view is active. |
120 |
|
* Maps views to binders. |
121 |
|
*/ |
122 |
|
Map viewSpecificBinders; |
123 |
|
|
124 |
CellView cellView; |
CellView cellView; |
125 |
CellContentView cellContentView; |
CellContentView cellContentView; |
126 |
|
|
275 |
public void timeout(Object o) {} |
public void timeout(Object o) {} |
276 |
public void windowClosed() { getBinder().windowClosed(this); } |
public void windowClosed() { getBinder().windowClosed(this); } |
277 |
|
|
278 |
public FallbackBinder getBinder() { return binder; } |
public FallbackBinder getBinder() { |
279 |
|
if(viewSpecificBinders.get(getView()) != null) |
280 |
|
return (FallbackBinder)viewSpecificBinders.get(getView()); |
281 |
|
return binder; |
282 |
|
} |
283 |
|
|
284 |
Win(ColorScheme colors) { |
Win(ColorScheme colors) { |
285 |
for(int i=0; i<dimsIndices.length; i++) |
for(int i=0; i<dimsIndices.length; i++) |
337 |
} |
} |
338 |
|
|
339 |
public Fallback(Cell start, Space linkSpace, FallbackDim[] dimList, |
public Fallback(Cell start, Space linkSpace, FallbackDim[] dimList, |
340 |
View[] viewList, CellView cellView, |
View[] viewList, Map viewSpecificBinders, CellView cellView, |
341 |
CellContentView cellContentView, Filer.Group filers) { |
CellContentView cellContentView, Filer.Group filers) { |
342 |
this.dimList = dimList; |
this.dimList = dimList; |
343 |
this.viewList = viewList; |
this.viewList = viewList; |
344 |
|
this.viewSpecificBinders = viewSpecificBinders; |
345 |
this.filers = filers; |
this.filers = filers; |
346 |
this.space = start.space; |
this.space = start.space; |
347 |
this.linkSpace = linkSpace; |
this.linkSpace = linkSpace; |