28 |
import org.nongnu.alph.*; |
import org.nongnu.alph.*; |
29 |
import org.fenfire.spanimages.*; |
import org.fenfire.spanimages.*; |
30 |
import org.fenfire.functional.PureFunction; |
import org.fenfire.functional.PureFunction; |
31 |
|
import org.fenfire.functional.Function; |
32 |
|
|
33 |
/** A (non-node)function which takes a PageScrollBlock and returns |
/** A (non-node)function which takes a PageScrollBlock and returns |
34 |
* a PageSpanLayout. |
* a PageSpanLayout. |
39 |
|
|
40 |
public class PageScroll2LayoutPureFunction implements PureFunction { |
public class PageScroll2LayoutPureFunction implements PureFunction { |
41 |
|
|
42 |
private final SpanImageFactory spanImageFactory; |
private final Function spanImageFactory; |
43 |
public PageScroll2LayoutPureFunction(SpanImageFactory spanImageFactory) { |
public PageScroll2LayoutPureFunction(Function spanImageFactory) { |
44 |
this.spanImageFactory = spanImageFactory; |
this.spanImageFactory = spanImageFactory; |
45 |
} |
} |
46 |
|
|